Skip to content

Commit fbaeae1

Browse files
parth21999Copilot
andcommitted
Add c_pal to ADDITIONAL_LIBS in test CMakeLists.txt
Tests using TIMED_TEST_SUITE_INITIALIZE need to link against c_pal for the process_watchdog_init/deinit implementations. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 4e0b5f9 commit fbaeae1

26 files changed

Lines changed: 45 additions & 45 deletions

File tree

samples/async_op_samples_int/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ set(${theseTestsName}_h_files
2828
ml_async_op_module_with_retries.h
2929
)
3030

31-
build_test_artifacts(${theseTestsName} "samples" ADDITIONAL_LIBS c_util)
31+
build_test_artifacts(${theseTestsName} "samples" ADDITIONAL_LIBS c_pal c_util)

tests/async_op_int/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ set(${theseTestsName}_c_files
1313
set(${theseTestsName}_h_files
1414
)
1515

16-
build_test_artifacts(${theseTestsName} "tests/c_util" ADDITIONAL_LIBS c_util)
16+
build_test_artifacts(${theseTestsName} "tests/c_util" ADDITIONAL_LIBS c_pal c_util)

tests/async_retry_wrapper_ut/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Copyright (c) Microsoft. All rights reserved.
1+
#Copyright (c) Microsoft. All rights reserved.
22

33
set(theseTestsName async_retry_wrapper_ut)
44

@@ -25,6 +25,6 @@ set(${theseTestsName}_h_files
2525
include_directories(../../inc)
2626

2727
build_test_artifacts(${theseTestsName} "tests/c_util"
28-
ADDITIONAL_LIBS c_util c_pal_reals
28+
ADDITIONAL_LIBS c_pal c_util c_pal_reals
2929
ENABLE_TEST_FILES_PRECOMPILED_HEADERS "${CMAKE_CURRENT_LIST_DIR}/async_retry_wrapper_ut_pch.h"
3030
)

tests/async_type_helper_copy_value_handler_ut/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Copyright (c) Microsoft. All rights reserved.
1+
#Copyright (c) Microsoft. All rights reserved.
22

33
set(theseTestsName async_type_helper_copy_value_handler_ut)
44

@@ -14,6 +14,6 @@ set(${theseTestsName}_h_files
1414
)
1515

1616
build_test_artifacts(${theseTestsName} "tests/c_util"
17-
ADDITIONAL_LIBS c_util c_pal_reals
17+
ADDITIONAL_LIBS c_pal c_util c_pal_reals
1818
ENABLE_TEST_FILES_PRECOMPILED_HEADERS "${CMAKE_CURRENT_LIST_DIR}/async_type_helper_copy_value_handler_ut_pch.h"
1919
)

tests/async_type_helper_ref_counted_handler_ut/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Copyright (c) Microsoft. All rights reserved.
1+
#Copyright (c) Microsoft. All rights reserved.
22

33
set(theseTestsName async_type_helper_ref_counted_handler_ut)
44

@@ -16,6 +16,6 @@ set(${theseTestsName}_h_files
1616
)
1717

1818
build_test_artifacts(${theseTestsName} "tests/c_util"
19-
ADDITIONAL_LIBS c_util c_pal_reals
19+
ADDITIONAL_LIBS c_pal c_util c_pal_reals
2020
ENABLE_TEST_FILES_PRECOMPILED_HEADERS "${CMAKE_CURRENT_LIST_DIR}/async_type_helper_ref_counted_handler_ut_pch.h"
2121
)

tests/async_type_helper_thandle_handler_ut/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Copyright (c) Microsoft. All rights reserved.
1+
#Copyright (c) Microsoft. All rights reserved.
22

33
set(theseTestsName async_type_helper_thandle_handler_ut)
44

@@ -16,6 +16,6 @@ set(${theseTestsName}_h_files
1616
)
1717

1818
build_test_artifacts(${theseTestsName} "tests/c_util"
19-
ADDITIONAL_LIBS c_util c_pal_reals
19+
ADDITIONAL_LIBS c_pal c_util c_pal_reals
2020
ENABLE_TEST_FILES_PRECOMPILED_HEADERS "${CMAKE_CURRENT_LIST_DIR}/async_type_helper_thandle_handler_ut_pch.h"
2121
)

tests/async_type_helper_ut/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Copyright (c) Microsoft. All rights reserved.
1+
#Copyright (c) Microsoft. All rights reserved.
22

33
set(theseTestsName async_type_helper_ut)
44

@@ -15,6 +15,6 @@ set(${theseTestsName}_h_files
1515
)
1616

1717
build_test_artifacts(${theseTestsName} "tests/c_util"
18-
ADDITIONAL_LIBS c_util c_pal_reals c_util_reals
18+
ADDITIONAL_LIBS c_pal c_util c_pal_reals c_util_reals
1919
ENABLE_TEST_FILES_PRECOMPILED_HEADERS "${CMAKE_CURRENT_LIST_DIR}/async_type_helper_ut_pch.h"
2020
)

tests/constbuffer_array_int/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ set(${theseTestsName}_c_files
1313
set(${theseTestsName}_h_files
1414
)
1515

16-
build_test_artifacts(${theseTestsName} "tests/c_util" ADDITIONAL_LIBS c_util)
16+
build_test_artifacts(${theseTestsName} "tests/c_util" ADDITIONAL_LIBS c_pal c_util)

tests/constbuffer_array_splitter_ut/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Copyright (c) Microsoft. All rights reserved.
1+
#Copyright (c) Microsoft. All rights reserved.
22

33
set(theseTestsName constbuffer_array_splitter_ut)
44

@@ -15,6 +15,6 @@ set(${theseTestsName}_h_files
1515
)
1616

1717
build_test_artifacts(${theseTestsName} "tests/c_util"
18-
ADDITIONAL_LIBS c_util_reals
18+
ADDITIONAL_LIBS c_pal c_util_reals
1919
ENABLE_TEST_FILES_PRECOMPILED_HEADERS "${CMAKE_CURRENT_LIST_DIR}/constbuffer_array_splitter_ut_pch.h"
2020
)

tests/constbuffer_thandle_int/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ set(${theseTestsName}_c_files
1313
set(${theseTestsName}_h_files
1414
)
1515

16-
build_test_artifacts(${theseTestsName} "tests/c_util" ADDITIONAL_LIBS c_util)
16+
build_test_artifacts(${theseTestsName} "tests/c_util" ADDITIONAL_LIBS c_pal c_util)

0 commit comments

Comments
 (0)