* [Buildroot] [PATCH] utils/test-pkg: log the output of merge-config
@ 2018-07-08 10:26 Yann E. MORIN
2018-07-10 13:42 ` Matthew Weber
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Yann E. MORIN @ 2018-07-08 10:26 UTC (permalink / raw)
To: buildroot
Currently, the stdout is consigned to oblivion, while the stderr is not
redirected at all. So, when the configuration under test redefines a
symbol, like is the case when testing busybox for example, there is an
ugly warning.
So, just redirect both stdout and stderr to the logfile.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
utils/test-pkg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils/test-pkg b/utils/test-pkg
index 54951276fa..aa91ee02cf 100755
--- a/utils/test-pkg
+++ b/utils/test-pkg
@@ -131,7 +131,7 @@ build_one() {
support/kconfig/merge_config.sh -O "${dir}" \
"${toolchainconfig}" "support/config-fragments/minimal.config" "${cfg}" \
- > /dev/null
+ >> "${dir}/logfile" 2>&1
# We want all the options from the snippet to be present as-is (set
# or not set) in the actual .config; if one of them is not, it means
# some dependency from the toolchain or arch is not available, in
--
2.14.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] utils/test-pkg: log the output of merge-config
2018-07-08 10:26 [Buildroot] [PATCH] utils/test-pkg: log the output of merge-config Yann E. MORIN
@ 2018-07-10 13:42 ` Matthew Weber
2018-07-10 21:04 ` Arnout Vandecappelle
2018-07-19 21:35 ` Peter Korsgaard
2 siblings, 0 replies; 4+ messages in thread
From: Matthew Weber @ 2018-07-10 13:42 UTC (permalink / raw)
To: buildroot
Yann,
On Sun, Jul 8, 2018 at 5:26 AM, Yann E. MORIN <yann.morin.1998@free.fr> wrote:
> Currently, the stdout is consigned to oblivion, while the stderr is not
> redirected at all. So, when the configuration under test redefines a
> symbol, like is the case when testing busybox for example, there is an
> ugly warning.
>
> So, just redirect both stdout and stderr to the logfile.
>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Matt Weber <matthew.weber@rockwellcollins.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] utils/test-pkg: log the output of merge-config
2018-07-08 10:26 [Buildroot] [PATCH] utils/test-pkg: log the output of merge-config Yann E. MORIN
2018-07-10 13:42 ` Matthew Weber
@ 2018-07-10 21:04 ` Arnout Vandecappelle
2018-07-19 21:35 ` Peter Korsgaard
2 siblings, 0 replies; 4+ messages in thread
From: Arnout Vandecappelle @ 2018-07-10 21:04 UTC (permalink / raw)
To: buildroot
On 08-07-18 12:26, Yann E. MORIN wrote:
> Currently, the stdout is consigned to oblivion, while the stderr is not
> redirected at all. So, when the configuration under test redefines a
> symbol, like is the case when testing busybox for example, there is an
> ugly warning.
>
> So, just redirect both stdout and stderr to the logfile.
>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Applied to master, thanks.
Regards,
Arnout
> ---
> utils/test-pkg | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/utils/test-pkg b/utils/test-pkg
> index 54951276fa..aa91ee02cf 100755
> --- a/utils/test-pkg
> +++ b/utils/test-pkg
> @@ -131,7 +131,7 @@ build_one() {
>
> support/kconfig/merge_config.sh -O "${dir}" \
> "${toolchainconfig}" "support/config-fragments/minimal.config" "${cfg}" \
> - > /dev/null
> + >> "${dir}/logfile" 2>&1
> # We want all the options from the snippet to be present as-is (set
> # or not set) in the actual .config; if one of them is not, it means
> # some dependency from the toolchain or arch is not available, in
>
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] utils/test-pkg: log the output of merge-config
2018-07-08 10:26 [Buildroot] [PATCH] utils/test-pkg: log the output of merge-config Yann E. MORIN
2018-07-10 13:42 ` Matthew Weber
2018-07-10 21:04 ` Arnout Vandecappelle
@ 2018-07-19 21:35 ` Peter Korsgaard
2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2018-07-19 21:35 UTC (permalink / raw)
To: buildroot
>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:
> Currently, the stdout is consigned to oblivion, while the stderr is not
> redirected at all. So, when the configuration under test redefines a
> symbol, like is the case when testing busybox for example, there is an
> ugly warning.
> So, just redirect both stdout and stderr to the logfile.
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Committed to 2018.02.x and 2018.05.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-07-19 21:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-08 10:26 [Buildroot] [PATCH] utils/test-pkg: log the output of merge-config Yann E. MORIN
2018-07-10 13:42 ` Matthew Weber
2018-07-10 21:04 ` Arnout Vandecappelle
2018-07-19 21:35 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.