invoke 'make check' with OpenSRF and Evergreen
authorJason Etheridge <jason@esilibrary.com>
Wed, 7 Aug 2013 17:52:06 +0000 (13:52 -0400)
committerJason Etheridge <jason@esilibrary.com>
Wed, 7 Aug 2013 17:52:06 +0000 (13:52 -0400)
and delimit OpenSRF and Evergreen test output for easier parsing later

installer/wheezy/eg_wheezy_installer.sh

index 7ee3c69..734453d 100755 (executable)
@@ -158,6 +158,9 @@ make;'
 
 su - opensrf sh -c "$OSRF_COMMAND"
 cd /home/opensrf/OpenSRF;
+echo _.-~= Running OpenSRF build tests
+make check
+echo End of OpenSRF build tests =~-._
 make install
 
 export PATH=/openils/bin:$PATH
@@ -172,6 +175,9 @@ make;'
 
 su - opensrf sh -c "$OSRF_COMMAND"
 cd /home/opensrf/Evergreen
+echo _.-~= Running Evergreen build tests
+make check
+echo End of Evergreen build tests =~-._
 make install
 
 cp /openils/conf/opensrf.xml.example      /openils/conf/opensrf.xml
@@ -300,10 +306,14 @@ echo Restarting Apache
 if [ $LIVETEST ]; then
 # TODO: Eventually move these tests into a Make target within Evergreen
     cd /home/opensrf/Evergreen
-    echo Running pgTAP tests
+    echo _.-~= Running pgTAP tests
     su - postgres -c 'cd /home/opensrf/Evergreen ; pg_prove -vr -d evergreen Open-ILS/src/sql/Pg/t/'
-    echo Running perl tests
+    echo End of pgTAP tests =~-._
+    echo _.-~= Running settings-tester.pl
+    echo End of settings-tester.pl output =~-._
+    echo _.-~= Running perl live tests
     su - opensrf sh -c 'export PATH=/openils/bin:$PATH ; cd /home/opensrf/Evergreen/Open-ILS/src/perlmods/ ; make livecheck'
+    echo End of perl live tests =~-._
 else
     cat <<EOF
 * Test the system