Added smtlib unsat tests to test script

This commit is contained in:
Guillaume Bury 2014-11-10 20:01:51 +01:00
parent 562fcc1930
commit 172ff8bca3

View file

@ -4,7 +4,7 @@ CURDIR=`dirname $0`
SOLVER="$CURDIR/../sat_solve.native" SOLVER="$CURDIR/../sat_solve.native"
solvertest () { solvertest () {
for f in `find -L $1 -name *.cnf -type f` for f in `find -L $1 -type f -name '*.cnf' -o -name '*.smt2'`
do do
echo -ne "\r\033[KTesting $f..." echo -ne "\r\033[KTesting $f..."
"$SOLVER" -check -time 30s -size 1G $f | grep $2 > /dev/null 2> /dev/null "$SOLVER" -check -time 30s -size 1G $f | grep $2 > /dev/null 2> /dev/null