Summary: | ecm_add_test could use a SERIAL property | ||
---|---|---|---|
Product: | [Frameworks and Libraries] extra-cmake-modules | Reporter: | Harald Sitter <sitter> |
Component: | general | Assignee: | Alex Merry <alex.merry> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | ecm-bugs-null |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/extra-cmake-modules/be390dcc4d77d7faa95d040b1a346ac3c0405eac | Version Fixed In: | |
Sentry Crash Report: |
Description
Harald Sitter
2015-04-02 10:26:14 UTC
Git commit 0c224194ea7f12eaed32af746fc9138537f1919c by Alex Merry. Committed on 13/05/2015 at 18:22. Pushed by alexmerry into branch 'master'. Add PROPERTIES argument to ecm_add_test and ecm_add_tests. This is particularly useful with ecm_add_tests, where you may want to force a suite of tests to run in serial, or alter the timeout for multiple tests at once. REVIEW: 123722 M +12 -4 modules/ECMAddTests.cmake M +3 -0 tests/ECMAddTests/CMakeLists.txt M +76 -20 tests/ECMAddTests/multi_tests/CMakeLists.txt A +8 -0 tests/ECMAddTests/multi_tests/test10.cpp [License: UNKNOWN] * A +8 -0 tests/ECMAddTests/multi_tests/test11.cpp [License: UNKNOWN] * M +31 -8 tests/ECMAddTests/single_tests/CMakeLists.txt A +8 -0 tests/ECMAddTests/single_tests/test7.cpp [License: UNKNOWN] * The files marked with a * at the end have a non valid license. Please read: http://techbase.kde.org/Policies/Licensing_Policy and use the headers which are listed at that page. http://commits.kde.org/extra-cmake-modules/0c224194ea7f12eaed32af746fc9138537f1919c Git commit 70b13693478b296b8a3cd1654baa8013434358c5 by Alex Merry. Committed on 16/05/2015 at 13:09. Pushed by alexmerry into branch 'master'. Revert "Add PROPERTIES argument to ecm_add_test and ecm_add_tests." This reverts commit 0c224194ea7f12eaed32af746fc9138537f1919c. Stephen Kelly pointed out that this is probably not the best approach to the problem, and runs counter to the direction KDE's CMake code has been going (splitting functions up and using CMake built-ins where possible). I have a better solution in mind, which I'll post a review for later. CCMAIL: kde-buildsystem@kde.org M +4 -12 modules/ECMAddTests.cmake M +0 -3 tests/ECMAddTests/CMakeLists.txt M +20 -76 tests/ECMAddTests/multi_tests/CMakeLists.txt D +0 -8 tests/ECMAddTests/multi_tests/test10.cpp D +0 -8 tests/ECMAddTests/multi_tests/test11.cpp M +8 -31 tests/ECMAddTests/single_tests/CMakeLists.txt D +0 -8 tests/ECMAddTests/single_tests/test7.cpp http://commits.kde.org/extra-cmake-modules/70b13693478b296b8a3cd1654baa8013434358c5 Git commit be390dcc4d77d7faa95d040b1a346ac3c0405eac by Alex Merry. Committed on 18/05/2015 at 19:21. Pushed by alexmerry into branch 'master'. Add arguments to ecm_add_tests for listing added tests. This makes it convenient to make further modifications to the tests, such as setting properties on either the tests or the targets. CHANGELOG: New arguments for ecm_add_tests(). REVIEW: 123841 M +45 -17 modules/ECMAddTests.cmake M +13 -0 tests/ECMAddTests/multi_tests/CMakeLists.txt M +28 -0 tests/test_helpers.cmake http://commits.kde.org/extra-cmake-modules/be390dcc4d77d7faa95d040b1a346ac3c0405eac |