CMakeLists.txt 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #
  2. # Copyright (c) Contributors to the Open 3D Engine Project.
  3. # For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. #
  5. # SPDX-License-Identifier: Apache-2.0 OR MIT
  6. #
  7. #
  8. if(NOT PAL_TRAIT_BUILD_TESTS_SUPPORTED OR NOT PAL_TRAIT_BUILD_HOST_TOOLS)
  9. return()
  10. endif()
  11. o3de_pal_dir(pal_dir ${CMAKE_CURRENT_LIST_DIR}/Platform/${PAL_PLATFORM_NAME} "${gem_restricted_path}" "${gem_path}" "${gem_parent_relative_path}")
  12. include(${pal_dir}/PAL_${PAL_PLATFORM_NAME_LOWERCASE}.cmake)
  13. if(PAL_TRAIT_EDITOR_LEVEL_PERF_DX12_TESTS_SUPPORTED)
  14. ly_add_pytest(
  15. NAME AutomatedTesting::EditorLevelLoadingPerfTests_DX12
  16. TEST_SUITE periodic
  17. TEST_REQUIRES gpu
  18. TEST_SERIAL
  19. PATH ${CMAKE_CURRENT_LIST_DIR}/TestSuite_Periodic_DX12.py
  20. RUNTIME_DEPENDENCIES
  21. Legacy::Editor
  22. AZ::AssetProcessor
  23. AutomatedTesting.Assets
  24. COMPONENT
  25. Performance
  26. )
  27. endif()
  28. if(PAL_TRAIT_EDITOR_LEVEL_PERF_VULKAN_TESTS_SUPPORTED)
  29. ly_add_pytest(
  30. NAME AutomatedTesting::EditorLevelLoadingPerfTests_Vulkan
  31. TEST_SUITE periodic
  32. TEST_REQUIRES gpu
  33. TEST_SERIAL
  34. PATH ${CMAKE_CURRENT_LIST_DIR}/TestSuite_Periodic_Vulkan.py
  35. RUNTIME_DEPENDENCIES
  36. Legacy::Editor
  37. AZ::AssetProcessor
  38. AutomatedTesting.Assets
  39. COMPONENT
  40. Performance
  41. )
  42. endif()