12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- #
- # 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
- #
- #
- if(NOT PAL_TRAIT_BUILD_TESTS_SUPPORTED OR NOT PAL_TRAIT_BUILD_HOST_TOOLS)
- return()
- endif()
- o3de_pal_dir(pal_dir ${CMAKE_CURRENT_LIST_DIR}/Platform/${PAL_PLATFORM_NAME} "${gem_restricted_path}" "${gem_path}" "${gem_parent_relative_path}")
- include(${pal_dir}/PAL_${PAL_PLATFORM_NAME_LOWERCASE}.cmake)
- if(PAL_TRAIT_EDITOR_LEVEL_PERF_DX12_TESTS_SUPPORTED)
- ly_add_pytest(
- NAME AutomatedTesting::EditorLevelLoadingPerfTests_DX12
- TEST_SUITE periodic
- TEST_REQUIRES gpu
- TEST_SERIAL
- PATH ${CMAKE_CURRENT_LIST_DIR}/TestSuite_Periodic_DX12.py
- RUNTIME_DEPENDENCIES
- Legacy::Editor
- AZ::AssetProcessor
- AutomatedTesting.Assets
- COMPONENT
- Performance
- )
- endif()
- if(PAL_TRAIT_EDITOR_LEVEL_PERF_VULKAN_TESTS_SUPPORTED)
- ly_add_pytest(
- NAME AutomatedTesting::EditorLevelLoadingPerfTests_Vulkan
- TEST_SUITE periodic
- TEST_REQUIRES gpu
- TEST_SERIAL
- PATH ${CMAKE_CURRENT_LIST_DIR}/TestSuite_Periodic_Vulkan.py
- RUNTIME_DEPENDENCIES
- Legacy::Editor
- AZ::AssetProcessor
- AutomatedTesting.Assets
- COMPONENT
- Performance
- )
- endif()
|