* Giulio Paci <giuliop...@gmail.com>, 2013-01-02, 12:18:
| /usr/bin/make  check-TESTS
| make[4]: Entering directory 
`/build/opengrm-ngram-ORzcqC/opengrm-ngram-1.0.3/src/test'
| ./ngramprint_test.sh: 23: ./ngramprint_test.sh: fstequal: not found
...

Added missing libfst-tools dependency.
Also added libfst-tools to the Recommends field for libngram-tools.

Now I get this:
| /usr/bin/make  check-TESTS
| make[4]: Entering directory 
`/build/opengrm-ngram-6ZveSN/opengrm-ngram-1.0.3/src/test'
| PASS: ngramprint_test.sh
| PASS: ngramcount_test.sh
| PASS: ngrammake_test.sh
| PASS: ngrammerge_test.sh
| PASS: ngramshrink_test.sh
| PASS: ngraminfo_test.sh
| PASS: ngramperplexity_test.sh
| PASS: ngramsymbols_test.sh
| PASS: ngramrandgen_test.sh
| PASS: ngramapply_test.sh
|   Running 9 random trials...
| FATAL: SetFlags: Bad option: --seed=
| FATAL: SetFlags: Bad option: --seed=
| FATAL: SetFlags: Bad option: --seed=
| FATAL: SetFlags: Bad option: --seed=
| FATAL: SetFlags: Bad option: --seed=
| FATAL: SetFlags: Bad option: --seed=
| FATAL: SetFlags: Bad option: --seed=
| FATAL: SetFlags: Bad option: --seed=
| FATAL: SetFlags: Bad option: --seed=
| FATAL: SetFlags: Bad option: --seed=
| FATAL: SetFlags: Bad option: --seed=
| FATAL: SetFlags: Bad option: --seed=
| FATAL: SetFlags: Bad option: --seed=
| FATAL: SetFlags: Bad option: --seed=
| FATAL: SetFlags: Bad option: --seed=
| FATAL: SetFlags: Bad option: --seed=
| FATAL: SetFlags: Bad option: --seed=
| FATAL: SetFlags: Bad option: --seed=
| 1 params: V=1; S=1; sents1=348; sents2=440; O1=2; O2=3; T=2
| seed1=;seed2=
| FATAL: SetFlags: Bad option: --seed=
| FAIL: ngramrand_test.sh

I guess it's because of bashisms in the failing script:
| $ checkbashisms src/test/*.sh
| possible bashism in src/test/ngramrand_test.sh line 55 ($RANDOM):
|   seed1="$RANDOM"
| possible bashism in src/test/ngramrand_test.sh line 58 ($RANDOM):
|   seed2="$RANDOM"

--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130102135210.ga...@jwilk.net

Reply via email to