tests: run osbuild as a python module in gen-stage-test-diff
Instead of running osbuild as a binary use `python3 -m osbuild` (just like in `test/test.py:compile()`) so that it will use osbuild fromgit and can be run from a checkout without the need for an installed osbuild.
This commit is contained in:
parent
742291eac3
commit
d801ef3958
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ import tempfile
|
||||||
|
|
||||||
def run_osbuild(output_directory, store, cache_max_size, libdir, manifest):
|
def run_osbuild(output_directory, store, cache_max_size, libdir, manifest):
|
||||||
args = [
|
args = [
|
||||||
"osbuild",
|
"python3", "-m", "osbuild",
|
||||||
"--export",
|
"--export",
|
||||||
"tree",
|
"tree",
|
||||||
"--output-directory",
|
"--output-directory",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue