From 3a32650d4229f9b4ad1f527d9e30c24ddb69bb3f Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 25 Mar 2010 13:07:58 +0100 Subject: http://www.jogamp.org/bugzilla/show_bug.cgi?id=390 The current junit tests use a fixed 'build' sub-path, not the customizing 'rootrel.build' path. More properties needs to be passed through (ant -> junit -> ant) to comply with the current build system: * rootrel.build * os.arch * gluegen.user.compiler.file Fixed .. However .. since even more properties may influence the build, a more native solution with just plain 'ant' might be more desireable .. --- test/junit/com/sun/gluegen/BasicTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/junit/com/sun/gluegen/BasicTest.java') diff --git a/test/junit/com/sun/gluegen/BasicTest.java b/test/junit/com/sun/gluegen/BasicTest.java index a43d3e5..144128c 100644 --- a/test/junit/com/sun/gluegen/BasicTest.java +++ b/test/junit/com/sun/gluegen/BasicTest.java @@ -44,7 +44,7 @@ public class BasicTest { @Test public void bindingTest() throws Exception { - String nativesPath = gluegenRoot + "/build/test/build/natives"; + String nativesPath = testOutput + "/build/natives"; System.load(nativesPath + "/librofl.so"); Class clazz = Class.forName("test.BindingTest"); -- cgit v1.2.3