From: trevor_hansen Date: Thu, 8 Jul 2010 05:10:55 +0000 (+0000) Subject: Fix the unit test script: X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=8815a97ce92df15d7b698d6c28b9a4fce70bcfa8;p=francis%2Fstp.git Fix the unit test script: * To not explicitly call simplifying minisat (which isn't an option if compiled with cms). * To remove comments and blank lines (which are introduced by AIG's conversion). git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@937 e59a4935-1847-0410-ae03-e826735625c1 --- diff --git a/unit_test/unit_test.sh b/unit_test/unit_test.sh index 449961e..cdd1cec 100755 --- a/unit_test/unit_test.sh +++ b/unit_test/unit_test.sh @@ -7,8 +7,8 @@ rm -f output_*.cnf files=`ls -1 -S *.smt2` for f in $files; do - stp --simplifying-minisat --output-CNF $f - cnf=`cat output_*.cnf | wc -l` + stp --output-CNF $f + cnf=`cat output_*.cnf | grep -v "^c" | grep -v "^$" | wc -l` if [ $cnf -gt 3 ] ; then echo --fail exit 10