diff options
| author | Riccardo Spagni <ric@spagni.net> | 2016-04-14 16:26:29 +0900 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2016-04-14 16:26:29 +0900 |
| commit | b52148201b27f4b805557632bd09f09d605163eb (patch) | |
| tree | 3b53d6337828ec6d94cd39a5ecdd1759bee17bb1 | |
| parent | 0ecb1528100c716def3b0b0339639e3e464d6a3b (diff) | |
| parent | 5092e45e3fbfd614743e675c216c4ab0214073bb (diff) | |
| download | monzero-core-b52148201b27f4b805557632bd09f09d605163eb.tar.gz monzero-core-b52148201b27f4b805557632bd09f09d605163eb.tar.xz monzero-core-b52148201b27f4b805557632bd09f09d605163eb.zip | |
Merge pull request #786
5092e45 tests: unbound API is only accessible in static builds (moneromooo-monero)
| -rw-r--r-- | tests/unit_tests/unbound.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unit_tests/unbound.cpp b/tests/unit_tests/unbound.cpp index 25026ec58..666f68127 100644 --- a/tests/unit_tests/unbound.cpp +++ b/tests/unit_tests/unbound.cpp @@ -30,6 +30,8 @@ #include "gtest/gtest.h" +#ifdef STATICLIB + extern "C" int dnskey_algo_id_is_supported(int); TEST(unbound, supported_algorithms) @@ -47,3 +49,5 @@ TEST(unbound, supported_algorithms) ASSERT_TRUE(dnskey_algo_id_is_supported(13)); } +#endif + |
