diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2022-02-14 14:40:27 -0800 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2022-02-14 14:48:47 -0800 |
commit | 11ae0bb36598ae299892dc0f2b239430611623fd (patch) | |
tree | e8018d40aa9df7a10c6532070996ce0ed366657a /net/ntpsec/files/patch-wscript | |
parent | math/heyoka: Update 0.17.0 -> 0.17.1 (diff) |
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.
Diffstat (limited to 'net/ntpsec/files/patch-wscript')
-rw-r--r-- | net/ntpsec/files/patch-wscript | 14 |
1 files changed, 14 insertions, 0 deletions
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 |