CMakeLists.txt 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. if(PAL_TRAIT_BUILD_TESTS_SUPPORTED AND PAL_TRAIT_BUILD_HOST_TOOLS)
  8. set(SMOKETEST_FILTER "SUITE_smoke")
  9. ly_add_pytest(
  10. NAME AutomatedTesting::SmokeTest
  11. TEST_SUITE smoke
  12. PATH ${CMAKE_CURRENT_LIST_DIR}
  13. PYTEST_MARKS ${SMOKETEST_FILTER}
  14. RUNTIME_DEPENDENCIES
  15. AZ::AssetProcessor
  16. AZ::PythonBindingsExample
  17. Legacy::Editor
  18. AutomatedTesting.GameLauncher
  19. AutomatedTesting.Assets
  20. AZ::AzTestRunner
  21. AZ::AssetBundlerBatch
  22. ${additional_dependencies}
  23. COMPONENT
  24. Smoke
  25. )
  26. ly_add_pytest(
  27. NAME AutomatedTesting::SmokeTest_Sandbox
  28. TEST_SUITE sandbox
  29. TEST_SERIAL
  30. PATH ${CMAKE_CURRENT_LIST_DIR}
  31. PYTEST_MARKS "SUITE_sandbox"
  32. RUNTIME_DEPENDENCIES
  33. AZ::AssetProcessor
  34. )
  35. endif()