public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Enable simple invocation of runtest in testsuite
@ 2020-04-23 10:58 Matthias Kretz
  2020-05-21 13:17 ` Jonathan Wakely
  0 siblings, 1 reply; 2+ messages in thread
From: Matthias Kretz @ 2020-04-23 10:58 UTC (permalink / raw)
  To: gcc-patches; +Cc: libstdc++

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

I noticed this inconvenience while learning dejagnu.

From: Matthias Kretz <kretz@kde.org>

        * testsuite/Makefile.am: Remove dup target_triplet and set tool,
        allowing runtest to work without arguments.
---
 libstdc++-v3/testsuite/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


[-- Attachment #2: 0001-Enable-simple-invocation-of-runtest-in-testsuite.patch --]
[-- Type: text/x-patch, Size: 1063 bytes --]

diff --git a/libstdc++-v3/testsuite/Makefile.am b/libstdc++-v3/testsuite/Makefile.am
index e19509d2534..9cef1e65e1b 100644
--- a/libstdc++-v3/testsuite/Makefile.am
+++ b/libstdc++-v3/testsuite/Makefile.am
@@ -47,6 +47,7 @@ site.exp: Makefile
 	@echo '## these variables are automatically generated by make ##' >site.tmp
 	@echo '# Do not edit here.  If you wish to override these values' >>site.tmp
 	@echo '# edit the last section' >>site.tmp
+	@echo 'set tool libstdc++' >>site.tmp
 	@echo 'set srcdir $(srcdir)' >>site.tmp
 	@echo "set objdir `pwd`" >>site.tmp
 	@echo 'set build_alias "$(build_alias)"' >>site.tmp
@@ -55,7 +56,6 @@ site.exp: Makefile
 	@echo 'set host_triplet $(host_triplet)' >>site.tmp
 	@echo 'set target_alias "$(target_alias)"' >>site.tmp
 	@echo 'set target_triplet $(target_triplet)' >>site.tmp
-	@echo 'set target_triplet $(target_triplet)' >>site.tmp
 	@echo 'set libiconv "$(LIBICONV)"' >>site.tmp
 	@echo 'set baseline_dir "$(baseline_dir)"' >> site.tmp
 	@echo 'set baseline_subdir_switch "$(baseline_subdir_switch)"' >> site.tmp

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Enable simple invocation of runtest in testsuite
  2020-04-23 10:58 [PATCH] Enable simple invocation of runtest in testsuite Matthias Kretz
@ 2020-05-21 13:17 ` Jonathan Wakely
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Wakely @ 2020-05-21 13:17 UTC (permalink / raw)
  To: Matthias Kretz; +Cc: gcc-patches, libstdc++

On 23/04/20 12:58 +0200, Matthias Kretz wrote:
>I noticed this inconvenience while learning dejagnu.
>
>From: Matthias Kretz <kretz@kde.org>
>
>        * testsuite/Makefile.am: Remove dup target_triplet and set tool,
>        allowing runtest to work without arguments.

Committed to master, thanks.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-21 13:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-23 10:58 [PATCH] Enable simple invocation of runtest in testsuite Matthias Kretz
2020-05-21 13:17 ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).