From b357513c1e4c4c051993a2a4a50f1af02d630e7c Mon Sep 17 00:00:00 2001 From: tpylak <tpylak> Date: Mon, 28 Sep 2009 13:34:34 +0000 Subject: [PATCH] SE-133 YeastX - integration tests: more verbose messages SVN: 12743 --- integration-tests/run.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/integration-tests/run.sh b/integration-tests/run.sh index ca82733fa4c..bf9a08029bf 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 -- GitLab