CMakeLists.txt 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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_FOUNDATION_TEST_SUPPORTED)
  9. ly_add_pytest(
  10. NAME AutomatedTesting::EditorTests_Main
  11. TEST_SUITE main
  12. TEST_SERIAL
  13. PATH ${CMAKE_CURRENT_LIST_DIR}/TestSuite_Main.py
  14. PYTEST_MARKS "not REQUIRES_gpu"
  15. RUNTIME_DEPENDENCIES
  16. Legacy::Editor
  17. AZ::AssetProcessor
  18. AutomatedTesting.Assets
  19. COMPONENT
  20. Editor
  21. )
  22. ly_add_pytest(
  23. NAME AutomatedTesting::EditorTests_DPE_Main
  24. TEST_SUITE main
  25. TEST_SERIAL
  26. PATH ${CMAKE_CURRENT_LIST_DIR}/TestSuite_DPE.py
  27. PYTEST_MARKS "not REQUIRES_gpu"
  28. RUNTIME_DEPENDENCIES
  29. Legacy::Editor
  30. AZ::AssetProcessor
  31. AutomatedTesting.Assets
  32. COMPONENT
  33. Editor
  34. )
  35. ly_add_pytest(
  36. NAME AutomatedTesting::EditorTests_Main_GPU_Optimized
  37. TEST_SUITE main
  38. TEST_SERIAL
  39. TEST_REQUIRES gpu
  40. PATH ${CMAKE_CURRENT_LIST_DIR}/TestSuite_Main.py
  41. PYTEST_MARKS "REQUIRES_gpu"
  42. RUNTIME_DEPENDENCIES
  43. Legacy::Editor
  44. AZ::AssetProcessor
  45. AutomatedTesting.Assets
  46. COMPONENT
  47. Editor
  48. )
  49. #ly_add_pytest(
  50. # NAME AutomatedTesting::EditorTests_Sandbox
  51. # TEST_SUITE sandbox
  52. # TEST_SERIAL
  53. # PATH ${CMAKE_CURRENT_LIST_DIR}/TestSuite_Sandbox.py
  54. # PYTEST_MARKS "not REQUIRES_gpu"
  55. # RUNTIME_DEPENDENCIES
  56. # Legacy::Editor
  57. # AZ::AssetProcessor
  58. # AutomatedTesting.Assets
  59. # COMPONENT
  60. # Editor
  61. #)
  62. endif()