Remove embedded atf-src and enforce atf >= 0.20 + kyua as execution engine

This commit is contained in:
Ondřej Surý
2018-10-23 11:44:33 +02:00
parent e31e5732fd
commit de219b8555
11 changed files with 152 additions and 88 deletions

View File

@@ -17,6 +17,10 @@
#include <stddef.h>
#include <setjmp.h>
#include <isc/util.h>
#ifdef NS_HOOKS_ENABLE
#include <inttypes.h>
#include <stdbool.h>
#include <stdlib.h>
@@ -27,7 +31,6 @@
#include <dns/badcache.h>
#include <dns/view.h>
#include <isc/util.h>
#include <ns/client.h>
#include <ns/query.h>
#include <isc/util.h>
@@ -601,6 +604,17 @@ main(void) {
return (cmocka_run_group_tests(tests, NULL, NULL));
}
#else
#include <stdio.h>
int
main(void) {
printf("1..0 # Skipped: libns hooks not enabled\n");
return (0);
}
#endif /* NS_HOOKS_ENABLE */
#else /* HAVE_CMOCKA */
@@ -612,4 +626,4 @@ main(void) {
return (0);
}
#endif
#endif /* HAVE_CMOCKA */