diff options
author | Morgan Deters <mdeters@gmail.com> | 2010-11-15 20:24:35 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2010-11-15 20:24:35 +0000 |
commit | 24b8c7f104ae9bebbbb04b973d62337c43c6adb8 (patch) | |
tree | fe20d961747402c552242e86efc8d1a0cc8f6242 /test | |
parent | 80596bc6e2a4aba6c14d408a41a214579b636f03 (diff) |
minor tweaks to last commit, testing infrastructure
Diffstat (limited to 'test')
-rw-r--r-- | test/regress/regress0/push-pop/Makefile | 2 | ||||
-rw-r--r-- | test/regress/regress0/push-pop/test.00.cvc | 3 | ||||
-rw-r--r-- | test/regress/regress0/push-pop/test.01.cvc | 7 |
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 |