mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-21 20:58:41 +03:00
bazel_4: make some tests more verbose to help debugging
Co-Authored-By: Uri Baghin <33242106+uri-canva@users.noreply.github.com>
This commit is contained in:
parent
b147f2111d
commit
b55758e4f5
@ -490,6 +490,8 @@ stdenv.mkDerivation rec {
|
||||
build --host_javabase='@local_jdk//:jdk'
|
||||
build --host_java_toolchain='${javaToolchain}'
|
||||
build --verbose_failures
|
||||
build --curses=no
|
||||
build --sandbox_debug
|
||||
EOF
|
||||
|
||||
# add the same environment vars to compile.sh
|
||||
@ -502,6 +504,8 @@ stdenv.mkDerivation rec {
|
||||
-e "/\$command \\\\$/a --host_javabase='@local_jdk//:jdk' \\\\" \
|
||||
-e "/\$command \\\\$/a --host_java_toolchain='${javaToolchain}' \\\\" \
|
||||
-e "/\$command \\\\$/a --verbose_failures \\\\" \
|
||||
-e "/\$command \\\\$/a --curses=no \\\\" \
|
||||
-e "/\$command \\\\$/a --sandbox_debug \\\\" \
|
||||
-i scripts/bootstrap/compile.sh
|
||||
|
||||
# This is necessary to avoid:
|
||||
|
@ -44,6 +44,8 @@ let
|
||||
${bazel}/bin/bazel \
|
||||
build --verbose_failures \
|
||||
--distdir=${distDir} \
|
||||
--curses=no \
|
||||
--sandbox_debug \
|
||||
//...
|
||||
'';
|
||||
};
|
||||
|
@ -50,6 +50,8 @@ let
|
||||
--java_toolchain='@bazel_tools//tools/jdk:toolchain_hostjdk8' \
|
||||
--javabase='@local_jdk//:jdk' \
|
||||
--verbose_failures \
|
||||
--curses=no \
|
||||
--sandbox_debug \
|
||||
//:ProjectRunner
|
||||
'';
|
||||
};
|
||||
|
@ -169,6 +169,8 @@ let
|
||||
--java_toolchain='@bazel_tools//tools/jdk:toolchain_hostjdk8' \
|
||||
--javabase='@local_jdk//:jdk' \
|
||||
--verbose_failures \
|
||||
--curses=no \
|
||||
--sandbox_debug \
|
||||
//...
|
||||
'';
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user