diff options
author | Morgan Deters <mdeters@gmail.com> | 2012-09-28 16:46:13 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2012-09-28 16:46:13 +0000 |
commit | c0c351a89871e0a6881668fa1a8d87349ab8af8e (patch) | |
tree | 2fb912cfd9e29b7cbfc2b97f09a5581831168984 /test | |
parent | ad0a71e2782bc291ba9f808d24df2e1d8ca1b41e (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.java | 4 |
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) { |