Re: Help with autopkgtest for package andi
see below.
> Following error was encountered:
>
> autopkgtest [00:00:12]: test run-unit-test: [-----------------------
> Triggering low homology failed
> a_low.fa:>S0 (base_seed: 744030346)
> a_low.fa:>S1 (base_seed: 744030346)
> b_low.fa:>S0 (base_seed: 2613208344)
> b_low.fa:>S1 (base_seed: 2613208344)
> both_low.fa:>S0 (base_seed: 2592210513)
> both_low.fa:>S1 (base_seed: 2592210513)
> autopkgtest [00:00:13]: test run-unit-test: -----------------------]
> autopkgtest [00:00:13]: test run-unit-test: - - - - - - - - - - results - - - - - - - - - -
> run-unit-test FAIL non-zero exit status 1
>
>
> I'm not really sure about it, can you please help me with it?
There are two possibilities why you are seeing this error: a) the script
didn't find the andi program or b) out of bad luck. The second is easier
to fix, just replace the last line in run-unit-test by
RANDOM_SEED=123 ./test/*.sh
To fix a) the script low_homo.sh and the others have to know how to call
andi. At the moment the path is hard coded to ./src/andi (see low_homo
line 20). If you want to test the installed version of andi, you have to
remove the `./src/` part. This probably requires patching the source.
(Maybe one even has to add a magic switch to the scripts so they can
test either the installed or the just compiled andi.)
Reply to: