From 4a815f599dc330ebeb04c11c94a9d89f83519db4 Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Wed, 7 Aug 2013 13:52:06 -0400 Subject: [PATCH] invoke 'make check' with OpenSRF and Evergreen and delimit OpenSRF and Evergreen test output for easier parsing later --- installer/wheezy/eg_wheezy_installer.sh | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/installer/wheezy/eg_wheezy_installer.sh b/installer/wheezy/eg_wheezy_installer.sh index 7ee3c6940..734453dc8 100755 --- a/installer/wheezy/eg_wheezy_installer.sh +++ b/installer/wheezy/eg_wheezy_installer.sh @@ -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 <