This repository has been archived by the owner on Nov 21, 2024. It is now read-only.
forked from substrait-io/duckdb-substrait-extension
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add optional test executable and enable Substrait C API tests (#4)
- Added an option `ENABLE_TEST_EXE` to build an optional test executable in `test/c/CMakeLists.txt`. - Created a new `main.cpp` file to run C tests. - Updated `test_substrait_c_api.cpp` to fix build errors and remove unused includes. - Included the new test directory in the main `CMakeLists.txt`. Co-authored-by: Anshul Data <[email protected]>
- Loading branch information
1 parent
be71387
commit 9a3deee
Showing
4 changed files
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#define CATCH_CONFIG_RUNNER | ||
#include "catch.hpp" | ||
|
||
int main(int argc, char* argv[]) { | ||
// Call Catch2's session to run tests | ||
return Catch::Session().run(argc, argv); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters