diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-11-22 12:34:22 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-11-22 12:34:22 +0100 |
commit | 78bfcb6e6c31670d2188235c4acef047999cfc4e (patch) | |
tree | cbfeb62097afc35c93eac0d9fdc1e4078a5a2360 /test | |
parent | 03e921a289bb0e19f3841ed351a270602290e97a (diff) | |
download | justbuild-78bfcb6e6c31670d2188235c4acef047999cfc4e.tar.gz |
Test ["end-to-end/gc", "export"]: fix workspace layout
This end-to-end test, of course, depends on the tools, provided
inside the test's working directory. The test, being end to end,
constructs a workspace with multi-repository configuration with
the main repo a file repsoitory at the root of the constructed
work space; to be able to test exporting this repository has pragma
"to_git". Move the constructed work space to sub directory to not
include the tools to be tested in the work space that is gitified;
one the one hand, the tested tools should not be part of the test
workspace and on the other hand, this shaves off a large fraction
of the test's run time.
Diffstat (limited to 'test')
-rw-r--r-- | test/end-to-end/gc/export.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/end-to-end/gc/export.sh b/test/end-to-end/gc/export.sh index 15b151ef..87ec32fd 100644 --- a/test/end-to-end/gc/export.sh +++ b/test/end-to-end/gc/export.sh @@ -39,6 +39,8 @@ echo -n World > $1/hello/world/tree/name.txt EOF chmod 755 "${TOOLS_DIR}/tree" +mkdir work +cd work touch WORKSPACE cat > TARGETS <<'EOF' |