summaryrefslogtreecommitdiff
path: root/test/regress
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2010-11-15 20:24:35 +0000
committerMorgan Deters <mdeters@gmail.com>2010-11-15 20:24:35 +0000
commit24b8c7f104ae9bebbbb04b973d62337c43c6adb8 (patch)
treefe20d961747402c552242e86efc8d1a0cc8f6242 /test/regress
parent80596bc6e2a4aba6c14d408a41a214579b636f03 (diff)
minor tweaks to last commit, testing infrastructure
Diffstat (limited to 'test/regress')
-rw-r--r--test/regress/regress0/push-pop/Makefile2
-rw-r--r--test/regress/regress0/push-pop/test.00.cvc3
-rw-r--r--test/regress/regress0/push-pop/test.01.cvc7
3 files changed, 10 insertions, 2 deletions
diff --git a/test/regress/regress0/push-pop/Makefile b/test/regress/regress0/push-pop/Makefile
index cd5bcd3e3..823a14011 100644
--- a/test/regress/regress0/push-pop/Makefile
+++ b/test/regress/regress0/push-pop/Makefile
@@ -1,4 +1,4 @@
-topdir = ../../../push-pop
+topdir = ../../../..
srcdir = test/regress/regress0/push-pop
include $(topdir)/Makefile.subdir
diff --git a/test/regress/regress0/push-pop/test.00.cvc b/test/regress/regress0/push-pop/test.00.cvc
index 836349251..38d720227 100644
--- a/test/regress/regress0/push-pop/test.00.cvc
+++ b/test/regress/regress0/push-pop/test.00.cvc
@@ -2,7 +2,10 @@ x: BOOLEAN;
PUSH;
ASSERT x;
+% EXPECT: sat
CHECKSAT;
POP;
ASSERT (NOT x);
+% EXPECT: unsat
CHECKSAT;
+% EXIT: 20
diff --git a/test/regress/regress0/push-pop/test.01.cvc b/test/regress/regress0/push-pop/test.01.cvc
index 6110c6576..90be7d784 100644
--- a/test/regress/regress0/push-pop/test.01.cvc
+++ b/test/regress/regress0/push-pop/test.01.cvc
@@ -1,13 +1,18 @@
x, y: BOOLEAN;
ASSERT (x OR y);
+% EXPECT: sat
CHECKSAT;
PUSH;
ASSERT (NOT x);
+% EXPECT: sat
CHECKSAT;
POP;
PUSH;
ASSERT (NOT y);
+% EXPECT: sat
CHECKSAT;
POP;
-CHECKSAT; \ No newline at end of file
+% EXPECT: sat
+CHECKSAT;
+% EXIT: 10
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback