This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop' into shhs
- Loading branch information
Showing
217 changed files
with
9,022 additions
and
2,242 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,33 @@ | ||
import sys | ||
from tap.parser import Parser | ||
from tap.line import Result, Unknown, Diagnostic | ||
|
||
out = ["### TAP Output for " + sys.argv[2]] | ||
|
||
p = Parser() | ||
|
||
in_error = False | ||
|
||
for line in p.parse_file(sys.argv[1]): | ||
if isinstance(line, Result): | ||
if in_error: | ||
out.append("") | ||
out.append("</pre></code></details>") | ||
out.append("") | ||
out.append("----") | ||
out.append("") | ||
in_error = False | ||
|
||
if not line.ok and not line.todo: | ||
in_error = True | ||
|
||
out.append("FAILURE Test #%d: ``%s``" % (line.number, line.description)) | ||
out.append("") | ||
out.append("<details><summary>Show log</summary><code><pre>") | ||
|
||
elif isinstance(line, Diagnostic) and in_error: | ||
out.append(line.text) | ||
|
||
if out: | ||
for line in out[:-3]: | ||
print(line) |
17 changes: 8 additions & 9 deletions
17
.circleci/merge_base_branch.sh → .buildkite/merge_base_branch.sh
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
Oops, something went wrong.