summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-09-28 16:46:13 +0000
committerMorgan Deters <mdeters@gmail.com>2012-09-28 16:46:13 +0000
commitc0c351a89871e0a6881668fa1a8d87349ab8af8e (patch)
tree2fb912cfd9e29b7cbfc2b97f09a5581831168984 /test
parentad0a71e2782bc291ba9f808d24df2e1d8ca1b41e (diff)
* fix compatibility library naming for SMT-LIBv1
* change name of JNI library to "libcvc4jni", which works better with Java's System.loadLibrary(). (this commit was certified error- and warning-free by the test-and-commit script.)
Diffstat (limited to 'test')
-rw-r--r--test/system/CVC4JavaTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/system/CVC4JavaTest.java b/test/system/CVC4JavaTest.java
index 168961b5c..5a654d03f 100644
--- a/test/system/CVC4JavaTest.java
+++ b/test/system/CVC4JavaTest.java
@@ -17,7 +17,7 @@ import edu.nyu.acsys.CVC4.ParserBuilder;
public class CVC4JavaTest {
public static void main(String[] args) {
try {
- System.loadLibrary("CVC4");
+ System.loadLibrary("cvc4jni");
//CVC4.getDebugChannel().on("current");
@@ -42,7 +42,7 @@ public class CVC4JavaTest {
Result r = smt.checkSat(e);
boolean correct = r.isSat() == Result.Sat.UNSAT;
- System.out.println(smt.getStatisticsRegistry());
+ System.out.println(smt.getStatistics());
System.exit(correct ? 0 : 1);
} catch(Exception e) {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback