summaryrefslogtreecommitdiff
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
parent80596bc6e2a4aba6c14d408a41a214579b636f03 (diff)
minor tweaks to last commit, testing infrastructure
-rw-r--r--src/Makefile.am2
-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
4 files changed, 11 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 069a446e6..8224deb8f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -17,7 +17,7 @@ AM_CPPFLAGS = \
-I@srcdir@/include -I@srcdir@ -I@builddir@
AM_CXXFLAGS = -Wall -Wno-unknown-pragmas $(FLAG_VISIBILITY_HIDDEN)
-SUBDIRS = lib expr util context theory prop smt printer . parser main
+SUBDIRS = lib expr util context theory prop smt . parser main
lib_LTLIBRARIES = libcvc4.la
noinst_LTLIBRARIES = libcvc4_noinst.la
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