Skip to content

Commit

Permalink
Print warning about possiblity of tests failing in 'Release' build
Browse files Browse the repository at this point in the history
  • Loading branch information
SSoelvsten committed Mar 14, 2023
1 parent ac87d3f commit 7164b0b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test.h
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,9 @@ namespace adiar::internal
// Main
int main(int argc, char* argv[]) {
#ifdef NDEBUG
std::cerr << "Warning: Internal assertions are not enabled!\n\n";
std::cerr << "Warning: Internal assertions are not enabled!" << std::endl << std::endl;;

std::cerr << "Warning: Some tests may fail due to ties in ordering" << std::endl << std::endl;
#endif

#ifndef ADIAR_TEST_NO_INIT
Expand Down

0 comments on commit 7164b0b

Please sign in to comment.