diff options
Diffstat (limited to 'src/pal/tests/palsuite/file_io')
122 files changed, 122 insertions, 366 deletions
diff --git a/src/pal/tests/palsuite/file_io/AreFileApisANSI/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/AreFileApisANSI/test1/CMakeLists.txt index e624bef462..ac76e5dc12 100644 --- a/src/pal/tests/palsuite/file_io/AreFileApisANSI/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/AreFileApisANSI/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_arefileapisansi_test1 add_dependencies(paltest_arefileapisansi_test1 coreclrpal) target_link_libraries(paltest_arefileapisansi_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/CompareFileTime/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/CompareFileTime/test1/CMakeLists.txt index fa96a44cdd..4883aee387 100644 --- a/src/pal/tests/palsuite/file_io/CompareFileTime/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/CompareFileTime/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_comparefiletime_test1 add_dependencies(paltest_comparefiletime_test1 coreclrpal) target_link_libraries(paltest_comparefiletime_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/CopyFileA/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/CopyFileA/test1/CMakeLists.txt index 13abbc0979..0890ebe2e7 100644 --- a/src/pal/tests/palsuite/file_io/CopyFileA/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/CopyFileA/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_copyfilea_test1 add_dependencies(paltest_copyfilea_test1 coreclrpal) target_link_libraries(paltest_copyfilea_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/CopyFileA/test2/CMakeLists.txt b/src/pal/tests/palsuite/file_io/CopyFileA/test2/CMakeLists.txt index cd0d8bc6cf..8844af3f8f 100644 --- a/src/pal/tests/palsuite/file_io/CopyFileA/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/CopyFileA/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_copyfilea_test2 add_dependencies(paltest_copyfilea_test2 coreclrpal) target_link_libraries(paltest_copyfilea_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/CopyFileA/test3/CMakeLists.txt b/src/pal/tests/palsuite/file_io/CopyFileA/test3/CMakeLists.txt index 0bb41b8d8f..3fbdc3e187 100644 --- a/src/pal/tests/palsuite/file_io/CopyFileA/test3/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/CopyFileA/test3/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_copyfilea_test3 add_dependencies(paltest_copyfilea_test3 coreclrpal) target_link_libraries(paltest_copyfilea_test3 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/CopyFileA/test4/CMakeLists.txt b/src/pal/tests/palsuite/file_io/CopyFileA/test4/CMakeLists.txt index 12f85d1747..0bb3a32770 100644 --- a/src/pal/tests/palsuite/file_io/CopyFileA/test4/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/CopyFileA/test4/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_copyfilea_test4 add_dependencies(paltest_copyfilea_test4 coreclrpal) target_link_libraries(paltest_copyfilea_test4 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/CopyFileW/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/CopyFileW/test1/CMakeLists.txt index 20c8141d90..70ff478e35 100644 --- a/src/pal/tests/palsuite/file_io/CopyFileW/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/CopyFileW/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_copyfilew_test1 add_dependencies(paltest_copyfilew_test1 coreclrpal) target_link_libraries(paltest_copyfilew_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/CopyFileW/test2/CMakeLists.txt b/src/pal/tests/palsuite/file_io/CopyFileW/test2/CMakeLists.txt index 4201bdca88..beebf1b86c 100644 --- a/src/pal/tests/palsuite/file_io/CopyFileW/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/CopyFileW/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_copyfilew_test2 add_dependencies(paltest_copyfilew_test2 coreclrpal) target_link_libraries(paltest_copyfilew_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/CopyFileW/test3/CMakeLists.txt b/src/pal/tests/palsuite/file_io/CopyFileW/test3/CMakeLists.txt index d0fd94c990..9e18a308e8 100644 --- a/src/pal/tests/palsuite/file_io/CopyFileW/test3/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/CopyFileW/test3/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_copyfilew_test3 add_dependencies(paltest_copyfilew_test3 coreclrpal) target_link_libraries(paltest_copyfilew_test3 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/CreateDirectoryA/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/CreateDirectoryA/test1/CMakeLists.txt index 1dc87fa34b..57ac440265 100644 --- a/src/pal/tests/palsuite/file_io/CreateDirectoryA/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/CreateDirectoryA/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_createdirectorya_test1 add_dependencies(paltest_createdirectorya_test1 coreclrpal) target_link_libraries(paltest_createdirectorya_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/CreateDirectoryA/test2/CMakeLists.txt b/src/pal/tests/palsuite/file_io/CreateDirectoryA/test2/CMakeLists.txt index 3ee8abbcc2..b764145856 100644 --- a/src/pal/tests/palsuite/file_io/CreateDirectoryA/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/CreateDirectoryA/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_createdirectorya_test2 add_dependencies(paltest_createdirectorya_test2 coreclrpal) target_link_libraries(paltest_createdirectorya_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/CreateDirectoryW/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/CreateDirectoryW/test1/CMakeLists.txt index f8cb584cc6..1fd09ea82d 100644 --- a/src/pal/tests/palsuite/file_io/CreateDirectoryW/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/CreateDirectoryW/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_createdirectoryw_test1 add_dependencies(paltest_createdirectoryw_test1 coreclrpal) target_link_libraries(paltest_createdirectoryw_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/CreateDirectoryW/test2/CMakeLists.txt b/src/pal/tests/palsuite/file_io/CreateDirectoryW/test2/CMakeLists.txt index f8614ca5a6..2dcfe6d49e 100644 --- a/src/pal/tests/palsuite/file_io/CreateDirectoryW/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/CreateDirectoryW/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_createdirectoryw_test2 add_dependencies(paltest_createdirectoryw_test2 coreclrpal) target_link_libraries(paltest_createdirectoryw_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/CreateFileA/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/CreateFileA/test1/CMakeLists.txt index edacdbd621..dec8c30559 100644 --- a/src/pal/tests/palsuite/file_io/CreateFileA/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/CreateFileA/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_createfilea_test1 add_dependencies(paltest_createfilea_test1 coreclrpal) target_link_libraries(paltest_createfilea_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/CreateFileW/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/CreateFileW/test1/CMakeLists.txt index 820e169a37..d437410a1b 100644 --- a/src/pal/tests/palsuite/file_io/CreateFileW/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/CreateFileW/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_createfilew_test1 add_dependencies(paltest_createfilew_test1 coreclrpal) target_link_libraries(paltest_createfilew_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/DeleteFileA/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/DeleteFileA/test1/CMakeLists.txt index b979c206b2..a07a00076d 100644 --- a/src/pal/tests/palsuite/file_io/DeleteFileA/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/DeleteFileA/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_deletefilea_test1 add_dependencies(paltest_deletefilea_test1 coreclrpal) target_link_libraries(paltest_deletefilea_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/DeleteFileW/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/DeleteFileW/test1/CMakeLists.txt index eada6145b9..7aff64ccff 100644 --- a/src/pal/tests/palsuite/file_io/DeleteFileW/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/DeleteFileW/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_deletefilew_test1 add_dependencies(paltest_deletefilew_test1 coreclrpal) target_link_libraries(paltest_deletefilew_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/FILECanonicalizePath/CMakeLists.txt b/src/pal/tests/palsuite/file_io/FILECanonicalizePath/CMakeLists.txt index 7045983629..7c6629d243 100644 --- a/src/pal/tests/palsuite/file_io/FILECanonicalizePath/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/FILECanonicalizePath/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_filecanonicalizepath_test1 add_dependencies(paltest_filecanonicalizepath_test1 coreclrpal) target_link_libraries(paltest_filecanonicalizepath_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/FileTimeToDosDateTime/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/FileTimeToDosDateTime/test1/CMakeLists.txt index 6ec6a98b3f..9d5c678be3 100644 --- a/src/pal/tests/palsuite/file_io/FileTimeToDosDateTime/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/FileTimeToDosDateTime/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_filetimetodosdatetime_test1 add_dependencies(paltest_filetimetodosdatetime_test1 coreclrpal) target_link_libraries(paltest_filetimetodosdatetime_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/FindClose/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/FindClose/test1/CMakeLists.txt index d97c69e6ee..d5a92fa405 100644 --- a/src/pal/tests/palsuite/file_io/FindClose/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/FindClose/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_findclose_test1 add_dependencies(paltest_findclose_test1 coreclrpal) target_link_libraries(paltest_findclose_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/FindFirstFileA/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/FindFirstFileA/test1/CMakeLists.txt index aeac94d42f..c485edbbac 100644 --- a/src/pal/tests/palsuite/file_io/FindFirstFileA/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/FindFirstFileA/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_findfirstfilea_test1 add_dependencies(paltest_findfirstfilea_test1 coreclrpal) target_link_libraries(paltest_findfirstfilea_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/FindFirstFileW/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/FindFirstFileW/test1/CMakeLists.txt index 2a6ea2b7a4..191e42d5c3 100644 --- a/src/pal/tests/palsuite/file_io/FindFirstFileW/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/FindFirstFileW/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_findfirstfilew_test1 add_dependencies(paltest_findfirstfilew_test1 coreclrpal) target_link_libraries(paltest_findfirstfilew_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/FindNextFileA/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/FindNextFileA/test1/CMakeLists.txt index 6e97b7aaad..4dcaa99982 100644 --- a/src/pal/tests/palsuite/file_io/FindNextFileA/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/FindNextFileA/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_findnextfilea_test1 add_dependencies(paltest_findnextfilea_test1 coreclrpal) target_link_libraries(paltest_findnextfilea_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/FindNextFileA/test2/CMakeLists.txt b/src/pal/tests/palsuite/file_io/FindNextFileA/test2/CMakeLists.txt index e037bd3aa0..d5871a400f 100644 --- a/src/pal/tests/palsuite/file_io/FindNextFileA/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/FindNextFileA/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_findnextfilea_test2 add_dependencies(paltest_findnextfilea_test2 coreclrpal) target_link_libraries(paltest_findnextfilea_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/FindNextFileW/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/FindNextFileW/test1/CMakeLists.txt index a7c3e7ea02..62bf2f860b 100644 --- a/src/pal/tests/palsuite/file_io/FindNextFileW/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/FindNextFileW/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_findnextfilew_test1 add_dependencies(paltest_findnextfilew_test1 coreclrpal) target_link_libraries(paltest_findnextfilew_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/FindNextFileW/test2/CMakeLists.txt b/src/pal/tests/palsuite/file_io/FindNextFileW/test2/CMakeLists.txt index 7b4c3c9597..2b9a43f8f4 100644 --- a/src/pal/tests/palsuite/file_io/FindNextFileW/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/FindNextFileW/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_findnextfilew_test2 add_dependencies(paltest_findnextfilew_test2 coreclrpal) target_link_libraries(paltest_findnextfilew_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/FlushFileBuffers/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/FlushFileBuffers/test1/CMakeLists.txt index 6c24ac76d1..433e89bbf4 100644 --- a/src/pal/tests/palsuite/file_io/FlushFileBuffers/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/FlushFileBuffers/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_flushfilebuffers_test1 add_dependencies(paltest_flushfilebuffers_test1 coreclrpal) target_link_libraries(paltest_flushfilebuffers_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetConsoleCP/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetConsoleCP/test1/CMakeLists.txt index 64ab6ea945..7753cadea4 100644 --- a/src/pal/tests/palsuite/file_io/GetConsoleCP/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetConsoleCP/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getconsolecp_test1 add_dependencies(paltest_getconsolecp_test1 coreclrpal) target_link_libraries(paltest_getconsolecp_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetConsoleOutputCP/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetConsoleOutputCP/test1/CMakeLists.txt index 756f87b382..5784789af7 100644 --- a/src/pal/tests/palsuite/file_io/GetConsoleOutputCP/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetConsoleOutputCP/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getconsoleoutputcp_test1 add_dependencies(paltest_getconsoleoutputcp_test1 coreclrpal) target_link_libraries(paltest_getconsoleoutputcp_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetCurrentDirectoryA/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetCurrentDirectoryA/test1/CMakeLists.txt index 28efc6897f..dad46b6f6b 100644 --- a/src/pal/tests/palsuite/file_io/GetCurrentDirectoryA/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetCurrentDirectoryA/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getcurrentdirectorya_test1 add_dependencies(paltest_getcurrentdirectorya_test1 coreclrpal) target_link_libraries(paltest_getcurrentdirectorya_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetCurrentDirectoryW/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetCurrentDirectoryW/test1/CMakeLists.txt index ee07f5e0d1..96b148c1b1 100644 --- a/src/pal/tests/palsuite/file_io/GetCurrentDirectoryW/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetCurrentDirectoryW/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getcurrentdirectoryw_test1 add_dependencies(paltest_getcurrentdirectoryw_test1 coreclrpal) target_link_libraries(paltest_getcurrentdirectoryw_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetDiskFreeSpaceW/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetDiskFreeSpaceW/test1/CMakeLists.txt index 7de0b275f6..e0238707e5 100644 --- a/src/pal/tests/palsuite/file_io/GetDiskFreeSpaceW/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetDiskFreeSpaceW/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getdiskfreespacew_test1 add_dependencies(paltest_getdiskfreespacew_test1 coreclrpal) target_link_libraries(paltest_getdiskfreespacew_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetDiskFreeSpaceW/test2/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetDiskFreeSpaceW/test2/CMakeLists.txt index 7bcbf55c42..fb6a08789b 100644 --- a/src/pal/tests/palsuite/file_io/GetDiskFreeSpaceW/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetDiskFreeSpaceW/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getdiskfreespacew_test2 add_dependencies(paltest_getdiskfreespacew_test2 coreclrpal) target_link_libraries(paltest_getdiskfreespacew_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetFileAttributesA/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetFileAttributesA/test1/CMakeLists.txt index 414df7f6b5..fa2182242e 100644 --- a/src/pal/tests/palsuite/file_io/GetFileAttributesA/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetFileAttributesA/test1/CMakeLists.txt @@ -13,9 +13,7 @@ add_executable(paltest_getfileattributesa_test1 add_dependencies(paltest_getfileattributesa_test1 coreclrpal) target_link_libraries(paltest_getfileattributesa_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) add_subdirectory(.hidden_directory) add_subdirectory(.hidden_ro_directory) diff --git a/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test1/CMakeLists.txt index 6ea24d9d32..41f08e15d9 100644 --- a/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test1/CMakeLists.txt @@ -13,9 +13,7 @@ add_executable(paltest_getfileattributesexw_test1 add_dependencies(paltest_getfileattributesexw_test1 coreclrpal) target_link_libraries(paltest_getfileattributesexw_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) add_subdirectory(.hidden_directory) add_subdirectory(normal_test_directory) diff --git a/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test2/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test2/CMakeLists.txt index 0faa3bd11e..193b4a5144 100644 --- a/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetFileAttributesExW/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getfileattributesexw_test2 add_dependencies(paltest_getfileattributesexw_test2 coreclrpal) target_link_libraries(paltest_getfileattributesexw_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetFileAttributesW/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetFileAttributesW/test1/CMakeLists.txt index bc82f3678e..d64a455a8e 100644 --- a/src/pal/tests/palsuite/file_io/GetFileAttributesW/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetFileAttributesW/test1/CMakeLists.txt @@ -13,9 +13,7 @@ add_executable(paltest_getfileattributesw_test1 add_dependencies(paltest_getfileattributesw_test1 coreclrpal) target_link_libraries(paltest_getfileattributesw_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) add_subdirectory(.hidden_directory) add_subdirectory(.hidden_ro_directory) diff --git a/src/pal/tests/palsuite/file_io/GetFileSize/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetFileSize/test1/CMakeLists.txt index f192ba7400..1220041887 100644 --- a/src/pal/tests/palsuite/file_io/GetFileSize/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetFileSize/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getfilesize_test1 add_dependencies(paltest_getfilesize_test1 coreclrpal) target_link_libraries(paltest_getfilesize_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetFileSizeEx/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetFileSizeEx/test1/CMakeLists.txt index 33a7e2f557..51e7412bdf 100644 --- a/src/pal/tests/palsuite/file_io/GetFileSizeEx/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetFileSizeEx/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getfilesizeex_test1 add_dependencies(paltest_getfilesizeex_test1 coreclrpal) target_link_libraries(paltest_getfilesizeex_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetFileTime/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetFileTime/test1/CMakeLists.txt index b95267ab5b..3c95a5d992 100644 --- a/src/pal/tests/palsuite/file_io/GetFileTime/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetFileTime/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getfiletime_test1 add_dependencies(paltest_getfiletime_test1 coreclrpal) target_link_libraries(paltest_getfiletime_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetFileTime/test2/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetFileTime/test2/CMakeLists.txt index fe02e27bbe..329d8c6553 100644 --- a/src/pal/tests/palsuite/file_io/GetFileTime/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetFileTime/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getfiletime_test2 add_dependencies(paltest_getfiletime_test2 coreclrpal) target_link_libraries(paltest_getfiletime_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetFileTime/test3/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetFileTime/test3/CMakeLists.txt index bb88966e68..d154a8810b 100644 --- a/src/pal/tests/palsuite/file_io/GetFileTime/test3/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetFileTime/test3/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getfiletime_test3 add_dependencies(paltest_getfiletime_test3 coreclrpal) target_link_libraries(paltest_getfiletime_test3 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetFileTime/test4/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetFileTime/test4/CMakeLists.txt index e43e7f99a8..416db15a06 100644 --- a/src/pal/tests/palsuite/file_io/GetFileTime/test4/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetFileTime/test4/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getfiletime_test4 add_dependencies(paltest_getfiletime_test4 coreclrpal) target_link_libraries(paltest_getfiletime_test4 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetFileTime/test5/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetFileTime/test5/CMakeLists.txt index 4af995d207..4072a52fbc 100644 --- a/src/pal/tests/palsuite/file_io/GetFileTime/test5/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetFileTime/test5/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getfiletime_test5 add_dependencies(paltest_getfiletime_test5 coreclrpal) target_link_libraries(paltest_getfiletime_test5 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetFileTime/test6/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetFileTime/test6/CMakeLists.txt index 87c448b2a6..83d652461b 100644 --- a/src/pal/tests/palsuite/file_io/GetFileTime/test6/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetFileTime/test6/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getfiletime_test6 add_dependencies(paltest_getfiletime_test6 coreclrpal) target_link_libraries(paltest_getfiletime_test6 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetFileTime/test7/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetFileTime/test7/CMakeLists.txt index cd5cde4d9e..34a08db686 100644 --- a/src/pal/tests/palsuite/file_io/GetFileTime/test7/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetFileTime/test7/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getfiletime_test7 add_dependencies(paltest_getfiletime_test7 coreclrpal) target_link_libraries(paltest_getfiletime_test7 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetFileType/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetFileType/test1/CMakeLists.txt index cfaba2e738..c0acc6e484 100644 --- a/src/pal/tests/palsuite/file_io/GetFileType/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetFileType/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getfiletype_test1 add_dependencies(paltest_getfiletype_test1 coreclrpal) target_link_libraries(paltest_getfiletype_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetFileType/test2/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetFileType/test2/CMakeLists.txt index 07dae0b04a..1f2ee78f75 100644 --- a/src/pal/tests/palsuite/file_io/GetFileType/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetFileType/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getfiletype_test2 add_dependencies(paltest_getfiletype_test2 coreclrpal) target_link_libraries(paltest_getfiletype_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetFileType/test3/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetFileType/test3/CMakeLists.txt index 9353c85771..ed70e6c96c 100644 --- a/src/pal/tests/palsuite/file_io/GetFileType/test3/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetFileType/test3/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getfiletype_test3 add_dependencies(paltest_getfiletype_test3 coreclrpal) target_link_libraries(paltest_getfiletype_test3 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetFullPathNameA/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetFullPathNameA/test1/CMakeLists.txt index 6198392000..4370c1b155 100644 --- a/src/pal/tests/palsuite/file_io/GetFullPathNameA/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetFullPathNameA/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getfullpathnamea_test1 add_dependencies(paltest_getfullpathnamea_test1 coreclrpal) target_link_libraries(paltest_getfullpathnamea_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetFullPathNameA/test2/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetFullPathNameA/test2/CMakeLists.txt index 3449f2d80b..157ca6946e 100644 --- a/src/pal/tests/palsuite/file_io/GetFullPathNameA/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetFullPathNameA/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getfullpathnamea_test2 add_dependencies(paltest_getfullpathnamea_test2 coreclrpal) target_link_libraries(paltest_getfullpathnamea_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetFullPathNameA/test3/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetFullPathNameA/test3/CMakeLists.txt index 9d8d242e26..74c96185c6 100644 --- a/src/pal/tests/palsuite/file_io/GetFullPathNameA/test3/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetFullPathNameA/test3/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getfullpathnamea_test3 add_dependencies(paltest_getfullpathnamea_test3 coreclrpal) target_link_libraries(paltest_getfullpathnamea_test3 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetFullPathNameA/test4/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetFullPathNameA/test4/CMakeLists.txt index abf2bacd1c..bda34bdc25 100644 --- a/src/pal/tests/palsuite/file_io/GetFullPathNameA/test4/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetFullPathNameA/test4/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getfullpathnamea_test4 add_dependencies(paltest_getfullpathnamea_test4 coreclrpal) target_link_libraries(paltest_getfullpathnamea_test4 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetFullPathNameW/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetFullPathNameW/test1/CMakeLists.txt index d455ca1193..5242015025 100644 --- a/src/pal/tests/palsuite/file_io/GetFullPathNameW/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetFullPathNameW/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getfullpathnamew_test1 add_dependencies(paltest_getfullpathnamew_test1 coreclrpal) target_link_libraries(paltest_getfullpathnamew_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetFullPathNameW/test2/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetFullPathNameW/test2/CMakeLists.txt index d974e940a7..33e04d1a3e 100644 --- a/src/pal/tests/palsuite/file_io/GetFullPathNameW/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetFullPathNameW/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getfullpathnamew_test2 add_dependencies(paltest_getfullpathnamew_test2 coreclrpal) target_link_libraries(paltest_getfullpathnamew_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetFullPathNameW/test3/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetFullPathNameW/test3/CMakeLists.txt index 09439a6372..eaf63760f5 100644 --- a/src/pal/tests/palsuite/file_io/GetFullPathNameW/test3/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetFullPathNameW/test3/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getfullpathnamew_test3 add_dependencies(paltest_getfullpathnamew_test3 coreclrpal) target_link_libraries(paltest_getfullpathnamew_test3 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetFullPathNameW/test4/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetFullPathNameW/test4/CMakeLists.txt index 11ed9583b6..6398e9207d 100644 --- a/src/pal/tests/palsuite/file_io/GetFullPathNameW/test4/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetFullPathNameW/test4/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getfullpathnamew_test4 add_dependencies(paltest_getfullpathnamew_test4 coreclrpal) target_link_libraries(paltest_getfullpathnamew_test4 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetLongPathNameW/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetLongPathNameW/test1/CMakeLists.txt index 3b9f0b118a..ec5b70bff7 100644 --- a/src/pal/tests/palsuite/file_io/GetLongPathNameW/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetLongPathNameW/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getlongpathnamew_test1 add_dependencies(paltest_getlongpathnamew_test1 coreclrpal) target_link_libraries(paltest_getlongpathnamew_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetLongPathNameW/test2/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetLongPathNameW/test2/CMakeLists.txt index b92e431095..8d7c40b3b4 100644 --- a/src/pal/tests/palsuite/file_io/GetLongPathNameW/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetLongPathNameW/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getlongpathnamew_test2 add_dependencies(paltest_getlongpathnamew_test2 coreclrpal) target_link_libraries(paltest_getlongpathnamew_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetStdHandle/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetStdHandle/test1/CMakeLists.txt index eaa1721b7e..7a299015b2 100644 --- a/src/pal/tests/palsuite/file_io/GetStdHandle/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetStdHandle/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getstdhandle_test1 add_dependencies(paltest_getstdhandle_test1 coreclrpal) target_link_libraries(paltest_getstdhandle_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetStdHandle/test2/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetStdHandle/test2/CMakeLists.txt index ef45aa0dec..5a4d2ba15d 100644 --- a/src/pal/tests/palsuite/file_io/GetStdHandle/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetStdHandle/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getstdhandle_test2 add_dependencies(paltest_getstdhandle_test2 coreclrpal) target_link_libraries(paltest_getstdhandle_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetSystemTime/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetSystemTime/test1/CMakeLists.txt index 4367e880f7..7135abf621 100644 --- a/src/pal/tests/palsuite/file_io/GetSystemTime/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetSystemTime/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getsystemtime_test1 add_dependencies(paltest_getsystemtime_test1 coreclrpal) target_link_libraries(paltest_getsystemtime_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetSystemTimeAsFileTime/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetSystemTimeAsFileTime/test1/CMakeLists.txt index d149383732..d7421b91c0 100644 --- a/src/pal/tests/palsuite/file_io/GetSystemTimeAsFileTime/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetSystemTimeAsFileTime/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_getsystemtimeasfiletime_test1 add_dependencies(paltest_getsystemtimeasfiletime_test1 coreclrpal) target_link_libraries(paltest_getsystemtimeasfiletime_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetTempFileNameA/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetTempFileNameA/test1/CMakeLists.txt index 4ed0ccb537..38fdb4977d 100644 --- a/src/pal/tests/palsuite/file_io/GetTempFileNameA/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetTempFileNameA/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_gettempfilenamea_test1 add_dependencies(paltest_gettempfilenamea_test1 coreclrpal) target_link_libraries(paltest_gettempfilenamea_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetTempFileNameA/test2/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetTempFileNameA/test2/CMakeLists.txt index 9d9b6461cd..1c302acd95 100644 --- a/src/pal/tests/palsuite/file_io/GetTempFileNameA/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetTempFileNameA/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_gettempfilenamea_test2 add_dependencies(paltest_gettempfilenamea_test2 coreclrpal) target_link_libraries(paltest_gettempfilenamea_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetTempFileNameA/test3/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetTempFileNameA/test3/CMakeLists.txt index 446f3cf837..ec18937e01 100644 --- a/src/pal/tests/palsuite/file_io/GetTempFileNameA/test3/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetTempFileNameA/test3/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_gettempfilenamea_test3 add_dependencies(paltest_gettempfilenamea_test3 coreclrpal) target_link_libraries(paltest_gettempfilenamea_test3 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetTempFileNameW/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetTempFileNameW/test1/CMakeLists.txt index 6919cf66cd..96ad10bb36 100644 --- a/src/pal/tests/palsuite/file_io/GetTempFileNameW/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetTempFileNameW/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_gettempfilenamew_test1 add_dependencies(paltest_gettempfilenamew_test1 coreclrpal) target_link_libraries(paltest_gettempfilenamew_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetTempFileNameW/test2/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetTempFileNameW/test2/CMakeLists.txt index d077463390..bc97c2bc48 100644 --- a/src/pal/tests/palsuite/file_io/GetTempFileNameW/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetTempFileNameW/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_gettempfilenamew_test2 add_dependencies(paltest_gettempfilenamew_test2 coreclrpal) target_link_libraries(paltest_gettempfilenamew_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetTempFileNameW/test3/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetTempFileNameW/test3/CMakeLists.txt index 3aa0f4a044..50794c3e33 100644 --- a/src/pal/tests/palsuite/file_io/GetTempFileNameW/test3/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetTempFileNameW/test3/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_gettempfilenamew_test3 add_dependencies(paltest_gettempfilenamew_test3 coreclrpal) target_link_libraries(paltest_gettempfilenamew_test3 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/GetTempPathW/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/GetTempPathW/test1/CMakeLists.txt index 04b240997a..093c8803d5 100644 --- a/src/pal/tests/palsuite/file_io/GetTempPathW/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/GetTempPathW/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_gettemppathw_test1 add_dependencies(paltest_gettemppathw_test1 coreclrpal) target_link_libraries(paltest_gettemppathw_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/MoveFileA/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/MoveFileA/test1/CMakeLists.txt index b096a04653..b8f445b1e7 100644 --- a/src/pal/tests/palsuite/file_io/MoveFileA/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/MoveFileA/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_movefilea_test1 add_dependencies(paltest_movefilea_test1 coreclrpal) target_link_libraries(paltest_movefilea_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/MoveFileExA/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/MoveFileExA/test1/CMakeLists.txt index ef2471738c..ac5ea7463b 100644 --- a/src/pal/tests/palsuite/file_io/MoveFileExA/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/MoveFileExA/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_movefileexa_test1 add_dependencies(paltest_movefileexa_test1 coreclrpal) target_link_libraries(paltest_movefileexa_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/MoveFileExW/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/MoveFileExW/test1/CMakeLists.txt index ca6b35e3ac..bbe3d5aa3f 100644 --- a/src/pal/tests/palsuite/file_io/MoveFileExW/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/MoveFileExW/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_movefileexw_test1 add_dependencies(paltest_movefileexw_test1 coreclrpal) target_link_libraries(paltest_movefileexw_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/MoveFileW/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/MoveFileW/test1/CMakeLists.txt index 4519746e7b..03b7ab907c 100644 --- a/src/pal/tests/palsuite/file_io/MoveFileW/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/MoveFileW/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_movefilew_test1 add_dependencies(paltest_movefilew_test1 coreclrpal) target_link_libraries(paltest_movefilew_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/ReadFile/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/ReadFile/test1/CMakeLists.txt index 0aceb3708e..8fe1f1d2ed 100644 --- a/src/pal/tests/palsuite/file_io/ReadFile/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/ReadFile/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_readfile_test1 add_dependencies(paltest_readfile_test1 coreclrpal) target_link_libraries(paltest_readfile_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/ReadFile/test2/CMakeLists.txt b/src/pal/tests/palsuite/file_io/ReadFile/test2/CMakeLists.txt index f28ac117a2..2113d67622 100644 --- a/src/pal/tests/palsuite/file_io/ReadFile/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/ReadFile/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_readfile_test2 add_dependencies(paltest_readfile_test2 coreclrpal) target_link_libraries(paltest_readfile_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/ReadFile/test3/CMakeLists.txt b/src/pal/tests/palsuite/file_io/ReadFile/test3/CMakeLists.txt index 26cb675c40..d76a726742 100644 --- a/src/pal/tests/palsuite/file_io/ReadFile/test3/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/ReadFile/test3/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_readfile_test3 add_dependencies(paltest_readfile_test3 coreclrpal) target_link_libraries(paltest_readfile_test3 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/ReadFile/test4/CMakeLists.txt b/src/pal/tests/palsuite/file_io/ReadFile/test4/CMakeLists.txt index bbf12777b6..2550a21173 100644 --- a/src/pal/tests/palsuite/file_io/ReadFile/test4/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/ReadFile/test4/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_readfile_test4 add_dependencies(paltest_readfile_test4 coreclrpal) target_link_libraries(paltest_readfile_test4 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/RemoveDirectoryA/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/RemoveDirectoryA/test1/CMakeLists.txt index 7a8d1c9d57..31a57791b7 100644 --- a/src/pal/tests/palsuite/file_io/RemoveDirectoryA/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/RemoveDirectoryA/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_removedirectorya_test1 add_dependencies(paltest_removedirectorya_test1 coreclrpal) target_link_libraries(paltest_removedirectorya_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/RemoveDirectoryW/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/RemoveDirectoryW/test1/CMakeLists.txt index 6223bc6197..f995a0e1c5 100644 --- a/src/pal/tests/palsuite/file_io/RemoveDirectoryW/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/RemoveDirectoryW/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_removedirectoryw_test1 add_dependencies(paltest_removedirectoryw_test1 coreclrpal) target_link_libraries(paltest_removedirectoryw_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SearchPathA/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SearchPathA/test1/CMakeLists.txt index c020a86b61..8de22aebdc 100644 --- a/src/pal/tests/palsuite/file_io/SearchPathA/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SearchPathA/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_searchpatha_test1 add_dependencies(paltest_searchpatha_test1 coreclrpal) target_link_libraries(paltest_searchpatha_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SearchPathW/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SearchPathW/test1/CMakeLists.txt index a77d875505..d7539a8ac8 100644 --- a/src/pal/tests/palsuite/file_io/SearchPathW/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SearchPathW/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_searchpathw_test1 add_dependencies(paltest_searchpathw_test1 coreclrpal) target_link_libraries(paltest_searchpathw_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetCurrentDirectoryA/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetCurrentDirectoryA/test1/CMakeLists.txt index 5d0da64ba7..e6fb80f04e 100644 --- a/src/pal/tests/palsuite/file_io/SetCurrentDirectoryA/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetCurrentDirectoryA/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setcurrentdirectorya_test1 add_dependencies(paltest_setcurrentdirectorya_test1 coreclrpal) target_link_libraries(paltest_setcurrentdirectorya_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetCurrentDirectoryA/test2/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetCurrentDirectoryA/test2/CMakeLists.txt index 243e80b9a4..587ea20cf8 100644 --- a/src/pal/tests/palsuite/file_io/SetCurrentDirectoryA/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetCurrentDirectoryA/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setcurrentdirectorya_test2 add_dependencies(paltest_setcurrentdirectorya_test2 coreclrpal) target_link_libraries(paltest_setcurrentdirectorya_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetCurrentDirectoryA/test3/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetCurrentDirectoryA/test3/CMakeLists.txt index 8560ff0187..7e2f3ada33 100644 --- a/src/pal/tests/palsuite/file_io/SetCurrentDirectoryA/test3/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetCurrentDirectoryA/test3/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setcurrentdirectorya_test3 add_dependencies(paltest_setcurrentdirectorya_test3 coreclrpal) target_link_libraries(paltest_setcurrentdirectorya_test3 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetCurrentDirectoryW/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetCurrentDirectoryW/test1/CMakeLists.txt index 9149221008..a68f87b5a0 100644 --- a/src/pal/tests/palsuite/file_io/SetCurrentDirectoryW/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetCurrentDirectoryW/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setcurrentdirectoryw_test1 add_dependencies(paltest_setcurrentdirectoryw_test1 coreclrpal) target_link_libraries(paltest_setcurrentdirectoryw_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetCurrentDirectoryW/test2/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetCurrentDirectoryW/test2/CMakeLists.txt index 455ddc828d..9cc5ba1a55 100644 --- a/src/pal/tests/palsuite/file_io/SetCurrentDirectoryW/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetCurrentDirectoryW/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setcurrentdirectoryw_test2 add_dependencies(paltest_setcurrentdirectoryw_test2 coreclrpal) target_link_libraries(paltest_setcurrentdirectoryw_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetCurrentDirectoryW/test3/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetCurrentDirectoryW/test3/CMakeLists.txt index 1cb1150a61..06da5a8106 100644 --- a/src/pal/tests/palsuite/file_io/SetCurrentDirectoryW/test3/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetCurrentDirectoryW/test3/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setcurrentdirectoryw_test3 add_dependencies(paltest_setcurrentdirectoryw_test3 coreclrpal) target_link_libraries(paltest_setcurrentdirectoryw_test3 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetEndOfFile/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetEndOfFile/test1/CMakeLists.txt index 3c0fdeec22..5d9e8c0615 100644 --- a/src/pal/tests/palsuite/file_io/SetEndOfFile/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetEndOfFile/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setendoffile_test1 add_dependencies(paltest_setendoffile_test1 coreclrpal) target_link_libraries(paltest_setendoffile_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetEndOfFile/test2/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetEndOfFile/test2/CMakeLists.txt index 57afdad2fd..47aa96c18a 100644 --- a/src/pal/tests/palsuite/file_io/SetEndOfFile/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetEndOfFile/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setendoffile_test2 add_dependencies(paltest_setendoffile_test2 coreclrpal) target_link_libraries(paltest_setendoffile_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetEndOfFile/test3/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetEndOfFile/test3/CMakeLists.txt index 01575ce09b..87a2a47a61 100644 --- a/src/pal/tests/palsuite/file_io/SetEndOfFile/test3/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetEndOfFile/test3/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setendoffile_test3 add_dependencies(paltest_setendoffile_test3 coreclrpal) target_link_libraries(paltest_setendoffile_test3 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetEndOfFile/test4/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetEndOfFile/test4/CMakeLists.txt index 1dc4f68aef..ca5f00fe2b 100644 --- a/src/pal/tests/palsuite/file_io/SetEndOfFile/test4/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetEndOfFile/test4/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setendoffile_test4 add_dependencies(paltest_setendoffile_test4 coreclrpal) target_link_libraries(paltest_setendoffile_test4 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetEndOfFile/test5/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetEndOfFile/test5/CMakeLists.txt index 19f87a28af..390ee11f40 100644 --- a/src/pal/tests/palsuite/file_io/SetEndOfFile/test5/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetEndOfFile/test5/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setendoffile_test5 add_dependencies(paltest_setendoffile_test5 coreclrpal) target_link_libraries(paltest_setendoffile_test5 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetFileAttributesA/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetFileAttributesA/test1/CMakeLists.txt index 638dd5c425..b287ceca67 100644 --- a/src/pal/tests/palsuite/file_io/SetFileAttributesA/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetFileAttributesA/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setfileattributesa_test1 add_dependencies(paltest_setfileattributesa_test1 coreclrpal) target_link_libraries(paltest_setfileattributesa_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetFileAttributesA/test2/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetFileAttributesA/test2/CMakeLists.txt index 51bee5af39..ace67dcbd1 100644 --- a/src/pal/tests/palsuite/file_io/SetFileAttributesA/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetFileAttributesA/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setfileattributesa_test2 add_dependencies(paltest_setfileattributesa_test2 coreclrpal) target_link_libraries(paltest_setfileattributesa_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetFileAttributesA/test3/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetFileAttributesA/test3/CMakeLists.txt index 4597e1d22c..eb054ac918 100644 --- a/src/pal/tests/palsuite/file_io/SetFileAttributesA/test3/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetFileAttributesA/test3/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setfileattributesa_test3 add_dependencies(paltest_setfileattributesa_test3 coreclrpal) target_link_libraries(paltest_setfileattributesa_test3 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetFileAttributesA/test4/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetFileAttributesA/test4/CMakeLists.txt index 1807027123..d20ea5dc04 100644 --- a/src/pal/tests/palsuite/file_io/SetFileAttributesA/test4/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetFileAttributesA/test4/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setfileattributesa_test4 add_dependencies(paltest_setfileattributesa_test4 coreclrpal) target_link_libraries(paltest_setfileattributesa_test4 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetFileAttributesW/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetFileAttributesW/test1/CMakeLists.txt index 825554da74..4d867c1a58 100644 --- a/src/pal/tests/palsuite/file_io/SetFileAttributesW/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetFileAttributesW/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setfileattributesw_test1 add_dependencies(paltest_setfileattributesw_test1 coreclrpal) target_link_libraries(paltest_setfileattributesw_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetFileAttributesW/test2/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetFileAttributesW/test2/CMakeLists.txt index fda1cec1d7..df1bbfad04 100644 --- a/src/pal/tests/palsuite/file_io/SetFileAttributesW/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetFileAttributesW/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setfileattributesw_test2 add_dependencies(paltest_setfileattributesw_test2 coreclrpal) target_link_libraries(paltest_setfileattributesw_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetFileAttributesW/test3/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetFileAttributesW/test3/CMakeLists.txt index 1757f88bfe..f4cd725b71 100644 --- a/src/pal/tests/palsuite/file_io/SetFileAttributesW/test3/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetFileAttributesW/test3/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setfileattributesw_test3 add_dependencies(paltest_setfileattributesw_test3 coreclrpal) target_link_libraries(paltest_setfileattributesw_test3 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetFileAttributesW/test4/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetFileAttributesW/test4/CMakeLists.txt index d1cfcdd07d..986954b7d8 100644 --- a/src/pal/tests/palsuite/file_io/SetFileAttributesW/test4/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetFileAttributesW/test4/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setfileattributesw_test4 add_dependencies(paltest_setfileattributesw_test4 coreclrpal) target_link_libraries(paltest_setfileattributesw_test4 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetFilePointer/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetFilePointer/test1/CMakeLists.txt index bb09a981e9..c0594aac1a 100644 --- a/src/pal/tests/palsuite/file_io/SetFilePointer/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetFilePointer/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setfilepointer_test1 add_dependencies(paltest_setfilepointer_test1 coreclrpal) target_link_libraries(paltest_setfilepointer_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetFilePointer/test2/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetFilePointer/test2/CMakeLists.txt index 2e76f00c99..4299b808d7 100644 --- a/src/pal/tests/palsuite/file_io/SetFilePointer/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetFilePointer/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setfilepointer_test2 add_dependencies(paltest_setfilepointer_test2 coreclrpal) target_link_libraries(paltest_setfilepointer_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetFilePointer/test3/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetFilePointer/test3/CMakeLists.txt index bcc3faca09..04589ea0d7 100644 --- a/src/pal/tests/palsuite/file_io/SetFilePointer/test3/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetFilePointer/test3/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setfilepointer_test3 add_dependencies(paltest_setfilepointer_test3 coreclrpal) target_link_libraries(paltest_setfilepointer_test3 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetFilePointer/test4/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetFilePointer/test4/CMakeLists.txt index 3fcc4066f2..6fc8116808 100644 --- a/src/pal/tests/palsuite/file_io/SetFilePointer/test4/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetFilePointer/test4/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setfilepointer_test4 add_dependencies(paltest_setfilepointer_test4 coreclrpal) target_link_libraries(paltest_setfilepointer_test4 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetFilePointer/test5/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetFilePointer/test5/CMakeLists.txt index 3012009e4f..7584349035 100644 --- a/src/pal/tests/palsuite/file_io/SetFilePointer/test5/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetFilePointer/test5/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setfilepointer_test5 add_dependencies(paltest_setfilepointer_test5 coreclrpal) target_link_libraries(paltest_setfilepointer_test5 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetFilePointer/test6/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetFilePointer/test6/CMakeLists.txt index a376acbe28..3e9f6496cc 100644 --- a/src/pal/tests/palsuite/file_io/SetFilePointer/test6/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetFilePointer/test6/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setfilepointer_test6 add_dependencies(paltest_setfilepointer_test6 coreclrpal) target_link_libraries(paltest_setfilepointer_test6 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetFilePointer/test7/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetFilePointer/test7/CMakeLists.txt index 2b5c0bbb45..14f4910e3b 100644 --- a/src/pal/tests/palsuite/file_io/SetFilePointer/test7/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetFilePointer/test7/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setfilepointer_test7 add_dependencies(paltest_setfilepointer_test7 coreclrpal) target_link_libraries(paltest_setfilepointer_test7 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetFileTime/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetFileTime/test1/CMakeLists.txt index b94bd05d76..e9d8dce966 100644 --- a/src/pal/tests/palsuite/file_io/SetFileTime/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetFileTime/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setfiletime_test1 add_dependencies(paltest_setfiletime_test1 coreclrpal) target_link_libraries(paltest_setfiletime_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetFileTime/test2/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetFileTime/test2/CMakeLists.txt index 5478aa3703..12ec26c9f8 100644 --- a/src/pal/tests/palsuite/file_io/SetFileTime/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetFileTime/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setfiletime_test2 add_dependencies(paltest_setfiletime_test2 coreclrpal) target_link_libraries(paltest_setfiletime_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetFileTime/test3/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetFileTime/test3/CMakeLists.txt index 26e178a328..ca0ed659f5 100644 --- a/src/pal/tests/palsuite/file_io/SetFileTime/test3/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetFileTime/test3/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setfiletime_test3 add_dependencies(paltest_setfiletime_test3 coreclrpal) target_link_libraries(paltest_setfiletime_test3 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/SetFileTime/test4/CMakeLists.txt b/src/pal/tests/palsuite/file_io/SetFileTime/test4/CMakeLists.txt index b85a92bf63..432ebe594f 100644 --- a/src/pal/tests/palsuite/file_io/SetFileTime/test4/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/SetFileTime/test4/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setfiletime_test4 add_dependencies(paltest_setfiletime_test4 coreclrpal) target_link_libraries(paltest_setfiletime_test4 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/WriteFile/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/WriteFile/test1/CMakeLists.txt index 3d5a735a83..da7bbf7645 100644 --- a/src/pal/tests/palsuite/file_io/WriteFile/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/WriteFile/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_writefile_test1 add_dependencies(paltest_writefile_test1 coreclrpal) target_link_libraries(paltest_writefile_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/WriteFile/test2/CMakeLists.txt b/src/pal/tests/palsuite/file_io/WriteFile/test2/CMakeLists.txt index 3d7d18826a..86530dea7d 100644 --- a/src/pal/tests/palsuite/file_io/WriteFile/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/WriteFile/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_writefile_test2 add_dependencies(paltest_writefile_test2 coreclrpal) target_link_libraries(paltest_writefile_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/WriteFile/test3/CMakeLists.txt b/src/pal/tests/palsuite/file_io/WriteFile/test3/CMakeLists.txt index bffcf35482..143f537ad9 100644 --- a/src/pal/tests/palsuite/file_io/WriteFile/test3/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/WriteFile/test3/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_writefile_test3 add_dependencies(paltest_writefile_test3 coreclrpal) target_link_libraries(paltest_writefile_test3 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/WriteFile/test4/CMakeLists.txt b/src/pal/tests/palsuite/file_io/WriteFile/test4/CMakeLists.txt index 402a61ac2c..b8e26ee57e 100644 --- a/src/pal/tests/palsuite/file_io/WriteFile/test4/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/WriteFile/test4/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_writefile_test4 add_dependencies(paltest_writefile_test4 coreclrpal) target_link_libraries(paltest_writefile_test4 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/WriteFile/test5/CMakeLists.txt b/src/pal/tests/palsuite/file_io/WriteFile/test5/CMakeLists.txt index f1f5037f98..69d7034b89 100644 --- a/src/pal/tests/palsuite/file_io/WriteFile/test5/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/WriteFile/test5/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_writefile_test5 add_dependencies(paltest_writefile_test5 coreclrpal) target_link_libraries(paltest_writefile_test5 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/errorpathnotfound/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/errorpathnotfound/test1/CMakeLists.txt index 4c4f6416ce..14bed34639 100644 --- a/src/pal/tests/palsuite/file_io/errorpathnotfound/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/errorpathnotfound/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_errorpathnotfound_test1 add_dependencies(paltest_errorpathnotfound_test1 coreclrpal) target_link_libraries(paltest_errorpathnotfound_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/errorpathnotfound/test2/CMakeLists.txt b/src/pal/tests/palsuite/file_io/errorpathnotfound/test2/CMakeLists.txt index 284933f950..abbf494f07 100644 --- a/src/pal/tests/palsuite/file_io/errorpathnotfound/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/errorpathnotfound/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_errorpathnotfound_test2 add_dependencies(paltest_errorpathnotfound_test2 coreclrpal) target_link_libraries(paltest_errorpathnotfound_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/errorpathnotfound/test3/CMakeLists.txt b/src/pal/tests/palsuite/file_io/errorpathnotfound/test3/CMakeLists.txt index b418c9dbdb..a0e7dd60ef 100644 --- a/src/pal/tests/palsuite/file_io/errorpathnotfound/test3/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/errorpathnotfound/test3/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_errorpathnotfound_test3 add_dependencies(paltest_errorpathnotfound_test3 coreclrpal) target_link_libraries(paltest_errorpathnotfound_test3 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/errorpathnotfound/test4/CMakeLists.txt b/src/pal/tests/palsuite/file_io/errorpathnotfound/test4/CMakeLists.txt index e0322dd8e4..00621296d0 100644 --- a/src/pal/tests/palsuite/file_io/errorpathnotfound/test4/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/errorpathnotfound/test4/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_errorpathnotfound_test4 add_dependencies(paltest_errorpathnotfound_test4 coreclrpal) target_link_libraries(paltest_errorpathnotfound_test4 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/file_io/gettemppatha/test1/CMakeLists.txt b/src/pal/tests/palsuite/file_io/gettemppatha/test1/CMakeLists.txt index 9869c9c70f..9465bf2a4e 100644 --- a/src/pal/tests/palsuite/file_io/gettemppatha/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/file_io/gettemppatha/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_gettemppatha_test1 add_dependencies(paltest_gettemppatha_test1 coreclrpal) target_link_libraries(paltest_gettemppatha_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) |