From 44f73650e88128cb3d62ae58a4b4cc4c88143edb Mon Sep 17 00:00:00 2001 From: Jon Seager Date: Wed, 17 Apr 2024 10:32:49 +0100 Subject: [PATCH] craft-parts: skip failing tests on aarch64 --- pkgs/development/python-modules/craft-parts/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/craft-parts/default.nix b/pkgs/development/python-modules/craft-parts/default.nix index f252a82062bd..d340f784b431 100644 --- a/pkgs/development/python-modules/craft-parts/default.nix +++ b/pkgs/development/python-modules/craft-parts/default.nix @@ -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 { };