Skip to content

Commit

Permalink
[Template merge] fix generate morph test paths
Browse files Browse the repository at this point in the history
  • Loading branch information
flammie committed Jan 25, 2024
1 parent 862ab04 commit 099ab1b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion test/run-morph-tester.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
4 changes: 2 additions & 2 deletions test/src/morphology/generate-adjective-lemmas.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions test/src/morphology/generate-noun-lemmas.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
POS=nouns
### 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:
Expand Down
4 changes: 2 additions & 2 deletions test/src/morphology/generate-propernoun-lemmas.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions test/src/morphology/generate-verb-lemmas.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
POS=verbs
### 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:
Expand Down

0 comments on commit 099ab1b

Please sign in to comment.