Skip to content

Commit 624df07

Browse files
author
yi.wu
committed
add usage
1 parent f215a78 commit 624df07

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tools/check_ctest_hung.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@ def escape(input):
2323

2424

2525
def main():
26+
usage = """Usage:
27+
1. Download the Paddle_PR_CI_*.log from TeamCity
28+
2. run: python check_ctest_hung.py Paddle_PR_CI_*.log
29+
3. If there is hung ctest, the result likes:
30+
Diff: set(['test_parallel_executor_crf'])
31+
"""
32+
if len(sys.argv) < 2:
33+
print(usage)
34+
exit(0)
35+
2636
logfile = sys.argv[1]
2737
started = set()
2838
passed = set()

0 commit comments

Comments
 (0)