From 8815a97ce92df15d7b698d6c28b9a4fce70bcfa8 Mon Sep 17 00:00:00 2001 From: trevor_hansen Date: Thu, 8 Jul 2010 05:10:55 +0000 Subject: [PATCH] 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 --- unit_test/unit_test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.3