Merge pull request #1533 from aws-lumberyard-dev/Atom/jromnoa/ATOM-15840-fix-nightly-gpu-test-to-use-correct-calls
ATOM-15840: fixes the nightly Atom GPU test
This commit is contained in:
+2
-2
@@ -99,8 +99,8 @@ def run():
|
||||
# Wait for Editor idle loop before executing Python hydra scripts.
|
||||
general.idle_enable(True)
|
||||
|
||||
# Create a new level.
|
||||
new_level_name = "all_components_indepth_level" # Specified in class TestAllComponentsIndepthTests()
|
||||
# Open the auto_test level.
|
||||
new_level_name = "auto_test" # Specified in class TestAllComponentsIndepthTests()
|
||||
heightmap_resolution = 512
|
||||
heightmap_meters_per_pixel = 1
|
||||
terrain_texture_resolution = 412
|
||||
|
||||
@@ -17,6 +17,7 @@ import os
|
||||
import pytest
|
||||
|
||||
import ly_test_tools.environment.file_system as file_system
|
||||
from ly_test_tools.image.screenshot_compare_qssim import qssim as compare_screenshots
|
||||
import editor_python_test_tools.hydra_test_utils as hydra
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
@@ -81,7 +82,9 @@ class TestAllComponentsIndepthTests(object):
|
||||
unexpected_lines=unexpected_lines,
|
||||
halt_on_unexpected=True,
|
||||
cfg_args=[level],
|
||||
auto_test_mode=False,
|
||||
null_renderer=False,
|
||||
)
|
||||
|
||||
for test_screenshot, golden_screenshot in zip(test_screenshots, golden_images):
|
||||
self.compare_screenshots(test_screenshot, golden_screenshot)
|
||||
compare_screenshots(test_screenshot, golden_screenshot)
|
||||
|
||||
Reference in New Issue
Block a user