summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Test/alltests.txt1
-rw-r--r--Test/sanity/Answer4
-rw-r--r--Test/sanity/Output4
-rw-r--r--Test/sanity/runtest.bat9
4 files changed, 18 insertions, 0 deletions
diff --git a/Test/alltests.txt b/Test/alltests.txt
index b566d8af..588a5eda 100644
--- a/Test/alltests.txt
+++ b/Test/alltests.txt
@@ -1,3 +1,4 @@
+sanity Use Build stability test - makes sure the current build doesn't encounter a runtime error (a smoke test)
test0 Use Name resolution tests
test1 Use Typechecking tests
test2 Use VC generation
diff --git a/Test/sanity/Answer b/Test/sanity/Answer
new file mode 100644
index 00000000..72700e47
--- /dev/null
+++ b/Test/sanity/Answer
@@ -0,0 +1,4 @@
+
+Boogie program verifier finished with 0 verified, 0 errors
+
+Dafny program verifier finished with 11 verified, 0 errors
diff --git a/Test/sanity/Output b/Test/sanity/Output
new file mode 100644
index 00000000..72700e47
--- /dev/null
+++ b/Test/sanity/Output
@@ -0,0 +1,4 @@
+
+Boogie program verifier finished with 0 verified, 0 errors
+
+Dafny program verifier finished with 11 verified, 0 errors
diff --git a/Test/sanity/runtest.bat b/Test/sanity/runtest.bat
new file mode 100644
index 00000000..f05e832e
--- /dev/null
+++ b/Test/sanity/runtest.bat
@@ -0,0 +1,9 @@
+@echo off
+setlocal
+
+set BOOGIEDIR=..\..\Binaries
+set BGEXE=%BOOGIEDIR%\Boogie.exe
+set DAFNY_EXE=%BOOGIEDIR%\Dafny.exe
+
+%BGEXE% %* /noVerify ..\textbook\bubble.bpl
+%DAFNY_EXE% /compile:0 %* ..\dafny1\Celebrity.dfy \ No newline at end of file