2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

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

@@ -15,9 +15,13 @@
#include <stdarg.h>
#include <stddef.h>
#include <stdlib.h>
#include <setjmp.h>
#include <stdlib.h>
#include <isc/util.h>
#ifdef NS_HOOKS_ENABLE
#include <stdio.h>
#include <string.h>
#include <unistd.h>
@@ -150,6 +154,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 */