summaryrefslogtreecommitdiff
path: root/test/unit/ntp_sources.c
diff options
context:
space:
mode:
authorVincent Blut <vincent.debian@free.fr>2019-05-03 23:09:08 +0200
committerVincent Blut <vincent.debian@free.fr>2019-05-03 23:09:08 +0200
commit2aeb886c840372ecf7daf6f1461c0aa6c3fc62bc (patch)
tree85bbaf7ab088272e34297039c63fe8ed8302eb80 /test/unit/ntp_sources.c
parent6e35115cec449f05061b37a848fca709125a2ce4 (diff)
parentaff496ced38fb2ac20b6b4607c29a9b25042d28f (diff)
Update upstream source from tag 'upstream/3.5-pre1'
Update to upstream version '3.5-pre1' with Debian dir 82dd6af14ed17f2d5308de50d11b159b7e5c84b3
Diffstat (limited to 'test/unit/ntp_sources.c')
-rw-r--r--test/unit/ntp_sources.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/test/unit/ntp_sources.c b/test/unit/ntp_sources.c
index ea8f19c..f13852e 100644
--- a/test/unit/ntp_sources.c
+++ b/test/unit/ntp_sources.c
@@ -18,10 +18,14 @@
**********************************************************************
*/
+#include <config.h>
+#include "test.h"
+
+#ifdef FEAT_NTP
+
#include <ntp_sources.c>
#include <conf.h>
#include <ntp_io.h>
-#include "test.h"
void
test_unit(void)
@@ -98,3 +102,11 @@ test_unit(void)
CNF_Finalise();
HSH_Finalise();
}
+
+#else
+void
+test_unit(void)
+{
+ TEST_REQUIRE(0);
+}
+#endif