CMakeLists.txt 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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(PAL_TRAIT_BUILD_TESTS_SUPPORTED AND PAL_TRAIT_BUILD_HOST_TOOLS AND PAL_TRAIT_LARGE_WORLDS_TEST_SUPPORTED)
  9. ## DynVeg ##
  10. ly_add_pytest(
  11. NAME AutomatedTesting::DynamicVegetationTests_Main_Optimized
  12. TEST_SERIAL
  13. TEST_SUITE main
  14. PATH ${CMAKE_CURRENT_LIST_DIR}/dyn_veg/TestSuite_Main.py
  15. RUNTIME_DEPENDENCIES
  16. AZ::AssetProcessor
  17. Legacy::Editor
  18. AutomatedTesting.Assets
  19. AutomatedTesting.GameLauncher
  20. COMPONENT
  21. LargeWorlds
  22. LABELS REQUIRES_tiaf
  23. )
  24. ly_add_pytest(
  25. NAME AutomatedTesting::DynamicVegetationTests_Periodic_Optimized
  26. TEST_SERIAL
  27. TEST_SUITE periodic
  28. PATH ${CMAKE_CURRENT_LIST_DIR}/dyn_veg/TestSuite_Periodic.py
  29. RUNTIME_DEPENDENCIES
  30. AZ::AssetProcessor
  31. Legacy::Editor
  32. AutomatedTesting.Assets
  33. AutomatedTesting.GameLauncher
  34. COMPONENT
  35. LargeWorlds
  36. )
  37. ## LandscapeCanvas ##
  38. ly_add_pytest(
  39. NAME AutomatedTesting::LandscapeCanvasTests_Main_Optimized
  40. TEST_SERIAL
  41. TEST_SUITE main
  42. PATH ${CMAKE_CURRENT_LIST_DIR}/landscape_canvas/TestSuite_Main.py
  43. RUNTIME_DEPENDENCIES
  44. AZ::AssetProcessor
  45. Legacy::Editor
  46. AutomatedTesting.Assets
  47. COMPONENT
  48. LargeWorlds
  49. LABELS REQUIRES_tiaf
  50. )
  51. ly_add_pytest(
  52. NAME AutomatedTesting::LandscapeCanvasTests_Sandbox_Optimized
  53. TEST_SERIAL
  54. TEST_SUITE sandbox
  55. PATH ${CMAKE_CURRENT_LIST_DIR}/landscape_canvas/TestSuite_Sandbox.py
  56. RUNTIME_DEPENDENCIES
  57. AZ::AssetProcessor
  58. Legacy::Editor
  59. AutomatedTesting.Assets
  60. COMPONENT
  61. LargeWorlds
  62. )
  63. ## GradientSignal ##
  64. ly_add_pytest(
  65. NAME AutomatedTesting::GradientSignalTests_Periodic_Optimized
  66. TEST_SERIAL
  67. TEST_SUITE periodic
  68. PATH ${CMAKE_CURRENT_LIST_DIR}/gradient_signal/TestSuite_Periodic.py
  69. RUNTIME_DEPENDENCIES
  70. AZ::AssetProcessor
  71. Legacy::Editor
  72. AutomatedTesting.Assets
  73. COMPONENT
  74. LargeWorlds
  75. )
  76. endif()