* [LTP] [PATCH 1/1] openposix: Support VERBOSE mode
@ 2021-08-24 18:13 Petr Vorel
2021-08-25 11:59 ` Li Wang
0 siblings, 1 reply; 3+ messages in thread
From: Petr Vorel @ 2021-08-24 18:13 UTC (permalink / raw)
To: ltp
i.e. VERBOSE=1 or V=1 to print gcc output.
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
.../scripts/generate-makefiles.sh | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/testcases/open_posix_testsuite/scripts/generate-makefiles.sh b/testcases/open_posix_testsuite/scripts/generate-makefiles.sh
index 4b3aaa4a0..e3bd5bfbc 100755
--- a/testcases/open_posix_testsuite/scripts/generate-makefiles.sh
+++ b/testcases/open_posix_testsuite/scripts/generate-makefiles.sh
@@ -156,6 +156,13 @@ EOF
cat >> "$makefile.2" <<EOF
MAKE_TARGETS+= ${targets}
+ifeq (\$V,1)
+VERBOSE=1
+endif
+ifndef VERBOSE
+v=@
+endif
+
EOF
if [ ! -f "$makefile.3" ]; then
@@ -178,7 +185,7 @@ install: \$(INSTALL_DIR) run.sh
@if [ -d speculative ]; then \$(MAKE) -C speculative install; fi
test: run.sh
- @./run.sh
+ \$(v)./run.sh
\$(INSTALL_DIR):
mkdir -p \$@
@@ -231,7 +238,7 @@ EOF
cat >> "$makefile.3" <<EOF
$bin_file: \$(srcdir)/$c_file
- @if $COMPILE_STR > logfile.\$\$\$\$ 2>&1; then \\
+ \$(v)if $COMPILE_STR > logfile.\$\$\$\$ 2>&1; then \\
cat logfile.\$\$\$\$; \\
echo "\$(subdir)/$test_name compile PASSED"; \\
echo "\$(subdir)/$test_name compile PASSED" >> \$(LOGFILE); \\
--
2.32.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [LTP] [PATCH 1/1] openposix: Support VERBOSE mode
2021-08-24 18:13 [LTP] [PATCH 1/1] openposix: Support VERBOSE mode Petr Vorel
@ 2021-08-25 11:59 ` Li Wang
2021-08-31 12:57 ` Petr Vorel
0 siblings, 1 reply; 3+ messages in thread
From: Li Wang @ 2021-08-25 11:59 UTC (permalink / raw)
To: ltp
On Wed, Aug 25, 2021 at 2:14 AM Petr Vorel <pvorel@suse.cz> wrote:
> i.e. VERBOSE=1 or V=1 to print gcc output.
>
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
>
Reviewed-by: Li Wang <liwang@redhat.com>
--
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20210825/d106c9b8/attachment.htm>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [LTP] [PATCH 1/1] openposix: Support VERBOSE mode
2021-08-25 11:59 ` Li Wang
@ 2021-08-31 12:57 ` Petr Vorel
0 siblings, 0 replies; 3+ messages in thread
From: Petr Vorel @ 2021-08-31 12:57 UTC (permalink / raw)
To: ltp
Hi Li,
thanks, merged!
Kind regards,
Petr
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-08-31 12:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-24 18:13 [LTP] [PATCH 1/1] openposix: Support VERBOSE mode Petr Vorel
2021-08-25 11:59 ` Li Wang
2021-08-31 12:57 ` Petr Vorel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox