mirror of
https://github.com/LTTLabsOSS/markbench-tests.git
synced 2026-04-24 03:01:09 -04:00
fix
This commit is contained in:
@@ -81,7 +81,7 @@ class ArtifactManager:
|
||||
The newly created artifact's `type` and `description` fields are set to the given
|
||||
`artifact_type` and `description` arguments respectively while the artifact's `filename`
|
||||
is set to the basename of `src`.
|
||||
|
||||
|
||||
Raises a `ValueError` if `src` points to a directory instead of a file.
|
||||
"""
|
||||
src_path = Path(src)
|
||||
@@ -108,7 +108,7 @@ class ArtifactManager:
|
||||
The newly created artifact's `filename`, `type` and `description` fields are set to the
|
||||
given `filename`, `artifact_type` and `description` arguments respectively.
|
||||
|
||||
Raises a `ValueError` if `artifact_type` is not one of the `ArtifactType` values which represents an image.
|
||||
Raises a `ValueError` if `artifact_type` is not one of the `ArtifactType` values which represents an image.
|
||||
"""
|
||||
if artifact_type not in _IMAGE_ARTIFACT_TYPES:
|
||||
raise ValueError("artifact_type should be a type that represents an image artifact")
|
||||
|
||||
@@ -39,8 +39,15 @@ def run_benchmark():
|
||||
setup_start_time = int(time.time())
|
||||
exec_steam_run_command(STEAM_GAME_ID)
|
||||
am = ArtifactManager(LOG_DIRECTORY)
|
||||
|
||||
time.sleep(80)
|
||||
|
||||
# patch to look for seasonal popup
|
||||
result = kerasService.look_for_word_vulkan("strange", attempts=30, interval=1)
|
||||
if result:
|
||||
user.press("enter")
|
||||
time.sleep(3)
|
||||
|
||||
# Press Z to enter settings
|
||||
result = kerasService.look_for_word_vulkan("settings", attempts=30, interval=1)
|
||||
if not result:
|
||||
|
||||
Reference in New Issue
Block a user