Skip to content

Commit 26b83ff

Browse files
vs/fix split errors (#1031)
* vs/fix split errors * vs/changed to Global
1 parent 7c8998b commit 26b83ff

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

manifests/testkey.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
NUM_FUNCTIONAL_SPLITS = 2
1010
MAX_DEPTH = 5
1111
SUITE_TUPLE_RE = re.compile(r'\s+return \("S?(\d+)", ?".*"\)')
12+
DEFAULT_FUNCTIONAL_SPLIT = "functional1"
1213

1314

1415
def sysname():
@@ -66,7 +67,7 @@ def get_subtests(entry: dict) -> list:
6667
def clean_prompt(prompt: str) -> str:
6768
"""Clean up prompts"""
6869
if prompt[0].islower():
69-
prompt[0] = prompt[0].upper()
70+
prompt = prompt[0].upper() + prompt[1:]
7071
if "?" not in prompt:
7172
prompt = prompt.strip() + "? "
7273
if not prompt.endswith(" "):
@@ -383,7 +384,7 @@ def addtests(self, interactive=True):
383384
"Should this test run in a Scheduled Functional split? "
384385
"(Say no if unsure.) "
385386
):
386-
newkey[suite][testfile]["splits"] = ["functional1"]
387+
newkey[suite][testfile]["splits"] = [DEFAULT_FUNCTIONAL_SPLIT]
387388
self.rebalance_functionals()
388389

389390
print(

0 commit comments

Comments
 (0)