From d801ef3958ca1c9e195b14bb0835c69aeebad711 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 14 Nov 2023 08:26:06 +0100 Subject: [PATCH] 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. --- tools/gen-stage-test-diff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gen-stage-test-diff b/tools/gen-stage-test-diff index 0fcd73fe..16203881 100755 --- a/tools/gen-stage-test-diff +++ b/tools/gen-stage-test-diff @@ -8,7 +8,7 @@ import tempfile def run_osbuild(output_directory, store, cache_max_size, libdir, manifest): args = [ - "osbuild", + "python3", "-m", "osbuild", "--export", "tree", "--output-directory",