summaryrefslogtreecommitdiffstats
path: root/make/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'make/scripts')
-rw-r--r--make/scripts/tests.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/make/scripts/tests.sh b/make/scripts/tests.sh
index 714a79776..41748eebd 100644
--- a/make/scripts/tests.sh
+++ b/make/scripts/tests.sh
@@ -375,6 +375,9 @@ function jrun() {
export USE_CLASSPATH=$JOGAMP_ALL_AWT_CLASSPATH
echo USE_CLASSPATH $USE_CLASSPATH
X_ARGS="-Djava.awt.headless=true $X_ARGS"
+ if [ $MOSX -eq 1 ] ; then
+ X_ARGS="-XstartOnFirstThread $X_ARGS"
+ fi
elif [ $awton -eq -1 ] ; then
export USE_CLASSPATH=$JOGAMP_ATOMICS_NOAWT_CLASSPATH
else