debian-forge/test
Ondřej Budai 06db7834f9 test/assemblers: use one osbuild executor for all qemu and tar tests
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
2020-07-27 13:18:40 +01:00
..
data test: use a dummy pipeline when testing assemblers 2020-07-21 10:25:47 +02:00
external-repos ⚙ Bring over CI improvements from osbuild-composer 2020-07-14 13:05:18 +02:00
mod test/api: add build root integration check 2020-07-27 12:50:38 +01:00
pipelines test: move all test manifests to get fedora packages from kernel mirrors 2020-06-07 22:08:34 +02:00
run test/assemblers: use one osbuild executor for all qemu and tar tests 2020-07-27 13:18:40 +01:00
src test: make TestBase inherit unittest.TestCase 2020-06-05 09:27:40 +02:00
.gitignore introduce testing script 2019-07-09 10:29:48 +02:00
__init__.py osbuild: add description() methods 2019-08-07 10:01:17 +02:00
test.py osbuild: replace capture_output in subprocess.run 2020-06-09 13:42:35 +02:00