diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-03-05 13:26:55 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-03-05 13:26:55 +0000 |
commit | e93f3673f0fda0144fce5721418dfdbd9d432913 (patch) | |
tree | 727556e684a810d75a0d16828b87a28edfcffa72 /dev-java/swt/runtest.sh | |
parent | Added directory where to save testcases for different java packages. (diff) | |
download | java-testcases-e93f3673f0fda0144fce5721418dfdbd9d432913.tar.gz java-testcases-e93f3673f0fda0144fce5721418dfdbd9d432913.tar.bz2 java-testcases-e93f3673f0fda0144fce5721418dfdbd9d432913.zip |
Add tests for swt.
svn path=/testcases/; revision=3960
Diffstat (limited to 'dev-java/swt/runtest.sh')
-rw-r--r-- | dev-java/swt/runtest.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-java/swt/runtest.sh b/dev-java/swt/runtest.sh new file mode 100644 index 0000000..d212ecf --- /dev/null +++ b/dev-java/swt/runtest.sh @@ -0,0 +1,7 @@ +moz="${1}" +[[ -z ${moz} ]] && moz=xulrunner +[[ ! -e Snippet128.class ]] && javac -classpath $(java-config -p swt-3) Snippet128.java +#LD_PRELOAD="/usr/lib/${moz}/libxul.so" \ +MOZILLA_FIVE_HOME="/usr/lib/${moz}/" \ +LD_LIBRARY_PATH="$(java-config -i swt-3):${MOZILLA_FIVE_HOME}" \ + java -Djava-library.path=$(java-config -i swt-3) -cp $(java-config -p swt-3):. Snippet128 |