summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2022-07-15 15:42:23 +0200
committerLinus Groh <mail@linusgroh.de>2022-07-19 11:00:35 +0100
commitdac361e33078d93cc8f33f564014661774adb203 (patch)
tree4672d1336bbf7d64cd7ba3e736b9ba8ac372d61a
parent2f3b9c49a5fa4e867b77b40191c4221db17f0a16 (diff)
downloadserenity-dac361e33078d93cc8f33f564014661774adb203.zip
Tests: Move the LibPthread tests to the correct namespace
-rw-r--r--Tests/CMakeLists.txt1
-rw-r--r--Tests/LibC/CMakeLists.txt3
-rw-r--r--Tests/LibC/TestPthreadCleanup.cpp (renamed from Tests/LibPthread/TestLibPthreadCleanup.cpp)0
-rw-r--r--Tests/LibC/TestPthreadRWLocks.cpp (renamed from Tests/LibPthread/TestLibPthreadRWLocks.cpp)0
-rw-r--r--Tests/LibC/TestPthreadSpinLocks.cpp (renamed from Tests/LibPthread/TestLibPthreadSpinLocks.cpp)0
-rw-r--r--Tests/LibPthread/CMakeLists.txt9
6 files changed, 3 insertions, 10 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index d0180ef086..1023b38265 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -13,7 +13,6 @@ add_subdirectory(LibJS)
add_subdirectory(LibM)
add_subdirectory(LibMarkdown)
add_subdirectory(LibPDF)
-add_subdirectory(LibPthread)
add_subdirectory(LibRegex)
add_subdirectory(LibSQL)
add_subdirectory(LibTest)
diff --git a/Tests/LibC/CMakeLists.txt b/Tests/LibC/CMakeLists.txt
index 2658b91839..0669a656ba 100644
--- a/Tests/LibC/CMakeLists.txt
+++ b/Tests/LibC/CMakeLists.txt
@@ -14,6 +14,9 @@ set(TEST_SOURCES
TestMemalign.cpp
TestMemmem.cpp
TestMkDir.cpp
+ TestPthreadCleanup.cpp
+ TestPthreadSpinLocks.cpp
+ TestPthreadRWLocks.cpp
TestQsort.cpp
TestRaise.cpp
TestRealpath.cpp
diff --git a/Tests/LibPthread/TestLibPthreadCleanup.cpp b/Tests/LibC/TestPthreadCleanup.cpp
index dc3378cb54..dc3378cb54 100644
--- a/Tests/LibPthread/TestLibPthreadCleanup.cpp
+++ b/Tests/LibC/TestPthreadCleanup.cpp
diff --git a/Tests/LibPthread/TestLibPthreadRWLocks.cpp b/Tests/LibC/TestPthreadRWLocks.cpp
index 720227ab7d..720227ab7d 100644
--- a/Tests/LibPthread/TestLibPthreadRWLocks.cpp
+++ b/Tests/LibC/TestPthreadRWLocks.cpp
diff --git a/Tests/LibPthread/TestLibPthreadSpinLocks.cpp b/Tests/LibC/TestPthreadSpinLocks.cpp
index 8db74ac3b7..8db74ac3b7 100644
--- a/Tests/LibPthread/TestLibPthreadSpinLocks.cpp
+++ b/Tests/LibC/TestPthreadSpinLocks.cpp
diff --git a/Tests/LibPthread/CMakeLists.txt b/Tests/LibPthread/CMakeLists.txt
deleted file mode 100644
index 33eaf4eec3..0000000000
--- a/Tests/LibPthread/CMakeLists.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-set(TEST_SOURCES
- TestLibPthreadCleanup.cpp
- TestLibPthreadSpinLocks.cpp
- TestLibPthreadRWLocks.cpp
-)
-
-foreach(source IN LISTS TEST_SOURCES)
- serenity_test("${source}" LibPthread LIBS LibPthread)
-endforeach()