mirror of
https://github.com/LTTLabsOSS/markbench-tests.git
synced 2026-01-10 06:28:05 -05:00
Merge branch 'jd/harnessfixings' of https://github.com/LTTLabsOSS/markbench-tests into jd/harnessfixings
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user