CMakeLists.txt 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. ################################################################################
  9. # Automated Tests
  10. ################################################################################
  11. if(PAL_TRAIT_BUILD_HOST_TOOLS AND PAL_TRAIT_BUILD_TESTS_SUPPORTED)
  12. ly_add_pytest(
  13. NAME AtomSampleViewer::PythonMainTests
  14. PATH ${CMAKE_CURRENT_LIST_DIR}/Automated/test_AtomSampleViewer_main_suite.py
  15. TEST_REQUIRES gpu
  16. TEST_SUITE main
  17. TEST_SERIAL
  18. TIMEOUT 1200
  19. RUNTIME_DEPENDENCIES
  20. AssetProcessor
  21. AssetProcessorBatch
  22. AtomSampleViewerStandalone
  23. AtomSampleViewer.GameLauncher
  24. AtomSampleViewer.Assets
  25. )
  26. ly_add_pytest(
  27. NAME AtomSampleViewer::PeriodicPerformanceBenchmarks
  28. PATH ${CMAKE_CURRENT_LIST_DIR}/Automated/benchmark_runner_periodic_suite.py
  29. TEST_REQUIRES gpu
  30. TEST_SUITE main
  31. TEST_SERIAL
  32. TIMEOUT 1200
  33. RUNTIME_DEPENDENCIES
  34. AssetProcessor
  35. AssetProcessorBatch
  36. AtomSampleViewerStandalone
  37. AtomSampleViewer.GameLauncher
  38. AtomSampleViewer.Assets
  39. )
  40. endif()