Fix Travis CI script to checkout particular commits of external tests

This commit is contained in:
Jon Siwek 2018-08-21 16:47:52 -05:00
parent 553ce6aca1
commit ef3d451af3
6 changed files with 37 additions and 1 deletions

View file

@ -198,10 +198,18 @@ run() {
make init
fi
if [ -d bro-testing ]; then
( cd bro-testing && git checkout `cat ../commit-hash.bro-testing` )
fi
if [ ! -d bro-testing-private ]; then
get_private_tests
fi
if [ -d bro-testing-private ]; then
( cd bro-testing-private && git checkout `cat ../commit-hash.bro-testing-private` )
fi
echo
echo "Running external tests ##############################################"
echo