-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrun.sh
executable file
·23 lines (16 loc) · 1.09 KB
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
echo "Running SPECjvm2008 for Java $JAVA_HOME"
if [ -z $JAVA_HOME ] ; then
echo "Set JAVA_HOME first to unpack SPECjvm2008!"
exit 1
fi
cd specjvm2008
# make a dry run for fast testing
# java -jar SPECjvm2008.jar -ikv -wt 5s -it 5s -bt 2 compress
# runs ALL tests
# java -jar SPECjvm2008.jar
# run only tests which run in JavaSE 8
# give more heap memory as "derby" test will fail otherwise on Raspberry Pi
$JAVA_HOME/bin/java -Xmx600m -jar SPECjvm2008.jar \
startup.helloworld startup.compiler.compiler startup.compress startup.crypto.aes startup.crypto.rsa startup.crypto.signverify startup.mpegaudio startup.scimark.fft startup.scimark.lu startup.scimark.monte_carlo startup.scimark.sor startup.scimark.sparse startup.serial startup.sunflow startup.xml.transform startup.xml.validation compiler.compiler compress crypto.aes crypto.rsa crypto.signverify derby mpegaudio scimark.fft.large scimark.lu.large scimark.sor.large scimark.sparse.large scimark.fft.small scimark.lu.small scimark.sor.small scimark.sparse.small scimark.monte_carlo serial sunflow xml.transform xml.validation
cd ..