summaryrefslogtreecommitdiffstats
path: root/make/scripts/tests-osx-aarch64.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-01-16 02:19:07 +0100
committerSven Gothel <[email protected]>2023-01-16 02:19:07 +0100
commitd22c3f963bab9afa8fffd198362cfcda0498a381 (patch)
treeb2da7ca7af5d77c03a6940190fdbc8d896d29853 /make/scripts/tests-osx-aarch64.sh
parent21a6171981fb6ca09d7b1dbdc1df0b44f0d33414 (diff)
SWT 4.26: Add cocoa-maxosx-aarch64 blob w/o src; Add scripts/tests-osx-aarch64.sh
Diffstat (limited to 'make/scripts/tests-osx-aarch64.sh')
-rwxr-xr-xmake/scripts/tests-osx-aarch64.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/make/scripts/tests-osx-aarch64.sh b/make/scripts/tests-osx-aarch64.sh
new file mode 100755
index 000000000..ad9e289e4
--- /dev/null
+++ b/make/scripts/tests-osx-aarch64.sh
@@ -0,0 +1,21 @@
+#! /bin/bash
+
+#export DYLD_LIBRARY_PATH=$HOME/ffmpeg-2.2.3/lib:$DYLD_LIBRARY_PATH
+#export DYLD_LIBRARY_PATH=$HOME/ffmpeg-2.8/lib:$DYLD_LIBRARY_PATH
+#export DYLD_LIBRARY_PATH=/usr/local/Cellar/ffmpeg/4.1.2/lib:$DYLD_LIBRARY_PATH
+
+#JAVA_HOME=`/usr/libexec/java_home`
+#JAVA_HOME=`/usr/libexec/java_home -version 1.8`
+#JAVA_HOME=`/usr/libexec/java_home -version 11`
+JAVA_HOME=`/usr/libexec/java_home -version 17`
+PATH=$JAVA_HOME/bin:$PATH
+export JAVA_HOME PATH
+
+export SWT_CLASSPATH=`pwd`/lib/swt/cocoa-macosx-aarch64/swt.jar
+
+spath=`dirname $0`
+
+ulimit -c unlimited
+
+. $spath/tests.sh $JAVA_HOME/bin/java --illegal-access=warn ../build-macosx $*
+