Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 769850 Details for
Bug 831352
net-misc/ntpsec-1.2.1-r1 fails to compile
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
propsed patch to NTPsec tree to make it respect --notests
0001-I-NTPsec-build-does-not-repect-notests.patch (text/plain), 1.48 KB, created by
James Browning
on 2022-04-10 15:06:29 UTC
(
hide
)
Description:
propsed patch to NTPsec tree to make it respect --notests
Filename:
MIME Type:
Creator:
James Browning
Created:
2022-04-10 15:06:29 UTC
Size:
1.48 KB
patch
obsolete
>From a3be8f4adc8de2a1cf0036e221e9008b214032e4 Mon Sep 17 00:00:00 2001 >From: James Browning <jamesb.fe80@gmail.com> >Date: Sun, 10 Apr 2022 07:53:37 -0700 >Subject: [PATCH] I: NTPsec build does not repect --notests > >STR: (run the following) >- git clone https://gitlab.com/NTPsec/ntpsec >- cd ntpsec >- ./waf configure build --notests -p > >AR: NTPsec runs tests despite having a parameter telling it not to >ER: NTPsec should not run tests when it has been told not to >--- > wscript | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/wscript b/wscript >index 8a54982ca..d5dcd29d5 100644 >--- a/wscript >+++ b/wscript >@@ -1119,6 +1119,7 @@ def build(ctx): > ctx.manpage(8, "ntpclients/ntpsnmpd-man.adoc") > > # Skip running unit tests on a cross compile build >+ from waflib import Options > if not ctx.env.ENABLE_CROSS: > # Force re-running of tests. Same as 'waf --alltests' > if ctx.cmd == "check": >@@ -1127,6 +1128,8 @@ def build(ctx): > # Print log if -v is supplied > if verbose > 0: > ctx.add_post_fun(test_print_log) >+ elif Options.options.no_tests: >+ return > > # Test binaries > ctx.add_post_fun(bin_test) >@@ -1140,7 +1143,6 @@ def build(ctx): > ctx.add_post_fun(bin_test_summary) > else: > pprint("YELLOW", "Unit test runner skipped on a cross-compiled build.") >- from waflib import Options > Options.options.no_tests = True > > if ctx.cmd == "build": >-- >2.32.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 831352
:
762394
|
762401
|
769850
|
769883
|
770276
|
770363
|
770471
|
770591