]> git.unchartedbackwaters.co.uk Git - francis/stp.git/commitdiff
Fix the unit test script:
authortrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Thu, 8 Jul 2010 05:10:55 +0000 (05:10 +0000)
committertrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Thu, 8 Jul 2010 05:10:55 +0000 (05:10 +0000)
* 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

unit_test/unit_test.sh

index 449961ed263b5a9d733e831b8b74dc21e258c239..cdd1cec4a8fa31e1b0d26154bb607dc2b76788f0 100755 (executable)
@@ -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