##TEST ENVIRONMENT## SRCDIR="javatx-src/main/java" DESTDIR="out/src" TESTDESTDIR="out/tests" DEPENDENCIES="dependencies" JAVAC_FLAGS="-g:none -nowarn" JAVATX_COMPILER_PATH="JavaTXcompiler-2.5-jar-with-dependencies.jar" #compile all necessary test files javac -cp "$DESTDIR:$DEPENDENCIES/*" -d "out/tests" tests/targetast/* javac -cp "$TESTDESTDIR:$DESTDIR:$DEPENDENCIES/*" -d "out/tests" tests/TestComplete.java cp -r resources out/tests/resources/ cd "$TESTDESTDIR" #run tests with junit java -cp "../src:.:../../dependencies/*" org.junit.runner.JUnitCore TestComplete