From dac361e33078d93cc8f33f564014661774adb203 Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Fri, 15 Jul 2022 15:42:23 +0200 Subject: [PATCH] Tests: Move the LibPthread tests to the correct namespace --- Tests/CMakeLists.txt | 1 - Tests/LibC/CMakeLists.txt | 3 +++ .../TestPthreadCleanup.cpp} | 0 .../TestPthreadRWLocks.cpp} | 0 .../TestPthreadSpinLocks.cpp} | 0 Tests/LibPthread/CMakeLists.txt | 9 --------- 6 files changed, 3 insertions(+), 10 deletions(-) rename Tests/{LibPthread/TestLibPthreadCleanup.cpp => LibC/TestPthreadCleanup.cpp} (100%) rename Tests/{LibPthread/TestLibPthreadRWLocks.cpp => LibC/TestPthreadRWLocks.cpp} (100%) rename Tests/{LibPthread/TestLibPthreadSpinLocks.cpp => LibC/TestPthreadSpinLocks.cpp} (100%) delete mode 100644 Tests/LibPthread/CMakeLists.txt 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 similarity index 100% rename from Tests/LibPthread/TestLibPthreadCleanup.cpp rename to Tests/LibC/TestPthreadCleanup.cpp diff --git a/Tests/LibPthread/TestLibPthreadRWLocks.cpp b/Tests/LibC/TestPthreadRWLocks.cpp similarity index 100% rename from Tests/LibPthread/TestLibPthreadRWLocks.cpp rename to Tests/LibC/TestPthreadRWLocks.cpp diff --git a/Tests/LibPthread/TestLibPthreadSpinLocks.cpp b/Tests/LibC/TestPthreadSpinLocks.cpp similarity index 100% rename from Tests/LibPthread/TestLibPthreadSpinLocks.cpp rename to 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()