Skip to content

Commit 6358ec4

Browse files
committed
wip
1 parent f6e679f commit 6358ec4

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

test/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function(ryml_add_test_case_group name)
5252
target_link_libraries(ryml-test-${name} PUBLIC ryml-_testgroup)
5353
endfunction()
5454

55-
c4_add_library(ryml-_evt_handler_extra LIBRARY_STATIC
55+
c4_add_library(ryml-_evt_handler LIBRARY_STATIC
5656
SOURCES
5757
test_lib/test_events_int.hpp
5858
test_lib/test_engine.hpp
@@ -62,14 +62,14 @@ c4_add_library(ryml-_evt_handler_extra LIBRARY_STATIC
6262
../src_extra/c4/yml/extra/event_handler_ints.cpp
6363
../src_extra/c4/yml/extra/event_handler_ints.hpp
6464
INC_DIRS ${CMAKE_CURRENT_LIST_DIR} ${CMAKE_CURRENT_LIST_DIR}/../src_extra
65-
LIBS ryml gtest
65+
LIBS ryml ryml-_testlib gtest
6666
FOLDER test
6767
)
6868
if(RYML_DBG)
69-
target_compile_definitions(ryml-_evt_handler_extra PUBLIC RYML_DBG)
69+
target_compile_definitions(ryml-_evt_handler PUBLIC RYML_DBG)
7070
endif()
7171
function(ryml_add_engine_test name)
72-
ryml_add_test(${name} ryml-_evt_handler_extra)
72+
ryml_add_test(${name} ryml-_evt_handler)
7373
endfunction()
7474

7575

test/test_int_events.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ INSTANTIATE_TEST_SUITE_P(IntEvents, IntEventsTest, testing::ValuesIn(test_cases)
473473
// get_case() function. So this is here to act as placeholder until (if?)
474474
// proper test cases are added here. This was detected in #47 (thanks
475475
// @cburgard).
476-
Case const* get_case(csubstr)
476+
RYML_EXPORT Case const* get_case(csubstr)
477477
{
478478
return nullptr;
479479
}

0 commit comments

Comments
 (0)