aboutsummaryrefslogtreecommitdiff
path: root/test/test.scala
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-11-07 03:01:33 -0500
committerChristopher Vogt <oss.nsp@cvogt.org>2016-11-07 09:31:13 -0500
commit739885e3276e82fb2f4ff26d9ba55d3936c0b6cf (patch)
tree555bd733cbbfa6413752f0653e162dcb03efab55 /test/test.scala
parent054ac5a9a8363b315e35ab77e7cc2cd621acf496 (diff)
downloadcbt-739885e3276e82fb2f4ff26d9ba55d3936c0b6cf.tar.gz
cbt-739885e3276e82fb2f4ff26d9ba55d3936c0b6cf.tar.bz2
cbt-739885e3276e82fb2f4ff26d9ba55d3936c0b6cf.zip
Make Eval tests pass and add them to cbt tests
Diffstat (limited to 'test/test.scala')
-rw-r--r--test/test.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test.scala b/test/test.scala
index 5b4a4af..86ab44b 100644
--- a/test/test.scala
+++ b/test/test.scala
@@ -255,6 +255,12 @@ object Main{
assert(res.err.contains("null is disabled"), res.out)
}
+ {
+ val res = runCbt("../libraries/eval", Seq("test"))
+ assert(res.exit0)
+ assert(res.out.contains("All tests passed"), res.out)
+ }
+
System.err.println(" DONE!")
System.err.println( successes.toString ++ " succeeded, "++ failures.toString ++ " failed" )
if(failures > 0) System.exit(1) else System.exit(0)