Skip to content

Commit 8bd485b

Browse files
committed
[Template merge] update test harness
1 parent 1aa06ff commit 8bd485b

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
*.zhfst
2222
*.zip
2323
*.zpipe
24+
*.sh.log
25+
*.sh.trs
2426
.DS_Store
2527
.bundle
2628
.~lock.*#
@@ -149,5 +151,6 @@ Makefile.in
149151
build
150152
bygg
151153
generated*
154+
test-suite.log
152155
.deps
153156
.generated

configure.ac

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,6 @@ AC_CONFIG_MACRO_DIR([m4])
3434
AM_INIT_AUTOMAKE(
3535
1.11.6 tar-pax -Wall -Werror
3636
foreign -Wno-portability
37-
dnl Automake versions before 1.13 (when the serial-tests option was
38-
dnl still the default) still defined the badly obsolete macro
39-
dnl 'AM_PROG_CC_STDC'. By checking for the non-existence of this macro,
40-
dnl we can now force serial testing for newer automakes (with prettier
41-
dnl output) and at the same time work reasonably with older automakes.
42-
dnl Code based on:
43-
dnl https://lists.gnu.org/archive/html/automake/2013-01/msg00060.html
44-
m4_ifndef([AM_PROG_CC_STDC], [serial-tests])
4537
)
4638
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
4739

src/fst/morphology/test/Makefile.am

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ GENERATION_TESTS_IN=generate-adjective-lemmas.sh.in \
1818
generate-propernoun-lemmas.sh.in \
1919
generate-verb-lemmas.sh.in
2020

21-
GENERATION_TESTS=$(basename $(GENERATION_TESTS_IN))
21+
GENERATION_TESTS=generate-adjective-lemmas.sh \
22+
generate-noun-lemmas.sh \
23+
generate-propernoun-lemmas.sh \
24+
generate-verb-lemmas.sh
2225

2326
if WANT_GENERATION
2427
TESTS+=$(GENERATION_TESTS)

tools/spellcheckers/test/fstbased/desktop/hfst/Makefile.am

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@ TESTS=
88
# Yaml tests are run from shell scripts - specify them here:
99
YAML_TEST_RUNNERS_IN=
1010
#run-acceptor-yaml-testcases.sh.in
11-
YAML_TEST_RUNNERS=$(basename $(YAML_TEST_RUNNERS_IN))
11+
YAML_TEST_RUNNERS=
12+
#run-acceptor-yaml-testcases.sh
1213
# Specify other shell scripts here to make sure they are included in the distro
1314
# even though spellers are disabled:
1415
OTHER_TEST_RUNNERS_IN=test-zhfst-basic-sugg-speed.sh.in \
1516
accept-all-lemmas.sh.in
16-
OTHER_TEST_RUNNERS=$(basename $(OTHER_TEST_RUNNERS_IN))
17+
OTHER_TEST_RUNNERS=test-zhfst-basic-sugg-speed.sh \
18+
accept-all-lemmas.sh
1719

1820
# Only test spellers if we build spellers:
1921
if WANT_SPELLERS

0 commit comments

Comments
 (0)