Skip to content

Commit

Permalink
Add test to ensure &: syntax works in --requires install (conan-io#…
Browse files Browse the repository at this point in the history
…15258)

Add test to ensure &: syntax qorks in --requires install
  • Loading branch information
AbrilRBS authored Dec 12, 2023
1 parent 694b7d1 commit 032eefc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions conans/test/integration/options/test_package_config_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,11 @@ def test_test_package_consumers(self):
assert "pkg/0.1 (test package): shared (build): True" in c.out
assert "pkg/0.1 (test package): shared (test): True" in c.out

c.run("install --requires=dep/0.1 -o &:shared=True -b=missing")
assert "dep/0.1: shared (configure): True" in c.out
assert "dep/0.1: shared (requirements): True" in c.out
assert "dep/0.1: shared (build): True" in c.out

def test_test_package_non_consumers(self):
c = TestClient()
c.save({"dep/conanfile.py": dep,
Expand Down

0 comments on commit 032eefc

Please sign in to comment.