Skip to content

Commit

Permalink
Fix: added -s:b arch=x86_64 to the install command too
Browse files Browse the repository at this point in the history
  • Loading branch information
franramirez688 committed Aug 28, 2023
1 parent 23d5f30 commit 613478e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conans/test/integration/settings/per_package_settings_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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"
Expand Down

0 comments on commit 613478e

Please sign in to comment.