File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1919METRICS_CHECK_FMT = "{}/metadata-{}-check.log"
2020REGEX_ERROR = re .compile (r"^\[error ?(\w+-\d+)?\]" , re .IGNORECASE )
2121REGEX_WARNING = re .compile (r"^\[warning ?(\w+-\d+)?\]" , re .IGNORECASE )
22+ SKIPPED_FLOW_VARIANT_KEYWORDS = ["test" , "tune" ]
2223STATUS_GREEN = "Passing"
2324STATUS_RED = "Failing"
2425
@@ -248,7 +249,9 @@ def write_summary():
248249 dir_list = log_dir .split (os .sep )
249250 # Handles autotuner folders, which do not have `report.log` natively.
250251 # TODO: Can we log something for autotuner?
251- if len (dir_list ) != 4 or "test-" in dir_list [- 1 ]:
252+ if len (dir_list ) != 4 or any (
253+ word in dir_list [- 1 ] for word in SKIPPED_FLOW_VARIANT_KEYWORDS
254+ ):
252255 continue
253256 report_dir = log_dir .replace (LOGS_FOLDER , REPORTS_FOLDER )
254257
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ def setUp(self):
5151 f" --platform { self .platform } "
5252 f" --config { self .config } "
5353 f" --jobs { self .jobs } "
54- f" --experiment test_resume "
54+ f" --experiment test-resume "
5555 f" tune --iterations { self .iterations } --samples { self .samples } "
5656 f" --resources_per_trial { res_per_trial } "
5757 f" { c } "
You can’t perform that action at this time.
0 commit comments