generate-test-cases: don't build images unless we intend to run image-info
For tarballs, this is currently not supported, so no point in generating the images in the first place. This will still be done during testing to boot-test them. Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
2486f329e4
commit
2220a76acf
1 changed files with 3 additions and 3 deletions
|
|
@ -62,10 +62,10 @@ def main(compose_request, store):
|
|||
"checksums": rpmmd["checksums"]
|
||||
}
|
||||
|
||||
output_id = run_osbuild(test_case["manifest"], store)
|
||||
image_file = os.path.join(store, "refs", output_id, compose_request["filename"])
|
||||
|
||||
if boot != "nspawn-extract":
|
||||
output_id = run_osbuild(test_case["manifest"], store)
|
||||
image_file = os.path.join(store, "refs", output_id, compose_request["filename"])
|
||||
|
||||
# we don't yet support image-info on directory trees
|
||||
if boot == "qemu-extract":
|
||||
fn, ex = os.path.splitext(image_file)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue