[PATCH] sim: d10v: link in missing testsuite

Mike Frysinger
2015-03-30T05:09:58Z

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