aboutsummaryrefslogtreecommitdiff
path: root/t/travis.sh
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2015-12-14 01:07:43 +0100
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2015-12-14 01:07:43 +0100
commit8b67c81f2a67b59b2a7ead1ef527d7f9a1388d49 (patch)
tree3540f78edee69d02dae839b2c91af87234c43356 /t/travis.sh
parent83ac525ec75e192e09be11f162306c6d3353e08b (diff)
downloadsbotools2-8b67c81f2a67b59b2a7ead1ef527d7f9a1388d49.tar.xz
Move the -I switch out and run the tests without do_tests wrapper
Diffstat (limited to 't/travis.sh')
-rwxr-xr-xt/travis.sh12
1 files 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