Skip to content

Commit cfa57a3

Browse files
committed
Disable sandboxed exclusive tests
This Bazel flag's value was flipped to `true` in Bazel 7 and causes some integration tests to fail: //tests/ghcWithPackages_2097:ghc_with_packages_test_nixpkgs_bazel_7 //tests/haskell_module/repl:haskell_module_repl_cross_library_deps_test_nixpkgs_bazel_7 //tests/recompilation:recompilation_test_nixpkgs_bazel_7 //tests/repl-targets:hs_bin_repl_test_nixpkgs_bazel_7 //tests/repl-targets:hs_lib_repl_test_nixpkgs_bazel_6 //tests/repl-targets:hs_lib_repl_test_nixpkgs_bazel_7 //tests/ghcWithPackages_2097:ghc_with_packages_test_bindist_7_1_0 //tests/haskell_module/repl:haskell_module_repl_cross_library_deps_test_bindist_7_1_0 //tests/recompilation:recompilation_test_bindist_7_1_0 //tests/repl-targets:hs_bin_repl_test_bindist_7_1_0 //tests/repl-targets:hs_lib_repl_test_bindist_6_0_0 //tests/repl-targets:hs_lib_repl_test_bindist_6_3_2 //tests/repl-targets:hs_lib_repl_test_bindist_6_5_0 //tests/repl-targets:hs_lib_repl_test_bindist_7_1_0
1 parent cf3cc40 commit cfa57a3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.bazelrc.common

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ startup --host_jvm_args=-Djdk.tls.client.protocols=TLSv1.2
1717
common --incompatible_require_linker_input_cc_api
1818
common --incompatible_disallow_empty_glob=true
1919

20+
# explicitly disable sandboxing exclusive tests (it was false in Bazel 6, but is true in Bazel 7+)
21+
# (otherise this causes some integration tests to fail)
22+
common --noincompatible_exclusive_test_sandboxed
23+
2024
# test environment does not propagate locales by default some tests reads files
2125
# written in UTF8, we need to propagate the correct environment variables, such
2226
# as LOCALE_ARCHIVE We also need to setup an utf8 locale

0 commit comments

Comments
 (0)