test/test_pkgrel_bump: make sure pmb doesn't cross compile When build_default_device_arch is set in your local pmbootstrap config, some tests fail because pmbootstrap tries to cross compile. Make sure this option is disabled in the test context. Signed-off-by: Caleb Connolly <kc@postmarketos.org>
1 files changed, 3 insertions(+), 0 deletions(-) M test/test_pkgrel_bump.py
M test/test_pkgrel_bump.py => test/test_pkgrel_bump.py +3 -0
@@ 128,6 128,9 @@ def test_pkgrel_bump_high_level(args, tmpdir): tmpdir = str(tmpdir) setup_work(args, tmpdir) # Make sure we don't try and cross compile pmbootstrap(args, tmpdir, ["config", "build_default_device_arch", "False"]) # Let pkgrel_bump exit normally pmbootstrap(args, tmpdir, ["build", "testlib", "testapp", "testsubpkg"]) pmbootstrap(args, tmpdir, ["pkgrel_bump", "--dry", "--auto"])