From 5459979a097f91011d3f23ff6f25e1dc34b1d52a Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 23 Feb 2012 19:25:05 +0100 Subject: Passing environment-vars and ant-properties to junit tests, enabling fine grained controll of test behavior. Environment vars, mapped to properties: JUNIT_RUN_ARG0 -> junit.run.arg0 JUNIT_RUN_ARG1 -> junit.run.arg1 This allows us to disable ScreenMode on Linux-ARM-Omap4 for example, where XRandR calls consume up to 3s per test. --- make/build-test.xml | 7 ++++++- make/jogamp-env.xml | 15 +++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/make/build-test.xml b/make/build-test.xml index 2a7220a..0a8a14f 100644 --- a/make/build-test.xml +++ b/make/build-test.xml @@ -243,6 +243,9 @@ export ${system.env.library.path}=${env.TARGET_ROOT}/gluegen/${rootrel.build}/ob @@ -337,6 +340,8 @@ ${line.separator} + + diff --git a/make/jogamp-env.xml b/make/jogamp-env.xml index d6143f8..de8995d 100755 --- a/make/jogamp-env.xml +++ b/make/jogamp-env.xml @@ -52,6 +52,19 @@ + + + + + + + + + + + + + @@ -179,6 +192,8 @@ + + -- cgit v1.2.3