We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when using compialtion flags:
#define SNITCH_WITH_ALL_REPORTERS 0 #define SNITCH_WITH_TEAMCITY_REPORTER 0 #define SNITCH_WITH_CATCH2_REPORTER 0
reporters should not be included in the build. However, I could find reporters in the in the test executable:
$ ./tests_snitch --list-reporters xml console teamcity
I tested this feature using the basic example from Snitch documentation.
I am using header only snitch library
the full code is
#define SNITCH_IMPLEMENTATION #define SNITCH_WITH_ALL_REPORTERS 0 #define SNITCH_WITH_TEAMCITY_REPORTER 0 #define SNITCH_WITH_CATCH2_REPORTER 0 #include <snitch/snitch_all.hpp> unsigned int Factorial( unsigned int number ) { return number <= 1 ? number : Factorial(number-1)*number; } TEST_CASE("Factorials are computed", "[factorial]" ) { REQUIRE( Factorial(0) == 1 ); // this check will fail REQUIRE( Factorial(1) == 1 ); REQUIRE( Factorial(2) == 2 ); REQUIRE( Factorial(3) == 6 ); REQUIRE( Factorial(10) == 3628800 ); }
The text was updated successfully, but these errors were encountered:
Oops. Silly mistake, will fix now.
Sorry, something went wrong.
809f4a9
Should be fixed now, thanks for reporting the problem.
Thank you for the quick response!!
Successfully merging a pull request may close this issue.
when using compialtion flags:
reporters should not be included in the build. However, I could find reporters in the in the test executable:
I tested this feature using the basic example from Snitch documentation.
Code
the full code is
The text was updated successfully, but these errors were encountered: