Merge pull request #1377 from aws-lumberyard-dev/test_tools_example_test

Fixing test tools example test
This commit is contained in:
evanchia-ly-sdets
2021-06-21 09:34:25 -07:00
committed by GitHub
2 changed files with 15 additions and 3 deletions
+14
View File
@@ -56,4 +56,18 @@ if(PAL_TRAIT_BUILD_HOST_TOOLS AND PAL_TRAIT_BUILD_TESTS_SUPPORTED AND AutomatedT
AutomatedTesting.Assets
COMPONENT TestTools
)
# Example tests.
ly_add_pytest(
NAME LyTestTools_ExampleTests_periodic_no_gpu
PATH ${CMAKE_CURRENT_LIST_DIR}/example/test_system_example.py
TEST_SERIAL
TEST_SUITE periodic
RUNTIME_DEPENDENCIES
Legacy::Editor
AssetProcessor
AutomatedTesting.GameLauncher
AutomatedTesting.Assets
COMPONENT TestTools
)
endif()
@@ -80,9 +80,7 @@ class TestSystemExample(object):
with launcher.start():
remote_console.start()
launcher_load = remote_console.expect_log_line(
match_string='========================== '
'Finished loading textures '
'============================',
match_string='Level system is loading "simple_jacklocomotion"',
timeout=load_wait)
# Assert loading was successful using remote console logs: