public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] sim: d10v: link in missing testsuite
@ 2015-03-30  5:09 Mike Frysinger
  2015-04-02 16:53 ` Hans-Peter Nilsson
  0 siblings, 1 reply; 6+ messages in thread
From: Mike Frysinger @ 2015-03-30  5:09 UTC (permalink / raw)
  To: gdb-patches

Looks like historical restructuring in this dir lost the d10v-elf subdir
and no one noticed in the meantime.  Re-add it to the testsuite.

There are some failures, but better some tests get run than none at all.

Committed.
---
 sim/testsuite/ChangeLog    |  5 +++++
 sim/testsuite/configure    | 11 ++++++++---
 sim/testsuite/configure.ac |  3 +++
 3 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/sim/testsuite/ChangeLog b/sim/testsuite/ChangeLog
index 55ef169..6bae4e5 100644
--- a/sim/testsuite/ChangeLog
+++ b/sim/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-30  Mike Frysinger  <vapier@gentoo.org>
+
+	* configure.ac: Add d10v-*-elf.
+	* configure: Regenerate.
+
 2015-03-29  Mike Frysinger  <vapier@gentoo.org>
 
 	* lib/sim-defs.exp (run_sim_test): Declare seen_output as 0.  When
diff --git a/sim/testsuite/configure b/sim/testsuite/configure
index fdba43d..c5980fe 100755
--- a/sim/testsuite/configure
+++ b/sim/testsuite/configure
@@ -614,7 +614,8 @@ enable_option_checking
       ac_precious_vars='build_alias
 host_alias
 target_alias'
-ac_subdirs_all='frv-elf
+ac_subdirs_all='d10v-elf
+frv-elf
 m32r-elf
 mips64el-elf'
 
@@ -1792,10 +1793,14 @@ test -n "$target_alias" &&
 
 # Configure sub-directory for appropriate targets
 case ${target} in
-    frv-*-elf )
+    d10v-*-elf )
+
 
+subdirs="$subdirs d10v-elf"
 
-subdirs="$subdirs frv-elf"
+	;;
+    frv-*-elf )
+	subdirs="$subdirs frv-elf"
 
 	;;
     m32r-*-elf )
diff --git a/sim/testsuite/configure.ac b/sim/testsuite/configure.ac
index ba17a33..b61fce0 100644
--- a/sim/testsuite/configure.ac
+++ b/sim/testsuite/configure.ac
@@ -14,6 +14,9 @@ AC_CANONICAL_SYSTEM
 
 # Configure sub-directory for appropriate targets
 case ${target} in
+    d10v-*-elf )
+	AC_CONFIG_SUBDIRS(d10v-elf)
+	;;
     frv-*-elf )
 	AC_CONFIG_SUBDIRS(frv-elf)
 	;;
-- 
2.3.4

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

end of thread, other threads:[~2015-04-05  6:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-30  5:09 [PATCH] sim: d10v: link in missing testsuite Mike Frysinger
2015-04-02 16:53 ` Hans-Peter Nilsson
2015-04-03  0:39   ` Mike Frysinger
2015-04-03  6:16     ` Doug Evans
2015-04-03  7:11       ` Mike Frysinger
2015-04-05  6:12         ` Doug Evans

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).