tests: workaround test not failing if the Spot support more colors
* configure.ac (MAX_ACCSETS): Add AC_SUBST. * tests/run.in: Define MAX_ACCSETS. * tests/core/prodchain.test: Test MAX_ACCSETS.
This commit is contained in:
parent
23908f3d2f
commit
8161a8c531
3 changed files with 13 additions and 5 deletions
|
|
@ -32,8 +32,10 @@ for i in *.hoa; do
|
|||
shift
|
||||
done
|
||||
shift
|
||||
autfilt "$@" 2> error && exit 1
|
||||
grep 'Too many acceptance sets used' error
|
||||
if $MAX_ACCSETS -eq 32; then
|
||||
autfilt "$@" 2> error && exit 1
|
||||
grep 'Too many acceptance sets used' error
|
||||
fi
|
||||
autfilt -B "$@" > result
|
||||
test "127,253,508,1" = `autfilt --stats=%s,%e,%t,%a result`
|
||||
|
||||
|
|
@ -44,7 +46,9 @@ for i in *.hoa; do
|
|||
shift
|
||||
done
|
||||
shift
|
||||
autfilt "$@" 2> error && exit 1
|
||||
grep 'Too many acceptance sets used' error
|
||||
if $MAX_ACCSETS -eq 32; then
|
||||
autfilt "$@" 2> error && exit 1
|
||||
grep 'Too many acceptance sets used' error
|
||||
fi
|
||||
autfilt -B "$@" > result
|
||||
test "45,89,180,1" = `autfilt --stats=%s,%e,%t,%a result`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue