From 11ae0bb36598ae299892dc0f2b239430611623fd Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Mon, 14 Feb 2022 14:40:27 -0800 Subject: net/ntpsec: Not auto-run tests after build. This fixes build failures on systems with clang-13. Tests fail due to clang bug, as claimed by the upstream. --- net/ntpsec/files/patch-wscript | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 net/ntpsec/files/patch-wscript (limited to 'net/ntpsec/files/patch-wscript') diff --git a/net/ntpsec/files/patch-wscript b/net/ntpsec/files/patch-wscript new file mode 100644 index 000000000000..01d383a3468d --- /dev/null +++ b/net/ntpsec/files/patch-wscript @@ -0,0 +1,14 @@ +- disable tests as part of run +- tests fail with clang-13. nntpsec upstream claims that this is a bug in clang-13: https://gitlab.com/NTPsec/ntpsec/-/issues/714#note_842530858 + +--- wscript.orig 2022-02-14 21:20:57 UTC ++++ wscript +@@ -1115,7 +1115,7 @@ def build(ctx): + ctx.manpage(8, "ntpclients/ntpsnmpd-man.adoc") + + # Skip running unit tests on a cross compile build +- if not ctx.env.ENABLE_CROSS: ++ if False and not ctx.env.ENABLE_CROSS: + # Force re-running of tests. Same as 'waf --alltests' + if ctx.cmd == "check": + ctx.options.all_tests = True -- cgit v1.2.3