diff options
author | Sven Gothel <[email protected]> | 2023-01-16 02:56:32 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-01-16 02:56:32 +0100 |
commit | 4b31fa321bdf02ce87648dcb7c0034b297a9e71f (patch) | |
tree | 26d835c59d2aaa1f97e6cd7019223bad8d458b18 /make/scripts | |
parent | 654a3a9bb82c20b03a5286a7d9ac84c3a38923d4 (diff) |
SWT tests on MacOS (w/o AWT) require '-XstartOnFirstThread' JVM argument, else they crash.
Diffstat (limited to 'make/scripts')
-rw-r--r-- | make/scripts/tests.sh | 3 |
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 |