Skip to content

Commit

Permalink
Fix precompiled unit tests needing their "testdata" contents
Browse files Browse the repository at this point in the history
Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
  • Loading branch information
tianon authored and tiborvass committed Jul 26, 2014
1 parent 81e78db commit 0a7cd70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/make/test-unit
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ go_run_test_dir() {
echo
echo '+ go test' $TESTFLAGS "github.com/dotcloud/docker${dir#.}"
precompiled="$DEST/precompiled/$dir.test"
if ! "$precompiled"; then
if ! ( cd "$dir" && "$precompiled" ); then
TESTS_FAILED+=("$dir")
echo
echo "${RED}Tests failed: $dir${TEXTRESET}"
Expand Down

0 comments on commit 0a7cd70

Please sign in to comment.