diff options
author | Darius Makovsky <traveltissues@protonmail.com> | 2019-10-24 11:28:27 +0100 |
---|---|---|
committer | Darius Makovsky <traveltissues@protonmail.com> | 2019-10-28 12:54:49 +0000 |
commit | a0b4ac612e27fef0102ae8fcf42a1360532328b6 (patch) | |
tree | b405177d627088b41af48b46831f63b1f6d4412c | |
parent | a38df13b15b6d5c1610b53a5bd7e6f966a0d9000 (diff) | |
download | buildstream-a0b4ac612e27fef0102ae8fcf42a1360532328b6.tar.gz |
tests: local sources are cachedtraveltissues/1161-local
-rw-r--r-- | tests/sourcecache/staging.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/sourcecache/staging.py b/tests/sourcecache/staging.py index 186a4bd9f..d7254b1ae 100644 --- a/tests/sourcecache/staging.py +++ b/tests/sourcecache/staging.py @@ -138,7 +138,8 @@ def test_staged_source_build(tmpdir, datafiles, cli): element = project.load_elements(["import-dev.bst"])[0] # check consistency of the source - assert not element._source_cached() + # local sources set BST_NO_PRESTAGE_KEY so this is cached + assert element._source_cached() res = cli.run(project=project_dir, args=['build', 'target.bst']) res.assert_success() |