Skip to content

Commit

Permalink
test(c): add backwards compatibility tests for 1.1.0/1.0.0 (#698)
Browse files Browse the repository at this point in the history
Requires #692.
  • Loading branch information
lidavidm committed Aug 10, 2023
1 parent 5ec705b commit 057e024
Show file tree
Hide file tree
Showing 6 changed files with 678 additions and 47 deletions.
16 changes: 16 additions & 0 deletions c/driver_manager/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,20 @@ if(ADBC_BUILD_TESTS)
target_compile_features(adbc-driver-manager-test PRIVATE cxx_std_17)
target_include_directories(adbc-driver-manager-test SYSTEM
PRIVATE ${REPOSITORY_ROOT}/c/vendor/nanoarrow/)

add_test_case(version_100_compatibility_test
PREFIX
adbc
EXTRA_LABELS
driver-manager
SOURCES
adbc_version_100.c
adbc_version_100_compatibility_test.cc
../validation/adbc_validation_util.cc
EXTRA_LINK_LIBS
nanoarrow
${TEST_LINK_LIBS})
target_compile_features(adbc-version-100-compatibility-test PRIVATE cxx_std_17)
target_include_directories(adbc-version-100-compatibility-test SYSTEM
PRIVATE ${REPOSITORY_ROOT}/c/vendor/nanoarrow/)
endif()
Loading

0 comments on commit 057e024

Please sign in to comment.