-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- refresh GitHub Actions versions - manually install shUnit2 v2.1.8 - more portable usage check - run-all.sh exits on ctrl-c
- Loading branch information
Showing
5 changed files
with
36 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import subprocess | ||
|
||
with open("../../README.md", "r") as file: | ||
text_readme = file.read() | ||
|
||
text_help = subprocess.check_output(["../../bin/sv2v", "--help"]).decode() | ||
text_usage = "```\n" + "\n".join(text_help.split("\n")[2:-5]) + "\n```" | ||
|
||
if text_usage not in text_readme: | ||
raise RuntimeError(f"'{text_usage}' not found in '{text_readme}'") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#!/bin/bash | ||
|
||
trap exit INT | ||
|
||
cd `dirname "${BASH_SOURCE[0]}"` | ||
|
||
failures=0 | ||
|