Commit 2420320b authored by Mark Andrews's avatar Mark Andrews Committed by Michał Kępień
Browse files

return untested if not built with OPENSSL or PKCS11CRYPTO

parent 769551c3
Pipeline #1642 passed with stages
in 8 minutes and 46 seconds
......@@ -15,6 +15,9 @@
#include <atf-c.h>
#include <isc/util.h>
#if defined(OPENSSL) || defined(PKCS11CRYPTO)
#include <dns/dnssec.h>
#include <dns/rdatatype.h>
#include <dns/zone.h>
......@@ -435,9 +438,23 @@ ATF_TC_BODY(updatesigs, tc) {
dns_test_end();
}
#else
ATF_TC(untested);
ATF_TC_HEAD(untested, tc) {
atf_tc_set_md_var(tc, "descr", "skipping dns__zone_updatesigs() test");
}
ATF_TC_BODY(untested, tc) {
UNUSED(tc);
atf_tc_skip("DNSSEC support not compiled in");
}
#endif
ATF_TP_ADD_TCS(tp) {
#if defined(OPENSSL) || defined(PKCS11CRYPTO)
ATF_TP_ADD_TC(tp, updatesigs);
#else
ATF_TP_ADD_TC(tp, untested);
#endif
return (atf_no_error());
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment