@@ -232,6 +232,63 @@ function test_bp2build_generates_all_buildfiles {
eval"${_save_trap}"
}
function test_build_files_take_precedence {
_save_trap=$(trap-p EXIT)
trap'[[ $? -ne 0 ]] && echo Are you running this locally? Try changing --sandbox_tmpfs_path to something other than /tmp/ in build/bazel/linux.bazelrc.' EXIT
_build_files_take_precedence
eval"${_save_trap}"
}
function _build_files_take_precedence {
setup
# This specific directory is hardcoded in bp2build as being one
# where the BUILD file should be intentionally kept.