mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 03:59:58 +00:00
ENH: added tutorial tests
This commit is contained in:
parent
3480c252a3
commit
4d3537597e
@ -540,6 +540,56 @@ IF(BUILD_TESTING)
|
||||
--test-command helloDemo
|
||||
)
|
||||
|
||||
ADD_TEST(TutorialStep1 ${CMAKE_CTEST_COMMAND}
|
||||
--build-and-test
|
||||
"${CMake_SOURCE_DIR}/Tests/Tutorial/Step1"
|
||||
"${CMake_BINARY_DIR}/Tests/Tutorial/Step1"
|
||||
--build-two-config
|
||||
--build-generator ${CMAKE_GENERATOR}
|
||||
--build-makeprogram ${MAKEPROGRAM}
|
||||
--build-project Tutorial
|
||||
--test-command Tutorial 25.0)
|
||||
|
||||
ADD_TEST(TutorialStep2 ${CMAKE_CTEST_COMMAND}
|
||||
--build-and-test
|
||||
"${CMake_SOURCE_DIR}/Tests/Tutorial/Step2"
|
||||
"${CMake_BINARY_DIR}/Tests/Tutorial/Step2"
|
||||
--build-two-config
|
||||
--build-generator ${CMAKE_GENERATOR}
|
||||
--build-makeprogram ${MAKEPROGRAM}
|
||||
--build-project Tutorial
|
||||
--test-command Tutorial 25.0)
|
||||
|
||||
ADD_TEST(TutorialStep3 ${CMAKE_CTEST_COMMAND}
|
||||
--build-and-test
|
||||
"${CMake_SOURCE_DIR}/Tests/Tutorial/Step3"
|
||||
"${CMake_BINARY_DIR}/Tests/Tutorial/Step3"
|
||||
--build-two-config
|
||||
--build-generator ${CMAKE_GENERATOR}
|
||||
--build-makeprogram ${MAKEPROGRAM}
|
||||
--build-project Tutorial
|
||||
--test-command Tutorial 25.0)
|
||||
|
||||
ADD_TEST(TutorialStep4 ${CMAKE_CTEST_COMMAND}
|
||||
--build-and-test
|
||||
"${CMake_SOURCE_DIR}/Tests/Tutorial/Step4"
|
||||
"${CMake_BINARY_DIR}/Tests/Tutorial/Step4"
|
||||
--build-two-config
|
||||
--build-generator ${CMAKE_GENERATOR}
|
||||
--build-makeprogram ${MAKEPROGRAM}
|
||||
--build-project Tutorial
|
||||
--test-command Tutorial 25.0)
|
||||
|
||||
ADD_TEST(TutorialStep5 ${CMAKE_CTEST_COMMAND}
|
||||
--build-and-test
|
||||
"${CMake_SOURCE_DIR}/Tests/Tutorial/Step5"
|
||||
"${CMake_BINARY_DIR}/Tests/Tutorial/Step5"
|
||||
--build-two-config
|
||||
--build-generator ${CMAKE_GENERATOR}
|
||||
--build-makeprogram ${MAKEPROGRAM}
|
||||
--build-project Tutorial
|
||||
--test-command Tutorial 25.0)
|
||||
|
||||
ADD_TEST(testing ${CMAKE_CTEST_COMMAND}
|
||||
--build-and-test
|
||||
"${CMake_SOURCE_DIR}/Tests/Testing"
|
||||
|
Loading…
Reference in New Issue
Block a user