Revision cc8edb07b41d8785afa98d7483cb1b7c440f92d0 authored by Zhengzhong Liang on 30 June 2020, 19:05:15 UTC, committed by Zhengzhong Liang on 30 June 2020, 19:05:15 UTC
1 parent 04f3345
runAllTests.sh
#!/usr/bin/env bash
# uncomment the lines below if processorAnnotator.type = "server"
# start up the Processors Server for tests to run against:
#echo 'Starting Processor Server...'
#sbt 'run-main org.clulab.processors.server.ProcessorServer' &
#sleep 20
overallExitCode=0
function runTest {
echo "Testing '$1' suite..."
sbt $1
if [ $? -ne 0 ]; then
echo "The '$1' suite failed!"
overallExitCode=1
fi
}
runTest "test"
runTest "processors/test"
runTest "main/test"
runTest "export/test"
#echo 'Stopping Processor Server...'
#sbt 'run-main org.clulab.processors.csshare.ShutdownProcessorServer'
if [ $overallExitCode -ne 0 ]; then
echo "At least one test suite failed!"
exit 1
fi
Computing file changes ...