Skip to content

Commit

Permalink
Support Darwin for tests
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Larson <kergoth@gmail.com>
  • Loading branch information
kergoth committed Aug 27, 2024
1 parent 4effed8 commit 7a0cbad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def convert_command(tag: str) -> str:
f"Add-Content -Path '$dest' -Value {tag} -NoNewline"
'"'
)
elif system == "Linux":
elif system == "Linux" or system == "Darwin":
return f"bash -c \"cp '$source' '$dest'; printf {tag} >> '$dest'\""
else:
raise Exception(f"Unsupported system: {system}")

0 comments on commit 7a0cbad

Please sign in to comment.