commit 8b67c81f2a67b59b2a7ead1ef527d7f9a1388d49 parent 83ac525ec75e192e09be11f162306c6d3353e08b Author: Andreas Guldstrand <andreas.guldstrand@gmail.com> Date: Mon, 14 Dec 2015 01:07:43 +0100 Move the -I switch out and run the tests without do_tests wrapper Diffstat:
| M | t/travis.sh | | | 12 | +++++++----- |
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git 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