From 8b67c81f2a67b59b2a7ead1ef527d7f9a1388d49 Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Mon, 14 Dec 2015 01:07:43 +0100 Subject: Move the -I switch out and run the tests without do_tests wrapper --- t/travis.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/t/travis.sh b/t/travis.sh index 40f1517..0779195 100755 --- a/t/travis.sh +++ b/t/travis.sh @@ -5,14 +5,16 @@ set -e set -x PERL=`which perl` +I="SBO-Lib/lib" run() { - sudo $PERL -I"SBO-Lib/lib" "$@" + sudo $PERL "$@" } env -run sboconfig -V 14.1 -run sbosnap fetch -run sbofind sbotools +run -I$I sboconfig -V 14.1 +run -I$I sbosnap fetch +run -I$I sbofind sbotools cd t -sudo ./do_tests.sh +run prep.pl +run test.t -- cgit v1.2.3