test: Warn if both VERIFY and COVERAGE are defined

This commit is contained in:
Hennadii Stepanov 2023-05-30 11:17:20 +01:00
parent 908e02d596
commit e83801f5db
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F

View File

@ -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"