Remove embedded atf-src and enforce atf >= 0.20 + kyua as execution engine
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user