-
Notifications
You must be signed in to change notification settings - Fork 25
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
- 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`.
- Loading branch information
1 parent
82bad97
commit f243d96
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