Skip to content

Commit

Permalink
test(c): add backwards compatibility tests for 1.1.0/1.0.0 (apache#698)
Browse files Browse the repository at this point in the history
Requires apache#692.
  • Loading branch information
lidavidm committed Jun 19, 2023
1 parent b2f5395 commit f18f1cc
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 f18f1cc

Please sign in to comment.