git: 11ae0bb36598 - main - net/ntpsec: Not auto-run tests after build.

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 14 Feb 2022 22:48:53 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=11ae0bb36598ae299892dc0f2b239430611623fd

commit 11ae0bb36598ae299892dc0f2b239430611623fd
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-02-14 22:40:27 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-02-14 22:48:47 +0000

    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(+)

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