mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
bazel: Log test errors to stderr during checkPhase
Otherwise it's difficult or impossible to retrieve them, particularly from a hydra build.
This commit is contained in:
parent
df202fdeb8
commit
d348b80f31
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user