BUILD_ODBC=1 DISABLE_SANITIZER=1 make debug -j
The ODBC tests are written with the catch framework. To run the tests, run the following command from the main DuckDB repository:
build/debug/test/test_odbc
You can also individually run the tests by specifying the test name as an argument to the test executable:
build/debug/test/test_odbc 'Test ALTER TABLE statement'