Merge pull request #23255 from benley/bazel

bazel: Log test errors to stderr during checkPhase
This commit is contained in:
Benjamin Staffin 2017-02-27 19:31:29 -05:00 committed by GitHub
commit 6e6c27841b
1 changed files with 2 additions and 2 deletions

View File

@ -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 = ''