Propagate the install or test error up (although not used right now, the error will...
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Mon, 5 Nov 2012 17:13:06 +0000 (17:13 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Mon, 5 Nov 2012 17:13:06 +0000 (17:13 +0000)
org.glite.testsuites.ctb/CANL-C/tests/canl-autonomous-test.sh
org.glite.testsuites.ctb/LB/tests/lb-autonomous-test.sh
org.glite.testsuites.ctb/PX/tests/px-autonomous-test.sh
org.glite.testsuites.ctb/gridsite/tests/gridsite-autonomous-test.sh

index 225a89f..b887039 100755 (executable)
@@ -101,12 +101,10 @@ test_done
 
 
 printf "Installing... "
-sh caNlInstall.sh > Install_log.txt 2> Install_err.log
-test_done
+sh caNlInstall.sh > Install_log.txt 2> Install_err.log && test_done || test_failed
 
 printf "Running tests... "
-sh arrange_canl_test_root.sh none glite 80 '-x' > test_log.txt 2> test_err.log
-test_done
+sh arrange_canl_test_root.sh none glite 80 '-x' > test_log.txt 2> test_err.log && test_done || test_failed
 
 printf "Collecting package list... "
 gen_repo_lists ./prod_packages.txt ./repo_packages.txt
index db73b80..fbdea62 100755 (executable)
@@ -104,12 +104,10 @@ test_done
 
 
 printf "Installing... "
-sh LBinstall.sh > Install_log.txt 2> Install_err.log
-test_done
+sh LBinstall.sh > Install_log.txt 2> Install_err.log && test_done || test_failed
 
 printf "Running tests... "
-sh arrange_lb_test_root.sh none glite 80 '-x' > test_log.txt 2> test_err.log
-test_done
+sh arrange_lb_test_root.sh none glite 80 '-x' > test_log.txt 2> test_err.log && test_done || test_failed
 
 printf "Collecting package list... "
 gen_repo_lists ./prod_packages.txt ./repo_packages.txt
index 30ad6fe..e469023 100755 (executable)
@@ -127,12 +127,10 @@ test_done
 
 
 printf "Installing... "
-sh PXinstall.sh > Install_log.txt 2> Install_err.log
-test_done
+sh PXinstall.sh > Install_log.txt 2> Install_err.log && test_done || test_failed
 
 printf "Running tests... "
-sh arrange_px_test_root.sh none glite 80 '-x' > test_log.txt 2> test_err.log
-test_done
+sh arrange_px_test_root.sh none glite 80 '-x' > test_log.txt 2> test_err.log && test_done || test_failed
 
 printf "Collecting package list... "
 gen_repo_lists ./prod_packages.txt ./repo_packages.txt
index d3733c6..2171a5b 100755 (executable)
@@ -105,12 +105,10 @@ test_done
 
 
 printf "Installing... "
-sh GridSiteInstall.sh > Install_log.txt 2> Install_err.log
-test_done
+sh GridSiteInstall.sh > Install_log.txt 2> Install_err.log && test_done || test_failed
 
 printf "Running tests... "
-sh arrange_gridsite_test_root.sh none glite 80 '-x' > test_log.txt 2> test_err.log
-test_done
+sh arrange_gridsite_test_root.sh none glite 80 '-x' > test_log.txt 2> test_err.log && test_done || test_failed
 
 printf "Collecting package list... "
 gen_repo_lists ./prod_packages.txt ./repo_packages.txt