diff mbox series

Enable simple invocation of runtest in testsuite

Message ID 2736222.e9J7NaK4W3@minbar
State New
Headers show
Series Enable simple invocation of runtest in testsuite | expand

Commit Message

Matthias Kretz April 23, 2020, 10:58 a.m. UTC
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(-)

Comments

Jonathan Wakely May 21, 2020, 1:17 p.m. UTC | #1
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.
diff mbox series

Patch

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