summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/thread/qwritelocker
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@qt.io>2019-10-03 13:24:51 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-10-04 06:27:19 +0000
commita98f64af91f8e96d2efe2b57d64f9fc41e2006b4 (patch)
treebd596327bdac61db23acd6e63ebf9143e56556dd /tests/auto/corelib/thread/qwritelocker
parente1beabc3b87ee202fa90af906be0cfeb2ffc2464 (diff)
cmake: add more tests in corelib/thread
This fixes the qatomicinteger magic by making $$basename work for one particular case. qthreadstorage still needs investigation. Task-number: QTBUG-78221 Change-Id: I7bb38f6ca24273bcf0443ab25685c8e815814c3c Reviewed-by: Qt CMake Build Bot Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto/corelib/thread/qwritelocker')
-rw-r--r--tests/auto/corelib/thread/qwritelocker/CMakeLists.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/auto/corelib/thread/qwritelocker/CMakeLists.txt b/tests/auto/corelib/thread/qwritelocker/CMakeLists.txt
index 4635a34b6e..00a9809174 100644
--- a/tests/auto/corelib/thread/qwritelocker/CMakeLists.txt
+++ b/tests/auto/corelib/thread/qwritelocker/CMakeLists.txt
@@ -1 +1,10 @@
-add_qt_test(tst_qwritelocker SOURCES tst_qwritelocker.cpp)
+# Generated from qwritelocker.pro.
+
+#####################################################################
+## tst_qwritelocker Test:
+#####################################################################
+
+add_qt_test(tst_qwritelocker
+ SOURCES
+ tst_qwritelocker.cpp
+)