craft-parts: skip failing tests on aarch64

This commit is contained in:
Jon Seager 2024-04-17 10:32:49 +01:00
parent 5ed8afee5e
commit 44f73650e8
No known key found for this signature in database

View File

@ -21,6 +21,7 @@
, squashfsTools
, setuptools
, setuptools-scm
, stdenv
}:
buildPythonPackage rec {
@ -103,6 +104,10 @@ buildPythonPackage rec {
"tests/unit/packages/test_apt_cache.py"
"tests/unit/packages/test_deb.py"
"tests/unit/packages/test_chisel.py"
] ++ lib.optionals stdenv.isAarch64 [
# These tests have hardcoded "amd64" strings which fail on aarch64
"tests/unit/executor/test_environment.py"
"tests/unit/features/overlay/test_executor_environment.py"
];
passthru.updateScript = nix-update-script { };