From 613478e64b4b9e635d7d7c6836b2d09cff11568e Mon Sep 17 00:00:00 2001 From: Francisco Ramirez de Anton Date: Mon, 28 Aug 2023 11:47:03 +0200 Subject: [PATCH] Fix: added -s:b arch=x86_64 to the install command too --- conans/test/integration/settings/per_package_settings_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conans/test/integration/settings/per_package_settings_test.py b/conans/test/integration/settings/per_package_settings_test.py index cd0aef2385e..e6ec0b974a5 100644 --- a/conans/test/integration/settings/per_package_settings_test.py +++ b/conans/test/integration/settings/per_package_settings_test.py @@ -119,7 +119,7 @@ def package_id(self): c.run("create . -s:b arch=x86_64 -s:h arch=armv7 --build-require") pkg_id = c.created_package_id("gcc/0.1") - c.run("install --tool-requires=gcc/0.1 -s arch=armv8 -s:h gcc*:arch=armv7") + c.run("install --tool-requires=gcc/0.1 -s:b arch=x86_64 -s arch=armv8 -s:h gcc*:arch=armv7") # it will not fail due to armv8, but use the binary for armv7 c.assert_listed_binary({"gcc/0.1": (pkg_id, "Cache")}, build=True) @@ -128,7 +128,7 @@ def test_per_package_settings_build(): c = TestClient() cmake = textwrap.dedent(""" from conan import ConanFile - + class Pkg(ConanFile): name = "cmake" version = "0.1"