Changeset: 74b907f25564 for monetdb-java
URL: https://dev.monetdb.org/hg/monetdb-java/rev/74b907f25564
Modified Files:
        Makefile
        tests/build.xml
Branch: default
Log Message:

Allow to run 'make test' in the toplevel directory


diffs (25 lines):

diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,10 @@ jre17jars: src/main/java/org/monetdb/jdb
        ant -f build_jre17.xml distjdbc
        rm -rf build
 
+test: all
+       echo banana
+       cd tests; ant  -f build.xml test
+
 testsjar:
        cd tests; ant -f build.xml jar_jdbctests
 
diff --git a/tests/build.xml b/tests/build.xml
--- a/tests/build.xml
+++ b/tests/build.xml
@@ -123,6 +123,7 @@ Copyright 1997 - July 2008 CWI.
     <java classname="${test.class}" failonerror="true" fork="true">
       <classpath>
         <pathelement path="${builddir}" />
+        <pathelement path="." /> <!-- Needed for 'ant test' to find tests.md. 
-->
         <pathelement path="${jdbc_jar}" />
       </classpath>
       <arg value="${jdbc_url}" />
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to