Skip to content

Commit

Permalink
Hide exception output when running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeb01 committed Mar 1, 2017
1 parent 2687e16 commit a51672a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit a51672a

Please sign in to comment.