summaryrefslogtreecommitdiff
path: root/test/end-to-end/built-in-rules/tree.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/end-to-end/built-in-rules/tree.sh')
-rwxr-xr-xtest/end-to-end/built-in-rules/tree.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/end-to-end/built-in-rules/tree.sh b/test/end-to-end/built-in-rules/tree.sh
index 68699eec..fd0cc957 100755
--- a/test/end-to-end/built-in-rules/tree.sh
+++ b/test/end-to-end/built-in-rules/tree.sh
@@ -16,6 +16,8 @@
set -e
+readonly LBRDIR="$TMPDIR/local-build-root"
+
touch ROOT
touch a.txt
@@ -27,7 +29,7 @@ cat <<'EOF' > TARGETS
EOF
bin/tool-under-test analyse \
- --dump-trees trees.json --dump-artifacts-to-build artifacts.json 2>&1
+ --local-build-root "$LBRDIR" --dump-trees trees.json --dump-artifacts-to-build artifacts.json 2>&1
echo
echo Artifacts
cat artifacts.json