1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- #
- # Copyright (c) Contributors to the Open 3D Engine Project.
- # For complete copyright and license terms please see the LICENSE at the root of this distribution.
- #
- # SPDX-License-Identifier: Apache-2.0 OR MIT
- #
- #
- # LyTestTools tests.
- #
- # Unit tests.
- ly_add_pytest(
- NAME LyTestTools_Unit
- TEST_SUITE smoke
- PATH ${CMAKE_CURRENT_LIST_DIR}/unit/
- COMPONENT TestTools
- )
- get_property(O3DE_PROJECTS_NAME GLOBAL PROPERTY O3DE_PROJECTS_NAME)
- if(PAL_TRAIT_BUILD_HOST_TOOLS AND PAL_TRAIT_BUILD_TESTS_SUPPORTED AND AutomatedTesting IN_LIST O3DE_PROJECTS_NAME)
- # Integration tests.
- ly_add_pytest(
- NAME LyTestTools_Integ_Sanity
- PATH ${CMAKE_CURRENT_LIST_DIR}/integ/sanity_tests.py
- TEST_SERIAL
- TEST_SUITE smoke
- RUNTIME_DEPENDENCIES
- Legacy::Editor
- AssetProcessor
- AutomatedTesting.GameLauncher
- AutomatedTesting.ServerLauncher
- AutomatedTesting.Assets
- COMPONENT TestTools
- )
- ly_add_pytest(
- NAME LyTestTools_Integ_Codeowners
- PATH ${CMAKE_CURRENT_LIST_DIR}/integ/test_o3de_codeowners.py
- TEST_SUITE smoke
- COMPONENT TestTools
- )
- ly_add_pytest(
- NAME LyTestTools_Integ_ProcessUtils
- PATH ${CMAKE_CURRENT_LIST_DIR}/integ/test_process_utils.py
- TEST_SERIAL
- TEST_SUITE smoke
- COMPONENT TestTools
- )
-
- ly_add_pytest(
- NAME LyTestTools_Integ_ProcessUtilsLinux
- PATH ${CMAKE_CURRENT_LIST_DIR}/integ/test_process_utils_linux.py
- TEST_SERIAL
- TEST_SUITE smoke
- COMPONENT TestTools
- )
- # Regression tests.
- ly_add_pytest(
- NAME LyTestTools_Integ_RegressionTests
- PATH ${CMAKE_CURRENT_LIST_DIR}/integ/test_regression.py
- TEST_SERIAL
- TEST_SUITE periodic
- RUNTIME_DEPENDENCIES
- Legacy::Editor
- AssetProcessor
- AutomatedTesting.GameLauncher
- AutomatedTesting.Assets
- COMPONENT TestTools
- )
- endif()
|