Skip to content

Commit

Permalink
build_blackbox_tests: only compile top level tests
Browse files Browse the repository at this point in the history
There are only two tests: the positive test and the negative test which
are defined in the ignition/tests package. All the actual tests are
subtests. Do not scan the entire tests directory for more top level
tests.
  • Loading branch information
Andrew Jeddeloh committed Aug 27, 2018
1 parent 23b4721 commit b3ba7aa
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions build_blackbox_tests
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,10 @@ fi

. build

PKG=$(cd gopath/src/${REPO_PATH}; go list ./tests/...)
PKG=$(cd gopath/src/${REPO_PATH}; go list ./tests/)

echo "Compiling tests..."
for p in ${PKG}; do
go test -c $p
done
go test -c $PKG

for D in tests/stubs/*; do
if [ -d "${D}" ]; then
Expand Down

0 comments on commit b3ba7aa

Please sign in to comment.