Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions manifests/testkey.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
NUM_FUNCTIONAL_SPLITS = 2
MAX_DEPTH = 5
SUITE_TUPLE_RE = re.compile(r'\s+return \("S?(\d+)", ?".*"\)')
DEFAULT_FUNCTIONAL_SPLIT = "functional1"


def sysname():
Expand Down Expand Up @@ -66,7 +67,7 @@ def get_subtests(entry: dict) -> list:
def clean_prompt(prompt: str) -> str:
"""Clean up prompts"""
if prompt[0].islower():
prompt[0] = prompt[0].upper()
prompt = prompt[0].upper() + prompt[1:]
if "?" not in prompt:
prompt = prompt.strip() + "? "
if not prompt.endswith(" "):
Expand Down Expand Up @@ -383,7 +384,7 @@ def addtests(self, interactive=True):
"Should this test run in a Scheduled Functional split? "
"(Say no if unsure.) "
):
newkey[suite][testfile]["splits"] = ["functional1"]
newkey[suite][testfile]["splits"] = [DEFAULT_FUNCTIONAL_SPLIT]
self.rebalance_functionals()

print(
Expand Down