Merge bitcoin-core/secp256k1#1333: test: Warn if both VERIFY
and COVERAGE
are defined
e83801f5db2cb63e6343eff0ecfa40b7cd4a9090 test: Warn if both `VERIFY` and `COVERAGE` are defined (Hennadii Stepanov) Pull request description: Solves one item in https://github.com/bitcoin-core/secp256k1/issues/1235. Also see: https://github.com/bitcoin-core/secp256k1/pull/1113#discussion_r1127856040. ACKs for top commit: sipa: utACK e83801f5db2cb63e6343eff0ecfa40b7cd4a9090 real-or-random: ACK e83801f5db2cb63e6343eff0ecfa40b7cd4a9090 Tree-SHA512: 25e10a09ba2c3585148becd06f2a03d85306208bda333827c9ba73eb7fd94ad15536f10daf1b335703e5cb0539584f001501ce9c578f478ff1ebc1051aefde7d
This commit is contained in:
commit
d75dc59b58
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user