From 9a1b43908b3bb1cd5dd5fadafb3b23d6e9a2cf46 Mon Sep 17 00:00:00 2001
From: Sven Gothel <sgothel@jausoft.com>
Date: Thu, 25 Mar 2010 22:49:16 +0100
Subject: http://www.jogamp.org/bugzilla/show_bug.cgi?id=390

Adding 'plain' junit tests.
Plain stands for the simple processing of:
    ant.junit.compile: gluegen -> java/c files, javac/cc, jar
    ant.junit.run:     junit batch run

Avoiding 'black magic', ie kicking off gluegen and ant-compilation
from within the junit tests.

Same methodology as the JOGL junit tests,
junit test sources are under 'src/junit'

This way, the migration to other platform tests might be easier,
as well as the we don't need to pass through ant properties (ant - junit - ant),
see 3a32650d4229f9b4ad1f527d9e30c24ddb69bb3f.
---
 test/junit/com/sun/gluegen/BuildUtil.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'test/junit/com/sun/gluegen/BuildUtil.java')

diff --git a/test/junit/com/sun/gluegen/BuildUtil.java b/test/junit/com/sun/gluegen/BuildUtil.java
index 4477d7b..bbc2b16 100644
--- a/test/junit/com/sun/gluegen/BuildUtil.java
+++ b/test/junit/com/sun/gluegen/BuildUtil.java
@@ -56,7 +56,7 @@ public final class BuildUtil {
         project = new Project();
         project.setBaseDir(new File(gluegenRoot));
         project.setProperty("rootrel.build", rootrel_build);
-        passSystemProperty(project, "gluegen.user.compiler.file");
+        passSystemProperty(project, "gluegen-cpptasks.file");
         passSystemProperty(project, "os.arch");
 
         DefaultLogger logger = new DefaultLogger();
-- 
cgit v1.2.3