diff --git a/integration-tests/run.sh b/integration-tests/run.sh index ca82733fa4ca8b77054f8a87e6d6e090133ac355..bf9a08029bf49ecac89f46b416eebe09b3f222ed 100755 --- a/integration-tests/run.sh +++ b/integration-tests/run.sh @@ -1,8 +1,22 @@ +#!/bin/bash +function print_result { + local result=$1 + if [ $result -ne 0 ]; then + echo ERROR: Test has failed. + fi +} + +echo Testing Screening Workflow ./test-3v.sh $@ result_3v=$? +print_result $result_3v + +echo Testing YeastX Workflow ./test-yeastx.sh $@ result_yeastx=$? +print_result $result_yeastx + if [ $result_3v -ne 0 -o $result_yeastx -ne 0 ]; then exit 1; fi