test: use and require explicit exports
Require all the tests that compile a manifest to either specify checkpoints or exports. Convert all the tests that were relying on implicit exports with v1 manifests to use explicit exports.
This commit is contained in:
parent
22d1d46ec1
commit
7ae4a7e785
4 changed files with 22 additions and 12 deletions
|
|
@ -288,6 +288,9 @@ class OSBuild(contextlib.AbstractContextManager):
|
|||
Returns the build result as dictionary.
|
||||
"""
|
||||
|
||||
if checkpoints is None and exports is None:
|
||||
raise ValueError("Need `checkpoints` or `exports` argument")
|
||||
|
||||
if output_dir is None:
|
||||
output_dir_context = tempfile.TemporaryDirectory(dir="/var/tmp")
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue