mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
auto_mark_test uses regex to check Run tests? sequentially
This commit is contained in:
1 parent
314a61562c
commit
133bdf655e
1 file changed
+2
-1
@@ -24,6 +24,7 @@ Manual workflow:
|
||||
|
||||
import argparse
|
||||
import ast
|
||||
import re
|
||||
import shutil
|
||||
import sys
|
||||
from pathlib import Path
|
||||
@@ -82,7 +83,7 @@ def parse_results(result):
|
||||
test_results.stdout = result.stdout
|
||||
in_test_results = False
|
||||
for line in lines:
|
||||
if line == "Run tests sequentially":
|
||||
if re.match(r"Run tests? sequentially", line):
|
||||
in_test_results = True
|
||||
elif line.startswith("-----------"):
|
||||
in_test_results = False
|
||||
|
||||
Reference in new issue
Block a user