a few fixes for java system test
authorMorgan Deters <mdeters@gmail.com>
Wed, 18 Jul 2012 21:21:56 +0000 (21:21 +0000)
committerMorgan Deters <mdeters@gmail.com>
Wed, 18 Jul 2012 21:21:56 +0000 (21:21 +0000)
test/system/CVC4JavaTest.java
test/system/Makefile.am

index a35ee3771b62a64e4e1fc2864c988961a5163248..168961b5cd98c76e06c3fd80f456080e6e03b03f 100644 (file)
@@ -17,7 +17,7 @@ import edu.nyu.acsys.CVC4.ParserBuilder;
 public class CVC4JavaTest {
   public static void main(String[] args) {
     try {
-      System.loadLibrary("cvc4bindings_java");
+      System.loadLibrary("CVC4");
 
       //CVC4.getDebugChannel().on("current");
 
index fb39acc4c55e2c6ece027c01cf104c1f89576ab8..6430814a56730192df37881c4ab8b98f231762c0 100644 (file)
@@ -12,7 +12,7 @@ if CVC4_LANGUAGE_BINDING_JAVA
 TESTS += CVC4JavaTest.class
 endif
 
-CLASS_LOG_COMPILER = @srcdir@/run_java_test $(JAVA) -classpath .:@abs_top_builddir@/src/bindings/cvc4.jar -Djava.library.path=$(abs_top_builddir)/src/bindings/.libs:$(abs_top_builddir)/src/.libs
+CLASS_LOG_COMPILER = @srcdir@/run_java_test $(JAVA) -classpath .:@abs_top_builddir@/src/bindings/CVC4.jar -Djava.library.path=$(abs_top_builddir)/src/bindings/java/.libs:$(abs_top_builddir)/src/.libs
 
 # Things that aren't tests but that tests rely on and need to
 # go into the distribution
@@ -74,8 +74,8 @@ $(filter-out %.class,$(TESTS)): %: %.lo $(LIBADD)
        $(AM_V_CXXLD)$(system_LINK) $(LIBADD) $(AM_LDFLAGS) $(LIBS) $<
 cvc3_main: cvc3_george.lo $(LIBADD)
        $(AM_V_CXXLD)$(system_LINK) $(LIBADD) $(AM_LDFLAGS) $(LIBS) $+
-CVC4JavaTest.class: CVC4JavaTest.java @abs_top_builddir@/src/bindings/cvc4.jar @abs_top_builddir@/src/bindings/libcvc4bindings_java.la
-       $(AM_V_JAVAC)$(JAVAC) -classpath @abs_top_builddir@/src/bindings/cvc4.jar -d $(builddir) $<
+CVC4JavaTest.class: CVC4JavaTest.java @abs_top_builddir@/src/bindings/CVC4.jar @abs_top_builddir@/src/bindings/java/CVC4.la
+       $(AM_V_JAVAC)$(JAVAC) -classpath @abs_top_builddir@/src/bindings/CVC4.jar -d $(builddir) $<
 
 # for silent automake rules
 AM_V_JAVAC = $(am__v_JAVAC_$(V))