Skip to content

Commit

Permalink
test: Warn if both VERIFY and COVERAGE are defined
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed May 30, 2023
1 parent 908e02d commit e83801f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
#pragma message("Ignoring USE_EXTERNAL_CALLBACKS in tests.")
#undef USE_EXTERNAL_DEFAULT_CALLBACKS
#endif
#if defined(VERIFY) && defined(COVERAGE)
#pragma message("Defining VERIFY for tests being built for coverage analysis support is meaningless.")
#endif
#include "secp256k1.c"

#include "../include/secp256k1.h"
Expand Down

0 comments on commit e83801f

Please sign in to comment.