summaryrefslogtreecommitdiffstats
path: root/make/scripts/tests-osx-x64.sh
blob: 06b17df3c7af06876acd1becd8f5fe46019f0767 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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-x86_64/swt.jar

spath=`dirname $0`

ulimit -c unlimited

. $spath/tests.sh  $JAVA_HOME/bin/java --illegal-access=warn ../build-macosx $*