diff options
Diffstat (limited to 'src/pal/tests/palsuite/exception_handling')
25 files changed, 26 insertions, 77 deletions
diff --git a/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test1/CMakeLists.txt b/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test1/CMakeLists.txt index 4e30869d85..336eafd718 100644 --- a/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_pal_except_filter_test1 add_dependencies(paltest_pal_except_filter_test1 coreclrpal) target_link_libraries(paltest_pal_except_filter_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test2/CMakeLists.txt b/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test2/CMakeLists.txt index 3f979c08db..e9c57b44c3 100644 --- a/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_pal_except_filter_test2 add_dependencies(paltest_pal_except_filter_test2 coreclrpal) target_link_libraries(paltest_pal_except_filter_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test3/CMakeLists.txt b/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test3/CMakeLists.txt index 2bdf44e058..45286ac198 100644 --- a/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test3/CMakeLists.txt +++ b/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER/test3/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_pal_except_filter_test3 add_dependencies(paltest_pal_except_filter_test3 coreclrpal) target_link_libraries(paltest_pal_except_filter_test3 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test1/CMakeLists.txt b/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test1/CMakeLists.txt index cf0a5e7c6d..be9ab1aa61 100644 --- a/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_pal_except_filter_ex_test1 add_dependencies(paltest_pal_except_filter_ex_test1 coreclrpal) target_link_libraries(paltest_pal_except_filter_ex_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test2/CMakeLists.txt b/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test2/CMakeLists.txt index a3f82c26b9..4d90c711cd 100644 --- a/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_pal_except_filter_ex_test2 add_dependencies(paltest_pal_except_filter_ex_test2 coreclrpal) target_link_libraries(paltest_pal_except_filter_ex_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test3/CMakeLists.txt b/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test3/CMakeLists.txt index 532b29a9a1..6a52145151 100644 --- a/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test3/CMakeLists.txt +++ b/src/pal/tests/palsuite/exception_handling/PAL_EXCEPT_FILTER_EX/test3/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_pal_except_filter_ex_test3 add_dependencies(paltest_pal_except_filter_ex_test3 coreclrpal) target_link_libraries(paltest_pal_except_filter_ex_test3 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/test1/CMakeLists.txt b/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/test1/CMakeLists.txt index b478de63e4..ad208751fc 100644 --- a/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_pal_try_except_test1 add_dependencies(paltest_pal_try_except_test1 coreclrpal) target_link_libraries(paltest_pal_try_except_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/test2/CMakeLists.txt b/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/test2/CMakeLists.txt index 0e344a9320..da34fb23fa 100644 --- a/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_pal_try_except_test2 add_dependencies(paltest_pal_try_except_test2 coreclrpal) target_link_libraries(paltest_pal_try_except_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test1/CMakeLists.txt b/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test1/CMakeLists.txt index cced8a11be..2ab8a25675 100644 --- a/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_pal_try_except_ex_test1 add_dependencies(paltest_pal_try_except_ex_test1 coreclrpal) target_link_libraries(paltest_pal_try_except_ex_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test2/CMakeLists.txt b/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test2/CMakeLists.txt index c3549b5d87..80d90dd9b1 100644 --- a/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_pal_try_except_ex_test2 add_dependencies(paltest_pal_try_except_ex_test2 coreclrpal) target_link_libraries(paltest_pal_try_except_ex_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test3/CMakeLists.txt b/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test3/CMakeLists.txt index 34790da3d3..d9507b046b 100644 --- a/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test3/CMakeLists.txt +++ b/src/pal/tests/palsuite/exception_handling/PAL_TRY_EXCEPT_EX/test3/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_pal_try_except_ex_test3 add_dependencies(paltest_pal_try_except_ex_test3 coreclrpal) target_link_libraries(paltest_pal_try_except_ex_test3 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/exception_handling/PAL_TRY_LEAVE_FINALLY/test1/CMakeLists.txt b/src/pal/tests/palsuite/exception_handling/PAL_TRY_LEAVE_FINALLY/test1/CMakeLists.txt index f004db1658..6b34c1d629 100644 --- a/src/pal/tests/palsuite/exception_handling/PAL_TRY_LEAVE_FINALLY/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/exception_handling/PAL_TRY_LEAVE_FINALLY/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_pal_try_leave_finally_test1 add_dependencies(paltest_pal_try_leave_finally_test1 coreclrpal) target_link_libraries(paltest_pal_try_leave_finally_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/exception_handling/RaiseException/test1/CMakeLists.txt b/src/pal/tests/palsuite/exception_handling/RaiseException/test1/CMakeLists.txt index 2fba7dd9b3..dcc47db93f 100644 --- a/src/pal/tests/palsuite/exception_handling/RaiseException/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/exception_handling/RaiseException/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_raiseexception_test1 add_dependencies(paltest_raiseexception_test1 coreclrpal) target_link_libraries(paltest_raiseexception_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/exception_handling/RaiseException/test2/CMakeLists.txt b/src/pal/tests/palsuite/exception_handling/RaiseException/test2/CMakeLists.txt index 7fc9f5f12c..5c9ba2ceee 100644 --- a/src/pal/tests/palsuite/exception_handling/RaiseException/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/exception_handling/RaiseException/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_raiseexception_test2 add_dependencies(paltest_raiseexception_test2 coreclrpal) target_link_libraries(paltest_raiseexception_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/exception_handling/RaiseException/test3/CMakeLists.txt b/src/pal/tests/palsuite/exception_handling/RaiseException/test3/CMakeLists.txt index 72e5427b69..a16f832a4a 100644 --- a/src/pal/tests/palsuite/exception_handling/RaiseException/test3/CMakeLists.txt +++ b/src/pal/tests/palsuite/exception_handling/RaiseException/test3/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_raiseexception_test3 add_dependencies(paltest_raiseexception_test3 coreclrpal) target_link_libraries(paltest_raiseexception_test3 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/exception_handling/SetUnhandledExceptionFilter/test1/CMakeLists.txt b/src/pal/tests/palsuite/exception_handling/SetUnhandledExceptionFilter/test1/CMakeLists.txt index 068427303f..bff5e893e5 100644 --- a/src/pal/tests/palsuite/exception_handling/SetUnhandledExceptionFilter/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/exception_handling/SetUnhandledExceptionFilter/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_setunhandledexceptionfilter_test1 add_dependencies(paltest_setunhandledexceptionfilter_test1 coreclrpal) target_link_libraries(paltest_setunhandledexceptionfilter_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/exception_handling/pal_except/test1/CMakeLists.txt b/src/pal/tests/palsuite/exception_handling/pal_except/test1/CMakeLists.txt index b219238ef4..a34f673304 100644 --- a/src/pal/tests/palsuite/exception_handling/pal_except/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/exception_handling/pal_except/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_pal_except_test1 add_dependencies(paltest_pal_except_test1 coreclrpal) target_link_libraries(paltest_pal_except_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/exception_handling/pal_except/test2/CMakeLists.txt b/src/pal/tests/palsuite/exception_handling/pal_except/test2/CMakeLists.txt index 27a725353b..a40910eca5 100644 --- a/src/pal/tests/palsuite/exception_handling/pal_except/test2/CMakeLists.txt +++ b/src/pal/tests/palsuite/exception_handling/pal_except/test2/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_pal_except_test2 add_dependencies(paltest_pal_except_test2 coreclrpal) target_link_libraries(paltest_pal_except_test2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/exception_handling/pal_except/test3/CMakeLists.txt b/src/pal/tests/palsuite/exception_handling/pal_except/test3/CMakeLists.txt index 680341a782..6f9e100fb8 100644 --- a/src/pal/tests/palsuite/exception_handling/pal_except/test3/CMakeLists.txt +++ b/src/pal/tests/palsuite/exception_handling/pal_except/test3/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_pal_except_test3 add_dependencies(paltest_pal_except_test3 coreclrpal) target_link_libraries(paltest_pal_except_test3 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/exception_handling/pal_except/test4/CMakeLists.txt b/src/pal/tests/palsuite/exception_handling/pal_except/test4/CMakeLists.txt index 98eb7bfb23..fb51d9890f 100644 --- a/src/pal/tests/palsuite/exception_handling/pal_except/test4/CMakeLists.txt +++ b/src/pal/tests/palsuite/exception_handling/pal_except/test4/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_pal_except_test4 add_dependencies(paltest_pal_except_test4 coreclrpal) target_link_libraries(paltest_pal_except_test4 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/exception_handling/pal_except/test5/CMakeLists.txt b/src/pal/tests/palsuite/exception_handling/pal_except/test5/CMakeLists.txt index 9a39e32cce..4ec8c69957 100644 --- a/src/pal/tests/palsuite/exception_handling/pal_except/test5/CMakeLists.txt +++ b/src/pal/tests/palsuite/exception_handling/pal_except/test5/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_pal_except_test5 add_dependencies(paltest_pal_except_test5 coreclrpal) target_link_libraries(paltest_pal_except_test5 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/exception_handling/pal_except/test6/CMakeLists.txt b/src/pal/tests/palsuite/exception_handling/pal_except/test6/CMakeLists.txt index d009128871..bc1742c178 100644 --- a/src/pal/tests/palsuite/exception_handling/pal_except/test6/CMakeLists.txt +++ b/src/pal/tests/palsuite/exception_handling/pal_except/test6/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_pal_except_test6 add_dependencies(paltest_pal_except_test6 coreclrpal) target_link_libraries(paltest_pal_except_test6 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/exception_handling/pal_except/test7/CMakeLists.txt b/src/pal/tests/palsuite/exception_handling/pal_except/test7/CMakeLists.txt index 33fee62cc2..7cb6be8d94 100644 --- a/src/pal/tests/palsuite/exception_handling/pal_except/test7/CMakeLists.txt +++ b/src/pal/tests/palsuite/exception_handling/pal_except/test7/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_pal_except_test7 add_dependencies(paltest_pal_except_test7 coreclrpal) target_link_libraries(paltest_pal_except_test7 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/exception_handling/pal_finally/test1/CMakeLists.txt b/src/pal/tests/palsuite/exception_handling/pal_finally/test1/CMakeLists.txt index 67cc6c0b92..fe1cbbe0b6 100644 --- a/src/pal/tests/palsuite/exception_handling/pal_finally/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/exception_handling/pal_finally/test1/CMakeLists.txt @@ -13,7 +13,5 @@ add_executable(paltest_pal_finally_test1 add_dependencies(paltest_pal_finally_test1 coreclrpal) target_link_libraries(paltest_pal_finally_test1 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) diff --git a/src/pal/tests/palsuite/exception_handling/pal_sxs/test1/CMakeLists.txt b/src/pal/tests/palsuite/exception_handling/pal_sxs/test1/CMakeLists.txt index b0458db998..4a3abc2d64 100644 --- a/src/pal/tests/palsuite/exception_handling/pal_sxs/test1/CMakeLists.txt +++ b/src/pal/tests/palsuite/exception_handling/pal_sxs/test1/CMakeLists.txt @@ -43,7 +43,7 @@ add_dependencies(paltest_pal_sxs_test1_dll1 ) target_link_libraries(paltest_pal_sxs_test1_dll1 - pthread + ${COMMON_TEST_LIBRARIES} m coreclrpal ) @@ -71,13 +71,10 @@ set_property(TARGET paltest_pal_sxs_test1_dll2 APPEND_STRING PROPERTY LINK_DEPEN add_dependencies(paltest_pal_sxs_test1_dll2 dlltest2_exports - coreclrpal ) target_link_libraries(paltest_pal_sxs_test1_dll2 - pthread - m - coreclrpal + ${COMMON_TEST_LIBRARIES} ) # Main program |