tests: remove obsolete code to create custom build directories

We now do in fact do this and decide this.

Change-Id: I6a6a69643af2449370df001f8be787eba889b857
This commit is contained in:
Emily
2025-08-18 09:27:31 +00:00
committed by emilazy
parent 6aedc0ee70
commit 246f0eed82
-3
View File
@@ -37,9 +37,6 @@ if checkBuildTempDirRemoved $TEST_ROOT/log; then false; fi
test_custom_build_dir() {
local customBuildDir="$TEST_ROOT/custom-build-dir"
# Nix does not create the parent directories, and perhaps it shouldn't try to
# decide the permissions of build-dir.
mkdir "$customBuildDir"
nix-build check.nix -A failed --argstr checkBuildId $checkBuildId \
--no-out-link --keep-failed --option build-dir "$TEST_ROOT/custom-build-dir" 2> $TEST_ROOT/log || status=$?
[ "$status" = "100" ]