diff options
Diffstat (limited to 'make/scripts')
-rwxr-xr-x | make/scripts/check-java-major-version.sh | 27 | ||||
-rwxr-xr-x | make/scripts/tests-osx-x32.sh | 7 |
2 files changed, 34 insertions, 0 deletions
diff --git a/make/scripts/check-java-major-version.sh b/make/scripts/check-java-major-version.sh new file mode 100755 index 000000000..08e3bc7b5 --- /dev/null +++ b/make/scripts/check-java-major-version.sh @@ -0,0 +1,27 @@ +#! /bin/bash + +TDIR=`pwd` + +function dump_version() { + echo -n "$1: " + javap -v $1 | grep 'major version' +} + +function dump_versions() { + cd $1 + #dump_version jogamp.common.Debug + for i in `find . -name '*.class'` ; do + dump_version `echo $i | sed -e 's/\//./g' -e 's/\.class//g'` + done + cd $TDIR +} + +function do_it() { + dump_versions $1/nativewindow/classes + dump_versions $1/jogl/classes + dump_versions $1/newt/classes + dump_versions $1/test/build/classes +} + +do_it $1 2>&1 | tee check-java-major-version.log + diff --git a/make/scripts/tests-osx-x32.sh b/make/scripts/tests-osx-x32.sh new file mode 100755 index 000000000..e7f4f01ef --- /dev/null +++ b/make/scripts/tests-osx-x32.sh @@ -0,0 +1,7 @@ +#! /bin/bash + +spath=`dirname $0` + +. $spath/tests.sh /usr/bin/java -d32 ../build-macosx $* + + |