Skip to content

Strategist for running C, C++ test cases from one runner? #13849

Discussion options

You must be logged in to vote

If meson is your test runner then it would simply execute the C test as one executable, and the C++ test as a different executable, and expect both test programs to return success.

You could test a C library by writing C interface tests in one program, and writing C++ interface tests in a second program, to test that the library still works when compiled and used as C++.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dreamer-coding
Comment options

Answer selected by dreamer-coding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants