CMakeLists.txt 932 B

12345678910111213141516171819202122232425262728
  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. o3de_pal_dir(pal_dir ${CMAKE_CURRENT_LIST_DIR}/Platform/${PAL_PLATFORM_NAME} "${gem_restricted_path}" "${gem_path}" "${gem_parent_relative_path}")
  9. include(${pal_dir}/PAL_${PAL_PLATFORM_NAME_LOWERCASE}.cmake) # for PAL_TRAIT_WHITEBOX Traits
  10. if(PAL_TRAIT_WHITEBOX_TESTS_SUPPORTED AND PAL_TRAIT_BUILD_TESTS_SUPPORTED AND PAL_TRAIT_BUILD_HOST_TOOLS)
  11. ly_add_pytest(
  12. NAME AutomatedTesting::WhiteBoxTests
  13. TEST_SUITE main
  14. TEST_SERIAL
  15. PATH ${CMAKE_CURRENT_LIST_DIR}/TestSuite_Main.py
  16. RUNTIME_DEPENDENCIES
  17. Legacy::Editor
  18. AZ::AssetProcessor
  19. AutomatedTesting.Assets
  20. COMPONENT
  21. WhiteBox
  22. LABELS REQUIRES_tiaf
  23. )
  24. endif()