Skip to content

Commit

Permalink
tests: Port the C API suite to C++/Catch
Browse files Browse the repository at this point in the history
  • Loading branch information
vmg committed Apr 28, 2016
1 parent 55513a3 commit e38286b
Show file tree
Hide file tree
Showing 6 changed files with 10,544 additions and 392 deletions.
7 changes: 3 additions & 4 deletions tests/cc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ target_link_libraries(test_static bcc-static)

add_test(NAME c_test_static COMMAND ${TEST_WRAPPER} c_test_static sudo ${CMAKE_CURRENT_BINARY_DIR}/test_static)

add_executable(test_c_api test_c_api.c)
target_link_libraries(test_c_api bcc-shared dl)

add_test(NAME test_c_api COMMAND ${TEST_WRAPPER} c_test_api sudo ${CMAKE_CURRENT_BINARY_DIR}/test_c_api)
add_executable(test_libbcc test_libbcc.cc test_c_api.cc)
target_link_libraries(test_libbcc bcc-shared dl)
add_test(NAME test_libbcc COMMAND ${TEST_WRAPPER} c_test_all sudo ${CMAKE_CURRENT_BINARY_DIR}/test_libbcc)
Loading

0 comments on commit e38286b

Please sign in to comment.