-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathrunTest.sh
More file actions
executable file
·16 lines (12 loc) · 868 Bytes
/
runTest.sh
File metadata and controls
executable file
·16 lines (12 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
#ant -Djava.util.logging.config.file=build/test-classes/logging.properties -Dtest.class=**/TorMemRemoteTest.class run-test 2>&1 | tee log
#ant -Djava.util.logging.config.file=build/test-classes/logging.properties -Dtest.class=**/JvmGlobalUtilRemoteTest.class run-test 2>&1 | tee log
# define classpath
CLASSES=build/classes:build/test-classes
LIBDIR=lib/main
LIBS=$LIBDIR/bcprov-jdk15-145.jar:$LIBDIR/jdom.jar:$LIBDIR/silvertunnel.org_netlib.jar
# define optional opts to enable Java remote debugging on port 8000
OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n -Djava.util.logging.config.file=build/test-classes/logging.properties"
# run program
echo java $OPTS -cp $CLASSES:$LIBS org.silvertunnel.netlib.T1RemoteTest 2>&1 | tee log
java $OPTS -cp $CLASSES:$LIBS org.silvertunnel.netlib.layer.tor.T1RemoteTest 2>&1 | tee log