test: fix and re-add bootimg analyze tests
Compare changes
Files
3- Caleb Connolly authored
Pmbootstrap finds all its host dependencies during init, ensure we do that for pytest too. Adapt require_programs() to use subprocess directly rather than have to solve the weird dependency chain of pmb.helpers.run which depends on the global context being initialised before it's usable. Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
+ 9
− 3
@@ -32,6 +32,7 @@ import pmb.chroot.zap
@@ -50,11 +51,16 @@ def require_programs() -> None: