Skip to content

Commit

Permalink
[Template merge] update test harness
Browse files Browse the repository at this point in the history
  • Loading branch information
flammie committed May 16, 2024
1 parent 57e7e82 commit 957b911
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
*.zhfst
*.zip
*.zpipe
*.sh.log
*.sh.trs
.DS_Store
.bundle
.~lock.*#
Expand Down Expand Up @@ -149,5 +151,6 @@ Makefile.in
build
bygg
generated*
test-suite.log
.deps
.generated
8 changes: 0 additions & 8 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,6 @@ AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE(
1.11.6 tar-pax -Wall -Werror
foreign -Wno-portability
dnl Automake versions before 1.13 (when the serial-tests option was
dnl still the default) still defined the badly obsolete macro
dnl 'AM_PROG_CC_STDC'. By checking for the non-existence of this macro,
dnl we can now force serial testing for newer automakes (with prettier
dnl output) and at the same time work reasonably with older automakes.
dnl Code based on:
dnl https://lists.gnu.org/archive/html/automake/2013-01/msg00060.html
m4_ifndef([AM_PROG_CC_STDC], [serial-tests])
)
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])

Expand Down
5 changes: 4 additions & 1 deletion src/fst/morphology/test/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ GENERATION_TESTS_IN=generate-adjective-lemmas.sh.in \
generate-propernoun-lemmas.sh.in \
generate-verb-lemmas.sh.in

GENERATION_TESTS=$(basename $(GENERATION_TESTS_IN))
GENERATION_TESTS=generate-adjective-lemmas.sh \
generate-noun-lemmas.sh \
generate-propernoun-lemmas.sh \
generate-verb-lemmas.sh

if WANT_GENERATION
TESTS+=$(GENERATION_TESTS)
Expand Down
6 changes: 4 additions & 2 deletions tools/spellcheckers/test/fstbased/desktop/hfst/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ TESTS=
# Yaml tests are run from shell scripts - specify them here:
YAML_TEST_RUNNERS_IN=
#run-acceptor-yaml-testcases.sh.in
YAML_TEST_RUNNERS=$(basename $(YAML_TEST_RUNNERS_IN))
YAML_TEST_RUNNERS=
#run-acceptor-yaml-testcases.sh
# Specify other shell scripts here to make sure they are included in the distro
# even though spellers are disabled:
OTHER_TEST_RUNNERS_IN=test-zhfst-basic-sugg-speed.sh.in \
accept-all-lemmas.sh.in
OTHER_TEST_RUNNERS=$(basename $(OTHER_TEST_RUNNERS_IN))
OTHER_TEST_RUNNERS=test-zhfst-basic-sugg-speed.sh \
accept-all-lemmas.sh

# Only test spellers if we build spellers:
if WANT_SPELLERS
Expand Down

0 comments on commit 957b911

Please sign in to comment.