Merge branch 'jd/harnessfixings' of https://github.com/LTTLabsOSS/markbench-tests into jd/harnessfixings

This commit is contained in:
J-Doiron
2025-09-24 15:55:01 -07:00
3 changed files with 5 additions and 5 deletions

View File

@@ -40,6 +40,7 @@ intro_videos = [
os.path.join(VIDEO_PATH, "attract.bk2"),
os.path.join(VIDEO_PATH, "cm_f1_sting.bk2")
]
user.FAILSAFE = False
def find_latest_result_file(base_path):

View File

@@ -106,7 +106,7 @@ def run_blender_render(executable_path: Path, log_directory: Path, device: str,
subprocess.run(cmd_line, stdout=f_obj, text=True, check=True)
# example: Time: 02:59.57 (Saving: 00:00.16)
time_regex = r"Time: (.*) \(Saving.*\)"
time_regex = r".*Time:\s+([\d:.]+)\s+\(Saving.*\)"
time = None
with open(blend_log, 'r', encoding="utf-8") as file:

View File

@@ -85,10 +85,9 @@ def navigate_settings() -> None:
am.take_screenshot("graphics_1.png", ArtifactType.CONFIG_IMAGE, "graphics menu 1")
user.press("down")
rast = kerasService.wait_for_word("view", interval=1, timeout=2)
if rast:
press_n_times("up", 2, 0.2) #gets you to film grain
time.sleep(0.5)
user.press("down") #gets you to film grain
time.sleep(0.5)
dlss = kerasService.wait_for_word("dlss", interval=1, timeout=2)
if dlss: