Skip to content

Commit

Permalink
capture build order
Browse files Browse the repository at this point in the history
  • Loading branch information
jcar87 committed Jan 27, 2025
1 parent 351433c commit 0eab008
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/integration/command_v2/test_info_build_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -863,8 +863,10 @@ def build_requirements(self):
# Build requirements
# foo/1.0#2c8d42f07f71e5078b3a014293f244eb:4e2ae338231ae18d0d43b9e119404d2b2c416758 - Build
c.run(
'graph build-order --require=foo/1.0 --require=bar/1.0 --profile:all profile -s "foo/*:compiler.cppstd=17" --build=missing --order-by=configuration',
'graph build-order --require=foo/1.0 --require=bar/1.0 --profile:all profile -s "foo/*:compiler.cppstd=17" --build=missing --order-by=configuration --format=json',
redirect_stdout="build_order.json"
)
build_order = json.loads(c.load("build_order.json"))

# Build order:
# - "--require/bar.1.0" and "require=foo/1.0" and --build="missing:foo/*" --build="missing:bar/*"
Expand Down

0 comments on commit 0eab008

Please sign in to comment.