Skip to content

Commit

Permalink
[Template merge] fix lexicon path and rename
Browse files Browse the repository at this point in the history
  • Loading branch information
flammie committed Feb 17, 2025
1 parent fbbf722 commit 5d1cdd9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
/src/fst/filters/remove-all*.regex
/src/fst/filters/remove-homonymy-tags.regex
/src/fst/filters/remove-usage-tags.regex
/src/fst/filters/remove-altorth-tags.regex
/src/fst/generated_files/*.lexc
/src/fst/morphology/*-error-log.txt
/src/fst/morphology/*.tmp.*
Expand All @@ -80,6 +81,7 @@
/src/fst/morphology/test/*.txt
/src/fst/morphology/test/filtered*
/src/fst/morphology/test/generate-*-lemmas.sh
/src/fst/morphology/test/missing-multichars.sh
/src/fst/morphology/test/phonology/hfst-twolc-error-messages.txt
/src/fst/morphology/test/phonology/negative-*.txt
/src/fst/morphology/test/phonology/pair-*.txt
Expand Down
3 changes: 3 additions & 0 deletions m4/giella-config-files.m4
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ AC_CONFIG_FILES([src/fst/morphology/test/generate-propernoun-lemmas.sh], \
[chmod a+x src/fst/morphology/test/generate-propernoun-lemmas.sh])
AC_CONFIG_FILES([src/fst/morphology/test/generate-verb-lemmas.sh], \
[chmod a+x src/fst/morphology/test/generate-verb-lemmas.sh])
# Multichar symbol consistency
AC_CONFIG_FILES([src/fst/morphology/test/missing-multichars.sh], \
[chmod a+x src/fst/morphology/test/missing-multichars.sh])
# Lemma acceptance test for spellers, all languages:
AC_CONFIG_FILES([tools/spellcheckers/test/fstbased/desktop/hfst/accept-all-lemmas.sh], \
[chmod a+x tools/spellcheckers/test/fstbased/desktop/hfst/accept-all-lemmas.sh])
Expand Down
2 changes: 1 addition & 1 deletion src/fst/morphology/test/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ XFAIL_TESTS=generate-adjective-lemmas.sh \
generate-noun-lemmas.sh \
generate-propernoun-lemmas.sh \
generate-verb-lemmas.sh \
tag_test.sh
missing-multichars.sh


include $(top_srcdir)/../giella-core/am-shared/devtest-include.am
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ if test -z "$GIELLA_CORE" ; then
exit 2
fi
relpath="$GIELLA_CORE/scripts/"
testrunner="$relpath/tag_test.sh"
testrunner="$relpath/missing-multichars.sh"
if ! test -x "$testrunner" ; then
echo "missing test runner in $testrunner"
exit 77
fi
lexc=../lexicon.lexc
lexc=@builddir@/../.generated/lexicon.lexc
if ! test -f $lexc ; then
echo combined $lexc missing or disappeared
exit 1
Expand Down

0 comments on commit 5d1cdd9

Please sign in to comment.