Fixing test tools example test

This commit is contained in:
evanchia
2021-06-16 15:08:54 -07:00
parent dd95d2b02e
commit 3310110b9a
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: