File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 99NUM_FUNCTIONAL_SPLITS = 2
1010MAX_DEPTH = 5
1111SUITE_TUPLE_RE = re .compile (r'\s+return \("S?(\d+)", ?".*"\)' )
12+ DEFAULT_FUNCTIONAL_SPLIT = "functional1"
1213
1314
1415def sysname ():
@@ -66,7 +67,7 @@ def get_subtests(entry: dict) -> list:
6667def 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 (
You can’t perform that action at this time.
0 commit comments