From a4f5af6a5d844d3722e14a72605c4d81c1083f13 Mon Sep 17 00:00:00 2001 From: Flammie A Pirinen Date: Thu, 25 Jan 2024 17:44:50 +0100 Subject: [PATCH] [Template merge] fix generate morph test paths --- test/run-morph-tester.sh.in | 2 +- test/src/morphology/generate-adjective-lemmas.sh.in | 4 ++-- test/src/morphology/generate-propernoun-lemmas.sh.in | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/run-morph-tester.sh.in b/test/run-morph-tester.sh.in index e5cdaaf46..aae0dfc50 100755 --- a/test/run-morph-tester.sh.in +++ b/test/run-morph-tester.sh.in @@ -62,7 +62,7 @@ abs_srcdir=$(cd $srcdir && pwd) # remaining intervening dirs equals the path to the fst dir as long as the # directory structure within $GTLANG/test/ mirrors the structure of the other # directories - this mirroring thus becomes imperative for the yaml testing: -fstdir=${abs_srcdir:${#roottestdir}:${#roottestdir}} +fstdir=${abs_srcdir:${#roottestdir}:${#roottestdir}}/fst/ # The analyser files are built $relpath relative to the test dir, one further # dir up, and then in the identified fst dir (see above): diff --git a/test/src/morphology/generate-adjective-lemmas.sh.in b/test/src/morphology/generate-adjective-lemmas.sh.in index 589fdee0a..4312f40e8 100644 --- a/test/src/morphology/generate-adjective-lemmas.sh.in +++ b/test/src/morphology/generate-adjective-lemmas.sh.in @@ -23,8 +23,8 @@ POS=adjectives ### in ### source_file=${srcdir}/../../../src/fst/morphology/stems/${POS}.lexc -generator_file=./../../../src/generator-gt-norm -analyser_file=./../../../src/analyser-gt-norm +generator_file=./../../../src/fst/generator-gt-norm +analyser_file=./../../../src/fst/analyser-gt-norm ### out ### # Temporary files: diff --git a/test/src/morphology/generate-propernoun-lemmas.sh.in b/test/src/morphology/generate-propernoun-lemmas.sh.in index 4efd8d4d6..55d5b78c9 100644 --- a/test/src/morphology/generate-propernoun-lemmas.sh.in +++ b/test/src/morphology/generate-propernoun-lemmas.sh.in @@ -23,8 +23,8 @@ POS=propernouns ### in ### source_file=${srcdir}/../../../src/fst/morphology/stems/${POS}.lexc -generator_file=./../../../src/generator-gt-norm -analyser_file=./../../../src/analyser-gt-norm +generator_file=./../../../src/fst/generator-gt-norm +analyser_file=./../../../src/fst/analyser-gt-norm ### out ### # Temporary files: