build: Make tests work with external default callbacks
This commit is contained in:
parent
9eb6934f69
commit
1907f0f166
@ -10,7 +10,12 @@
|
|||||||
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
|
#ifdef USE_EXTERNAL_DEFAULT_CALLBACKS
|
||||||
|
#pragma message("Ignoring USE_EXTERNAL_CALLBACKS in tests.")
|
||||||
|
#undef USE_EXTERNAL_DEFAULT_CALLBACKS
|
||||||
|
#endif
|
||||||
#include "secp256k1.c"
|
#include "secp256k1.c"
|
||||||
|
|
||||||
#include "../include/secp256k1.h"
|
#include "../include/secp256k1.h"
|
||||||
#include "../include/secp256k1_preallocated.h"
|
#include "../include/secp256k1_preallocated.h"
|
||||||
#include "testrand_impl.h"
|
#include "testrand_impl.h"
|
||||||
|
@ -13,7 +13,12 @@
|
|||||||
#define EXHAUSTIVE_TEST_ORDER 13
|
#define EXHAUSTIVE_TEST_ORDER 13
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef USE_EXTERNAL_DEFAULT_CALLBACKS
|
||||||
|
#pragma message("Ignoring USE_EXTERNAL_CALLBACKS in exhaustive_tests.")
|
||||||
|
#undef USE_EXTERNAL_DEFAULT_CALLBACKS
|
||||||
|
#endif
|
||||||
#include "secp256k1.c"
|
#include "secp256k1.c"
|
||||||
|
|
||||||
#include "../include/secp256k1.h"
|
#include "../include/secp256k1.h"
|
||||||
#include "assumptions.h"
|
#include "assumptions.h"
|
||||||
#include "group.h"
|
#include "group.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user