This way the test can benefit from osbuild's internal cache: The first subtest builds all the stages and runs the assembler The next subtests can reuse the built stages and just run the assembler Some data from my machine running the qemu test: Building the manifest takes about 120 seconds Running just the assembler on the cache's content takes 30 seconds. Before this change, the whole manifest was built 3 times: 3 * 120 = 360 seconds After this change, the whole manifest is built once and the cache is reused 2 times: 1 * 120 + 2 * 30 = 180 seconds |
||
|---|---|---|
| .. | ||
| data | ||
| external-repos | ||
| mod | ||
| pipelines | ||
| run | ||
| src | ||
| .gitignore | ||
| __init__.py | ||
| test.py | ||