Skip to content

Commit

Permalink
Merge pull request #23255 from benley/bazel
Browse files Browse the repository at this point in the history
bazel: Log test errors to stderr during checkPhase
  • Loading branch information
benley committed Feb 28, 2017
2 parents df202fd + d348b80 commit 6e6c278
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/tools/build-managers/bazel/default.nix
Expand Up @@ -54,8 +54,8 @@ stdenv.mkDerivation rec {
doCheck = true;
checkPhase = ''
export TEST_TMPDIR=$(pwd)
./output/bazel test examples/cpp:hello-success_test
./output/bazel test examples/java-native/src/test/java/com/example/myproject:hello
./output/bazel test --test_output=errors examples/cpp:hello-success_test
./output/bazel test --test_output=errors examples/java-native/src/test/java/com/example/myproject:hello
'';

installPhase = ''
Expand Down

0 comments on commit 6e6c278

Please sign in to comment.