gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] fenfire ./build.xml org/fenfire/loom/Cursor.test


From: Benja Fallenstein
Subject: [Gzz-commits] fenfire ./build.xml org/fenfire/loom/Cursor.test
Date: Sat, 01 Mar 2003 04:23:30 -0500

CVSROOT:        /cvsroot/fenfire
Module name:    fenfire
Changes by:     Benja Fallenstein <address@hidden>      03/03/01 04:23:30

Modified files:
        .              : build.xml 
        org/fenfire/loom: Cursor.test 

Log message:
        First cut at running tests

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/fenfire/fenfire/build.xml.diff?tr1=1.5&tr2=1.6&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/fenfire/fenfire/org/fenfire/loom/Cursor.test.diff?tr1=1.1&tr2=1.2&r1=text&r2=text

Patches:
Index: fenfire/build.xml
diff -u fenfire/build.xml:1.5 fenfire/build.xml:1.6
--- fenfire/build.xml:1.5       Sat Mar  1 03:33:12 2003
+++ fenfire/build.xml   Sat Mar  1 04:23:30 2003
@@ -4,6 +4,7 @@
 
     <property name="src" location="${basedir}"/>
     <property name="build" location="build"/>
+    <property name="dep" location="../fenfire-depends"/>
 
     <target name="fenfire" depends="compile,test" 
             description="Compile and test Fenfire">
@@ -17,6 +18,14 @@
     </target>
 
     <target name="test">
+        <java classname="org.python.util.jython" fork="true"
+             failonerror="true">
+           <arg value="org/fenfire/test/test.py"/>
+           <arg value="org"/>
+           <sysproperty key="python.path" 
+                        value="${dep}/jythonlib.jar:${dep}/pythonlib.jar:."/>
+           <classpath refid="depends.path"/>
+       </java>        
     </target>
 
     <target name="run">
@@ -35,9 +44,9 @@
         <pathelement path="${classpath}"/>
        <pathelement location="build/"/>
         <pathelement location="lib/libvob.jar"/>
-        <pathelement location="../fenfire-depends/jython.jar"/>
-        <pathelement location="../fenfire-depends/jena.jar"/>
-        <pathelement location="../fenfire-depends/icu4j.jar"/>
-        <pathelement location="../fenfire-depends/xerces.jar"/>
+        <pathelement location="${dep}/jython.jar"/>
+        <pathelement location="${dep}/jena.jar"/>
+        <pathelement location="${dep}/fenfire-depends/icu4j.jar"/>
+        <pathelement location="${dep}/fenfire-depends/xerces.jar"/>
     </path>
 </project>
Index: fenfire/org/fenfire/loom/Cursor.test
diff -u fenfire/org/fenfire/loom/Cursor.test:1.1 
fenfire/org/fenfire/loom/Cursor.test:1.2
--- fenfire/org/fenfire/loom/Cursor.test:1.1    Fri Feb 28 12:41:28 2003
+++ fenfire/org/fenfire/loom/Cursor.test        Sat Mar  1 04:23:30 2003
@@ -21,7 +21,7 @@
 
 import gzz, java
 import jarray
-from test.tools.gfx import getvs
+from org.fenfire.test.gfx import getvs
 from com.hp.hpl.mesa.rdf import jena
 
 model = jena.mem.ModelMem()




reply via email to

[Prev in Thread] Current Thread [Next in Thread]