diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-11-25 12:47:37 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-11-27 13:00:07 +0100 |
commit | 009b4b4022bd11d26235d6bc6d4e0b90f152db0f (patch) | |
tree | 3404afa31b0b74075a7fd268f80d59c710e3102b /test/end-to-end | |
parent | 1645ca498679a555452dd201f8b636cc23c44b03 (diff) | |
download | justbuild-009b4b4022bd11d26235d6bc6d4e0b90f152db0f.tar.gz |
computed roots: enforce export targets of content-fixed repos
... and look up values in cache, if possible.
Diffstat (limited to 'test/end-to-end')
-rw-r--r-- | test/end-to-end/computed-roots/basic.sh | 2 | ||||
-rw-r--r-- | test/end-to-end/computed-roots/mr_computed_setup.sh | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/test/end-to-end/computed-roots/basic.sh b/test/end-to-end/computed-roots/basic.sh index 59470ef4..16e363c1 100644 --- a/test/end-to-end/computed-roots/basic.sh +++ b/test/end-to-end/computed-roots/basic.sh @@ -140,6 +140,6 @@ echo --log-limit 4 -f "${OUT}/log2" \ --main 'other derived' 2>&1 echo -grep '[Ee]xport.*from cache' "${OUT}/log2" +grep '[Rr]oot.*from cache' "${OUT}/log2" echo OK diff --git a/test/end-to-end/computed-roots/mr_computed_setup.sh b/test/end-to-end/computed-roots/mr_computed_setup.sh index 02b2e0ce..47b17e42 100644 --- a/test/end-to-end/computed-roots/mr_computed_setup.sh +++ b/test/end-to-end/computed-roots/mr_computed_setup.sh @@ -73,6 +73,7 @@ cat > repo-config.json <<EOF { "repository": { "type": "file" , "path": "${BASE_ROOT}" + , "pragma": {"to_git": true} } } , "derived": @@ -127,4 +128,4 @@ echo [ "$(cat "${OUT}/other-derived/out" | wc -l)" -eq 78 ] -echo OK
\ No newline at end of file +echo OK |