CI: Fix logic inversion in runTestsuite
authorGeorge Joseph <gjoseph@digium.com>
Tue, 17 Jul 2018 12:13:35 +0000 (06:13 -0600)
committerGeorge Joseph <gjoseph@digium.com>
Tue, 17 Jul 2018 12:13:35 +0000 (06:13 -0600)
Change-Id: I56399aa384468f45494c2c3650420563a0b6efe1

tests/CI/runTestsuite.sh

index 9261308..4ca6369 100755 (executable)
@@ -8,7 +8,7 @@ pushd $TESTSUITE_DIR
 
 ./cleanup-test-remnants.sh
 
-if [ $REALTIME -eq 0 ] ; then
+if [ $REALTIME -eq 1 ] ; then
        $CIDIR/setupRealtime.sh
 fi
 
@@ -16,7 +16,7 @@ export PYTHONPATH=./lib/python/
 echo "Running tests ${TEST_COMMAND}"
 ./runtests.py --cleanup ${TEST_COMMAND} | contrib/scripts/pretty_print --no-color --no-timer --term-width=120 --show-errors || :
 
-if [ $REALTIME -eq 0 ] ; then
+if [ $REALTIME -eq 1 ] ; then
        $CIDIR/teardownRealtime.sh
 fi