Merge pull request #23255 from benley/bazel
bazel: Log test errors to stderr during checkPhase
This commit is contained in:
commit
6e6c27841b
|
@ -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