mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 06:58:54 +00:00
tests: unbound API is only accessible in static builds
This commit is contained in:
parent
e7c8a32a28
commit
5092e45e3f
@ -30,6 +30,8 @@
|
|||||||
|
|
||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
|
|
||||||
|
#ifdef STATICLIB
|
||||||
|
|
||||||
extern "C" int dnskey_algo_id_is_supported(int);
|
extern "C" int dnskey_algo_id_is_supported(int);
|
||||||
|
|
||||||
TEST(unbound, supported_algorithms)
|
TEST(unbound, supported_algorithms)
|
||||||
@ -47,3 +49,5 @@ TEST(unbound, supported_algorithms)
|
|||||||
ASSERT_TRUE(dnskey_algo_id_is_supported(13));
|
ASSERT_TRUE(dnskey_algo_id_is_supported(13));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user