Skip to content

Commit

Permalink
more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Apr 26, 2023
1 parent dce3fe7 commit 836e4df
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,14 @@ def _test_default_outputs_impl(env, target):

action = env.expect.that_target(target).action_generating(subject_path)
action.mnemonic().equals("CppTransitiveArchive")
action.argv().contains_exactly([])

action_env = action.env()
action_env.contains_at_least({"MY_KEY": "my_value"})
action_env.keys().contains("PATH")

argv = action.argv()
argv.contains("abc")
argv.contains_at_least([file.path for file in action.actual.inputs.to_list() if file.basename.endswith(".o")]).in_order()

def analysis_test_suite(name):
test_suite(
Expand Down

0 comments on commit 836e4df

Please sign in to comment.