aboutsummaryrefslogtreecommitdiffstats
path: root/ClazyTests.cmake
diff options
context:
space:
mode:
authorSergio Martins <smartins@kde.org>2021-07-18 16:19:53 +0100
committerSergio Martins <smartins@kde.org>2021-07-18 16:19:53 +0100
commite8ec3dd653b1eb2160efefef75e6a0ec4287a325 (patch)
tree018947b51070e446ee94b2c189593484480729a0 /ClazyTests.cmake
parentc0130ba6f33a852638fb875f1ee7c44154eb59dd (diff)
cmake: Add a test per check, instead of having only 1 big test
Now you can pass -j12 or so to ctest. This gives nicer output. run_tests.py already had support for running stuff in parallel, but defaulted to multiprocessing.cpu_count(). Now users can use a more standard way of doing things and they only need to know ctest.
Diffstat (limited to 'ClazyTests.cmake')
-rw-r--r--ClazyTests.cmake95
1 files changed, 95 insertions, 0 deletions
diff --git a/ClazyTests.cmake b/ClazyTests.cmake
new file mode 100644
index 00000000..19c1cf59
--- /dev/null
+++ b/ClazyTests.cmake
@@ -0,0 +1,95 @@
+# This file was autogenerated by running: ./dev-scripts/generate.py --generate
+
+add_test(NAME assert-with-side-effects COMMAND python3 run_tests.py assert-with-side-effects WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME container-inside-loop COMMAND python3 run_tests.py container-inside-loop WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME detaching-member COMMAND python3 run_tests.py detaching-member WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME heap-allocated-small-trivial-type COMMAND python3 run_tests.py heap-allocated-small-trivial-type WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME ifndef-define-typo COMMAND python3 run_tests.py ifndef-define-typo WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME inefficient-qlist COMMAND python3 run_tests.py inefficient-qlist WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME isempty-vs-count COMMAND python3 run_tests.py isempty-vs-count WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME jni-signatures COMMAND python3 run_tests.py jni-signatures WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME qhash-with-char-pointer-key COMMAND python3 run_tests.py qhash-with-char-pointer-key WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME qproperty-type-mismatch COMMAND python3 run_tests.py qproperty-type-mismatch WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME qrequiredresult-candidates COMMAND python3 run_tests.py qrequiredresult-candidates WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME qstring-varargs COMMAND python3 run_tests.py qstring-varargs WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME qt-keywords COMMAND python3 run_tests.py qt-keywords WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME qt4-qstring-from-array COMMAND python3 run_tests.py qt4-qstring-from-array WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME qt6-deprecated-api-fixes COMMAND python3 run_tests.py qt6-deprecated-api-fixes WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME qt6-fwd-fixes COMMAND python3 run_tests.py qt6-fwd-fixes WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME qt6-header-fixes COMMAND python3 run_tests.py qt6-header-fixes WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME qt6-qhash-signature COMMAND python3 run_tests.py qt6-qhash-signature WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME qt6-qlatin1stringchar-to-u COMMAND python3 run_tests.py qt6-qlatin1stringchar-to-u WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME qvariant-template-instantiation COMMAND python3 run_tests.py qvariant-template-instantiation WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME raw-environment-function COMMAND python3 run_tests.py raw-environment-function WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME reserve-candidates COMMAND python3 run_tests.py reserve-candidates WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME signal-with-return-value COMMAND python3 run_tests.py signal-with-return-value WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME thread-with-slots COMMAND python3 run_tests.py thread-with-slots WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME tr-non-literal COMMAND python3 run_tests.py tr-non-literal WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME unneeded-cast COMMAND python3 run_tests.py unneeded-cast WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME use-chrono-in-qtimer COMMAND python3 run_tests.py use-chrono-in-qtimer WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME connect-by-name COMMAND python3 run_tests.py connect-by-name WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME connect-non-signal COMMAND python3 run_tests.py connect-non-signal WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME connect-not-normalized COMMAND python3 run_tests.py connect-not-normalized WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME container-anti-pattern COMMAND python3 run_tests.py container-anti-pattern WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME empty-qstringliteral COMMAND python3 run_tests.py empty-qstringliteral WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME fully-qualified-moc-types COMMAND python3 run_tests.py fully-qualified-moc-types WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME lambda-in-connect COMMAND python3 run_tests.py lambda-in-connect WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME lambda-unique-connection COMMAND python3 run_tests.py lambda-unique-connection WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME lowercase-qml-type-name COMMAND python3 run_tests.py lowercase-qml-type-name WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME mutable-container-key COMMAND python3 run_tests.py mutable-container-key WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME overloaded-signal COMMAND python3 run_tests.py overloaded-signal WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME qcolor-from-literal COMMAND python3 run_tests.py qcolor-from-literal WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME qdatetime-utc COMMAND python3 run_tests.py qdatetime-utc WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME qenums COMMAND python3 run_tests.py qenums WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME qfileinfo-exists COMMAND python3 run_tests.py qfileinfo-exists WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME qgetenv COMMAND python3 run_tests.py qgetenv WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME qmap-with-pointer-key COMMAND python3 run_tests.py qmap-with-pointer-key WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME qstring-arg COMMAND python3 run_tests.py qstring-arg WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME qstring-comparison-to-implicit-char COMMAND python3 run_tests.py qstring-comparison-to-implicit-char WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME qstring-insensitive-allocation COMMAND python3 run_tests.py qstring-insensitive-allocation WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME qstring-ref COMMAND python3 run_tests.py qstring-ref WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME qt-macros COMMAND python3 run_tests.py qt-macros WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME strict-iterators COMMAND python3 run_tests.py strict-iterators WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME temporary-iterator COMMAND python3 run_tests.py temporary-iterator WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME unused-non-trivial-variable COMMAND python3 run_tests.py unused-non-trivial-variable WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME writing-to-temporary COMMAND python3 run_tests.py writing-to-temporary WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME wrong-qevent-cast COMMAND python3 run_tests.py wrong-qevent-cast WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME wrong-qglobalstatic COMMAND python3 run_tests.py wrong-qglobalstatic WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME auto-unexpected-qstringbuilder COMMAND python3 run_tests.py auto-unexpected-qstringbuilder WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME child-event-qobject-cast COMMAND python3 run_tests.py child-event-qobject-cast WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME connect-3arg-lambda COMMAND python3 run_tests.py connect-3arg-lambda WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME const-signal-or-slot COMMAND python3 run_tests.py const-signal-or-slot WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME detaching-temporary COMMAND python3 run_tests.py detaching-temporary WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME foreach COMMAND python3 run_tests.py foreach WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME incorrect-emit COMMAND python3 run_tests.py incorrect-emit WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME inefficient-qlist-soft COMMAND python3 run_tests.py inefficient-qlist-soft WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME install-event-filter COMMAND python3 run_tests.py install-event-filter WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME non-pod-global-static COMMAND python3 run_tests.py non-pod-global-static WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME overridden-signal COMMAND python3 run_tests.py overridden-signal WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME post-event COMMAND python3 run_tests.py post-event WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME qdeleteall COMMAND python3 run_tests.py qdeleteall WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME qhash-namespace COMMAND python3 run_tests.py qhash-namespace WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME qlatin1string-non-ascii COMMAND python3 run_tests.py qlatin1string-non-ascii WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME qproperty-without-notify COMMAND python3 run_tests.py qproperty-without-notify WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME qstring-left COMMAND python3 run_tests.py qstring-left WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME range-loop-detach COMMAND python3 run_tests.py range-loop-detach WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME range-loop-reference COMMAND python3 run_tests.py range-loop-reference WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME returning-data-from-temporary COMMAND python3 run_tests.py returning-data-from-temporary WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME rule-of-two-soft COMMAND python3 run_tests.py rule-of-two-soft WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME skipped-base-method COMMAND python3 run_tests.py skipped-base-method WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME virtual-signal COMMAND python3 run_tests.py virtual-signal WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME base-class-event COMMAND python3 run_tests.py base-class-event WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME copyable-polymorphic COMMAND python3 run_tests.py copyable-polymorphic WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME ctor-missing-parent-argument COMMAND python3 run_tests.py ctor-missing-parent-argument WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME function-args-by-ref COMMAND python3 run_tests.py function-args-by-ref WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME function-args-by-value COMMAND python3 run_tests.py function-args-by-value WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME global-const-char-pointer COMMAND python3 run_tests.py global-const-char-pointer WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME implicit-casts COMMAND python3 run_tests.py implicit-casts WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME missing-qobject-macro COMMAND python3 run_tests.py missing-qobject-macro WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME missing-typeinfo COMMAND python3 run_tests.py missing-typeinfo WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME old-style-connect COMMAND python3 run_tests.py old-style-connect WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME qstring-allocations COMMAND python3 run_tests.py qstring-allocations WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME returning-void-expression COMMAND python3 run_tests.py returning-void-expression WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME rule-of-three COMMAND python3 run_tests.py rule-of-three WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME static-pmf COMMAND python3 run_tests.py static-pmf WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)
+add_test(NAME virtual-call-ctor COMMAND python3 run_tests.py virtual-call-ctor WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests/)