From a51672a5fa5c166df70a89e4e99aedfc12165d3b Mon Sep 17 00:00:00 2001 From: Michael Barker Date: Thu, 2 Mar 2017 07:52:49 +1300 Subject: [PATCH] Hide exception output when running tests --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 49bb2e6cd..06d5a130c 100755 --- a/build.sh +++ b/build.sh @@ -100,7 +100,7 @@ function run_tests() { JARS=$(find ${BUILD_LIB_DIR} -name "*.jar" | paste -sd ':') TESTS=$(for i in $(find build_tmp/test/classes -name '*Test.class') ; do l=${i#build_tmp/test/classes/} ; j=${l%.class} ; echo ${j////.} ; done | paste -sd ' ') - $JAVA_HOME/bin/java -cp ${JARS}:${BUILD_MAIN_CLASSES}:${BUILD_TEST_CLASSES} org.junit.runner.JUnitCore $TESTS + $JAVA_HOME/bin/java -cp ${JARS}:${BUILD_MAIN_CLASSES}:${BUILD_TEST_CLASSES} org.junit.runner.JUnitCore $TESTS 2> /dev/null } create_build &&