summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2025-06-05 15:54:11 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2025-06-05 16:40:35 +0200
commit960621278dfa8e66bde29025f500de1c4eb4d472 (patch)
tree6db375eb9272913485fff11a362360f60075f574
parent4757cc55cbd708f39c5f09de3d6be327b7b11fef (diff)
downloadjustbuild-960621278dfa8e66bde29025f500de1c4eb4d472.tar.gz
test ["end-to-end/git-import", "computed"]: move to subdir
This test uses a file repository at "." with the "to_git" pragma. Now, if we build the tool to be tested in debug mode, the sources end up in the test's action directory. If we take the work dir of the simulated use case top level, all these sources end up unnecessarily in the workspace root of the test repo. Avoid this overhead by moving to a subdirectory.
-rw-r--r--test/end-to-end/git-import/computed.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/end-to-end/git-import/computed.sh b/test/end-to-end/git-import/computed.sh
index fec00e56..8877472c 100644
--- a/test/end-to-end/git-import/computed.sh
+++ b/test/end-to-end/git-import/computed.sh
@@ -23,7 +23,7 @@ readonly JUST_MR="${PWD}/bin/mr-tool-under-test"
readonly LBR="${TEST_TMPDIR}/local-build-root"
readonly OUT="${TEST_TMPDIR}/build-output"
readonly REPO_DIRS="${TEST_TMPDIR}/repos"
-readonly WRKDIR="${PWD}"
+readonly WRKDIR="${PWD}/work"
# Set up repo foo
mkdir -p "${REPO_DIRS}/foo/src"