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;
|
doCheck = true;
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
export TEST_TMPDIR=$(pwd)
|
export TEST_TMPDIR=$(pwd)
|
||||||
./output/bazel test examples/cpp:hello-success_test
|
./output/bazel test --test_output=errors 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/java-native/src/test/java/com/example/myproject:hello
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user