diff -Nru dejagnu-1.6/aclocal.m4 dejagnu-1.6.1/aclocal.m4 --- dejagnu-1.6/aclocal.m4 2016-04-15 12:50:39.000000000 +0000 +++ dejagnu-1.6.1/aclocal.m4 2017-10-16 11:43:23.000000000 +0000 @@ -1,6 +1,6 @@ -# generated automatically by aclocal 1.14.1 -*- Autoconf -*- +# generated automatically by aclocal 1.15 -*- Autoconf -*- -# Copyright (C) 1996-2013 Free Software Foundation, Inc. +# Copyright (C) 1996-2014 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -20,7 +20,7 @@ If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) -# Copyright (C) 2002-2013 Free Software Foundation, Inc. +# Copyright (C) 2002-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -32,10 +32,10 @@ # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], -[am__api_version='1.14' +[am__api_version='1.15' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.14.1], [], +m4_if([$1], [1.15], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) @@ -51,14 +51,14 @@ # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.14.1])dnl +[AM_AUTOMAKE_VERSION([1.15])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- -# Copyright (C) 2001-2013 Free Software Foundation, Inc. +# Copyright (C) 2001-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -103,15 +103,14 @@ # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], -[dnl Rely on autoconf to set up CDPATH properly. -AC_PREREQ([2.50])dnl -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` +[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl +# Expand $ac_aux_dir to an absolute path. +am_aux_dir=`cd "$ac_aux_dir" && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997-2013 Free Software Foundation, Inc. +# Copyright (C) 1997-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -142,7 +141,7 @@ Usually this means the macro was only invoked conditionally.]]) fi])]) -# Copyright (C) 1999-2013 Free Software Foundation, Inc. +# Copyright (C) 1999-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -333,7 +332,7 @@ # Generate code to set up dependency tracking. -*- Autoconf -*- -# Copyright (C) 1999-2013 Free Software Foundation, Inc. +# Copyright (C) 1999-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -409,7 +408,7 @@ # Do all the work for Automake. -*- Autoconf -*- -# Copyright (C) 1996-2013 Free Software Foundation, Inc. +# Copyright (C) 1996-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -499,8 +498,8 @@ # # AC_SUBST([mkdir_p], ['$(MKDIR_P)']) -# We need awk for the "check" target. The system "awk" is bad on -# some platforms. +# We need awk for the "check" target (and possibly the TAP driver). The +# system "awk" is bad on some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl @@ -573,7 +572,11 @@ END AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) fi -fi]) +fi +dnl The trailing newline in this macro's definition is deliberate, for +dnl backward compatibility and to allow trailing 'dnl'-style comments +dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. +]) dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further @@ -602,7 +605,7 @@ done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) -# Copyright (C) 2001-2013 Free Software Foundation, Inc. +# Copyright (C) 2001-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -613,7 +616,7 @@ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -if test x"${install_sh}" != xset; then +if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; @@ -623,7 +626,7 @@ fi AC_SUBST([install_sh])]) -# Copyright (C) 2003-2013 Free Software Foundation, Inc. +# Copyright (C) 2003-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -645,7 +648,7 @@ # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering -# Copyright (C) 1996-2013 Free Software Foundation, Inc. +# Copyright (C) 1996-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -680,7 +683,7 @@ # Check to see how 'make' treats includes. -*- Autoconf -*- -# Copyright (C) 2001-2013 Free Software Foundation, Inc. +# Copyright (C) 2001-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -730,7 +733,7 @@ # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -# Copyright (C) 1997-2013 Free Software Foundation, Inc. +# Copyright (C) 1997-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -769,7 +772,7 @@ # Helper functions for option handling. -*- Autoconf -*- -# Copyright (C) 2001-2013 Free Software Foundation, Inc. +# Copyright (C) 2001-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -798,7 +801,7 @@ AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) -# Copyright (C) 1999-2013 Free Software Foundation, Inc. +# Copyright (C) 1999-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -845,7 +848,7 @@ # For backward compatibility. AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) -# Copyright (C) 2001-2013 Free Software Foundation, Inc. +# Copyright (C) 2001-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -864,7 +867,7 @@ # Check to make sure that the build environment is sane. -*- Autoconf -*- -# Copyright (C) 1996-2013 Free Software Foundation, Inc. +# Copyright (C) 1996-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -945,7 +948,7 @@ rm -f conftest.file ]) -# Copyright (C) 2009-2013 Free Software Foundation, Inc. +# Copyright (C) 2009-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1005,7 +1008,7 @@ _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) -# Copyright (C) 2001-2013 Free Software Foundation, Inc. +# Copyright (C) 2001-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1033,7 +1036,7 @@ INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# Copyright (C) 2006-2013 Free Software Foundation, Inc. +# Copyright (C) 2006-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -1052,7 +1055,7 @@ # Check how to create a tarball. -*- Autoconf -*- -# Copyright (C) 2004-2013 Free Software Foundation, Inc. +# Copyright (C) 2004-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff -Nru dejagnu-1.6/baseboards/aarch64-sim.exp dejagnu-1.6.1/baseboards/aarch64-sim.exp --- dejagnu-1.6/baseboards/aarch64-sim.exp 1970-01-01 00:00:00.000000000 +0000 +++ dejagnu-1.6.1/baseboards/aarch64-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -0,0 +1,55 @@ +# Copyright (C) 1997-2016 Free Software Foundation, Inc. +# +# This file is part of DejaGnu. +# +# DejaGnu is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# DejaGnu is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with DejaGnu; if not, write to the Free Software Foundation, +# Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. + +# Load the generic configuration for this board. This will define a basic +# set of routines used to communicate with the board. +load_generic_config "sim" + +# No multilib flags needed by default. +process_multilib_options "" + +# basic-sim.exp is a basic description for the standard Cygnus simulator. +load_base_board_description "basic-sim" + +# The name of the directory in the build tree where the simulator lives. +setup_sim aarch64 + +# The compiler used to build for this board. This has *nothing* to do +# with what compiler is tested if we're testing gcc. +set_board_info compiler "[find_gcc]" + +# The basic set of flags needed to build "hello world" for this +# board. This board uses libgloss and newlib. +set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]" +set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] -specs=rdimon.specs" + +# This board doesn't use a linker script. +set_board_info ldscript "" + +# Don't set needs_status_wrapper, as it clobbers ldflags. +# The simulator is returning the exit status properly. + +# Used by a few gcc.c-torture testcases to delimit how large the stack can +# be. +set_board_info gcc,stack_size 16384 + +# No support for signals. +set_board_info gdb,nosignals 1 + +# More time is needed to compile PlumHall tests +set_board_info gcc,timeout 800 diff -Nru dejagnu-1.6/baseboards/am33_2.0-libremote.exp dejagnu-1.6.1/baseboards/am33_2.0-libremote.exp --- dejagnu-1.6/baseboards/am33_2.0-libremote.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/am33_2.0-libremote.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/androideabi.exp dejagnu-1.6.1/baseboards/androideabi.exp --- dejagnu-1.6/baseboards/androideabi.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/androideabi.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyright (C) 2013 Free Software Foundation, Inc. +# Copyright (C) 2013-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/arm-ice.exp dejagnu-1.6.1/baseboards/arm-ice.exp --- dejagnu-1.6/baseboards/arm-ice.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/arm-ice.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/arm-sid.exp dejagnu-1.6.1/baseboards/arm-sid.exp --- dejagnu-1.6/baseboards/arm-sid.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/arm-sid.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/arm-sim.exp dejagnu-1.6.1/baseboards/arm-sim.exp --- dejagnu-1.6/baseboards/arm-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/arm-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/basic-sid.exp dejagnu-1.6.1/baseboards/basic-sid.exp --- dejagnu-1.6/baseboards/basic-sid.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/basic-sid.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/basic-sim.exp dejagnu-1.6.1/baseboards/basic-sim.exp --- dejagnu-1.6/baseboards/basic-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/basic-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/cris-sim.exp dejagnu-1.6.1/baseboards/cris-sim.exp --- dejagnu-1.6/baseboards/cris-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/cris-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/d30v-sim.exp dejagnu-1.6.1/baseboards/d30v-sim.exp --- dejagnu-1.6/baseboards/d30v-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/d30v-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/fr30-sim.exp dejagnu-1.6.1/baseboards/fr30-sim.exp --- dejagnu-1.6/baseboards/fr30-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/fr30-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/frv-sim.exp dejagnu-1.6.1/baseboards/frv-sim.exp --- dejagnu-1.6/baseboards/frv-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/frv-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/gdbserver-sample.exp dejagnu-1.6.1/baseboards/gdbserver-sample.exp --- dejagnu-1.6/baseboards/gdbserver-sample.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/gdbserver-sample.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/i386-sid.exp dejagnu-1.6.1/baseboards/i386-sid.exp --- dejagnu-1.6/baseboards/i386-sid.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/i386-sid.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/iq2000-sim.exp dejagnu-1.6.1/baseboards/iq2000-sim.exp --- dejagnu-1.6/baseboards/iq2000-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/iq2000-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/jmr3904-sim.exp dejagnu-1.6.1/baseboards/jmr3904-sim.exp --- dejagnu-1.6/baseboards/jmr3904-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/jmr3904-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/linux-gdbserver.exp dejagnu-1.6.1/baseboards/linux-gdbserver.exp --- dejagnu-1.6/baseboards/linux-gdbserver.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/linux-gdbserver.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/linux-libremote.exp dejagnu-1.6.1/baseboards/linux-libremote.exp --- dejagnu-1.6/baseboards/linux-libremote.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/linux-libremote.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/m68k-sid.exp dejagnu-1.6.1/baseboards/m68k-sid.exp --- dejagnu-1.6/baseboards/m68k-sid.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/m68k-sid.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/mcore-moto-sim.exp dejagnu-1.6.1/baseboards/mcore-moto-sim.exp --- dejagnu-1.6/baseboards/mcore-moto-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/mcore-moto-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/mcore-sim.exp dejagnu-1.6.1/baseboards/mcore-sim.exp --- dejagnu-1.6/baseboards/mcore-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/mcore-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/mips-lnews-sim.exp dejagnu-1.6.1/baseboards/mips-lnews-sim.exp --- dejagnu-1.6/baseboards/mips-lnews-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/mips-lnews-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/mips-lsi-sim.exp dejagnu-1.6.1/baseboards/mips-lsi-sim.exp --- dejagnu-1.6/baseboards/mips-lsi-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/mips-lsi-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/mips-sim.exp dejagnu-1.6.1/baseboards/mips-sim.exp --- dejagnu-1.6/baseboards/mips-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/mips-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/mips-sim-idt32.exp dejagnu-1.6.1/baseboards/mips-sim-idt32.exp --- dejagnu-1.6/baseboards/mips-sim-idt32.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/mips-sim-idt32.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/mips-sim-idt64.exp dejagnu-1.6.1/baseboards/mips-sim-idt64.exp --- dejagnu-1.6/baseboards/mips-sim-idt64.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/mips-sim-idt64.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/mips-sim-mti32.exp dejagnu-1.6.1/baseboards/mips-sim-mti32.exp --- dejagnu-1.6/baseboards/mips-sim-mti32.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/mips-sim-mti32.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyright (C) 2012 Free Software Foundation, Inc. +# Copyright (C) 2012-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/mips-sim-mti64_64.exp dejagnu-1.6.1/baseboards/mips-sim-mti64_64.exp --- dejagnu-1.6/baseboards/mips-sim-mti64_64.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/mips-sim-mti64_64.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyright (C) 2012 Free Software Foundation, Inc. +# Copyright (C) 2012-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/mips-sim-mti64.exp dejagnu-1.6.1/baseboards/mips-sim-mti64.exp --- dejagnu-1.6/baseboards/mips-sim-mti64.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/mips-sim-mti64.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyright (C) 2012 Free Software Foundation, Inc. +# Copyright (C) 2012-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/mips-sim-mti64_n32.exp dejagnu-1.6.1/baseboards/mips-sim-mti64_n32.exp --- dejagnu-1.6/baseboards/mips-sim-mti64_n32.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/mips-sim-mti64_n32.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyright (C) 2012 Free Software Foundation, Inc. +# Copyright (C) 2012-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/mips-sim-sde32.exp dejagnu-1.6.1/baseboards/mips-sim-sde32.exp --- dejagnu-1.6/baseboards/mips-sim-sde32.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/mips-sim-sde32.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyright (C) 2012 Free Software Foundation, Inc. +# Copyright (C) 2012-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/mips-sim-sde64.exp dejagnu-1.6.1/baseboards/mips-sim-sde64.exp --- dejagnu-1.6/baseboards/mips-sim-sde64.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/mips-sim-sde64.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyright (C) 2012 Free Software Foundation, Inc. +# Copyright (C) 2012-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/mmixware-sim.exp dejagnu-1.6.1/baseboards/mmixware-sim.exp --- dejagnu-1.6/baseboards/mmixware-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/mmixware-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/mn10200-sim.exp dejagnu-1.6.1/baseboards/mn10200-sim.exp --- dejagnu-1.6/baseboards/mn10200-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/mn10200-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/mn10300-sim.exp dejagnu-1.6.1/baseboards/mn10300-sim.exp --- dejagnu-1.6/baseboards/mn10300-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/mn10300-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/msp430-sim.exp dejagnu-1.6.1/baseboards/msp430-sim.exp --- dejagnu-1.6/baseboards/msp430-sim.exp 1970-01-01 00:00:00.000000000 +0000 +++ dejagnu-1.6.1/baseboards/msp430-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -0,0 +1,34 @@ +# This is a list of toolchains that are supported on this board. +set_board_info target_install {msp430-elf} + +# Load the generic configuration for this board. This will define a basic set +# of routines needed by the tool to communicate with the board. +load_generic_config "sim" + +# basic-sim.exp is a basic description for the standard Cygnus simulator. +load_base_board_description "basic-sim" + +# "msp430" is the name of the sim subdir. +setup_sim msp430 + +# No multilib options needed by default. +process_multilib_options "" + +# We only support newlib on this target. We assume that all multilib +# options have been specified before we get here. + +set_board_info compiler "[find_gcc]" +set_board_info cflags "[libgloss_include_flags] [newlib_include_flags] -msim" +set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" + +# Doesn't pass arguments or signals, and doesn't do inferiorio. +set_board_info noargs 1 +set_board_info gdb,nosignals 1 +set_board_info gdb,noinferiorio 1 +set_board_info gdb,no_hardware_watchpoints 1 +set_board_info gdb,skip_huge_test 1 + +# Limit the stack size to something real tiny. +set_board_info gcc,stack_size 4096 +set_board_info gcc,no_trampolines 1 +set_board_info gcc,timeout 30 diff -Nru dejagnu-1.6/baseboards/mt-sid.exp dejagnu-1.6.1/baseboards/mt-sid.exp --- dejagnu-1.6/baseboards/mt-sid.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/mt-sid.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/multi-sim.exp dejagnu-1.6.1/baseboards/multi-sim.exp --- dejagnu-1.6/baseboards/multi-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/multi-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyright (C) 2013 Free Software Foundation, Inc. +# Copyright (C) 2013-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/powerpcle-sim.exp dejagnu-1.6.1/baseboards/powerpcle-sim.exp --- dejagnu-1.6/baseboards/powerpcle-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/powerpcle-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/powerpc-sim.exp dejagnu-1.6.1/baseboards/powerpc-sim.exp --- dejagnu-1.6/baseboards/powerpc-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/powerpc-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/rx-sim.exp dejagnu-1.6.1/baseboards/rx-sim.exp --- dejagnu-1.6/baseboards/rx-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/rx-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyright (C) 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 2009-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/sh-sid.exp dejagnu-1.6.1/baseboards/sh-sid.exp --- dejagnu-1.6/baseboards/sh-sid.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/sh-sid.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/sh-sim.exp dejagnu-1.6.1/baseboards/sh-sim.exp --- dejagnu-1.6/baseboards/sh-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/sh-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, -# 2010 Free Software Foundation, Inc. +# Copyright (C) 2003-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/sparc64-sim.exp dejagnu-1.6.1/baseboards/sparc64-sim.exp --- dejagnu-1.6/baseboards/sparc64-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/sparc64-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/sparclite-sim.exp dejagnu-1.6.1/baseboards/sparclite-sim.exp --- dejagnu-1.6/baseboards/sparclite-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/sparclite-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/sparclite-sim-le.exp dejagnu-1.6.1/baseboards/sparclite-sim-le.exp --- dejagnu-1.6/baseboards/sparclite-sim-le.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/sparclite-sim-le.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/sparc-sim.exp dejagnu-1.6.1/baseboards/sparc-sim.exp --- dejagnu-1.6/baseboards/sparc-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/sparc-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/tx39-sim.exp dejagnu-1.6.1/baseboards/tx39-sim.exp --- dejagnu-1.6/baseboards/tx39-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/tx39-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/unix.exp dejagnu-1.6.1/baseboards/unix.exp --- dejagnu-1.6/baseboards/unix.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/unix.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/v850-sim.exp dejagnu-1.6.1/baseboards/v850-sim.exp --- dejagnu-1.6/baseboards/v850-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/v850-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/visium-sim.exp dejagnu-1.6.1/baseboards/visium-sim.exp --- dejagnu-1.6/baseboards/visium-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/visium-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyright (C) 2013-2015 Free Software Foundation, Inc. +# Copyright (C) 2013-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/vr4100-sim.exp dejagnu-1.6.1/baseboards/vr4100-sim.exp --- dejagnu-1.6/baseboards/vr4100-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/vr4100-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/vr4111-sim.exp dejagnu-1.6.1/baseboards/vr4111-sim.exp --- dejagnu-1.6/baseboards/vr4111-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/vr4111-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/vr4300-sim.exp dejagnu-1.6.1/baseboards/vr4300-sim.exp --- dejagnu-1.6/baseboards/vr4300-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/vr4300-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/baseboards/xtensa-sim.exp dejagnu-1.6.1/baseboards/xtensa-sim.exp --- dejagnu-1.6/baseboards/xtensa-sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/baseboards/xtensa-sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2007 -# 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/ChangeLog dejagnu-1.6.1/ChangeLog --- dejagnu-1.6/ChangeLog 2016-04-15 12:43:24.000000000 +0000 +++ dejagnu-1.6.1/ChangeLog 2017-10-16 11:43:20.000000000 +0000 @@ -1,6 +1,267 @@ -2016-04-15 Ben Elliston +2017-10-16 Ben Elliston + + * DejaGnu 1.6.1 released. + +2017-10-16 Ben Elliston + + * NEWS: Add entry for changes since version 1.6. + * configure.ac (AC_INIT): Update version number. + * configure: Regenerate. + * runtest.exp (frame_version): Update version number. + * doc/dejagnu.texi: Likewise. + * doc/runtest.1: Update datestamp. + +2017-10-16 Ben Elliston + + * config.guess: Update to version 2017-09-26. + * config.sub: Likewise. + +2017-09-13 Ben Elliston + + * lib/framework.exp (open_logs): Set XML version to 1.1. + (xml_tag): Skip valid whitespace chars (0x9, 0xA, 0xD). Include + missing 'x' in escape sequence. + +2017-08-29 Ben Elliston + + Revert these changes: + + 2016-04-25 Ben Elliston + + * testsuite/runtest.all/utils.test: Remove unsetenv test. + + 2016-04-24 Ben Elliston + + * lib/utils.exp (unsetenv): Remove proc. + * doc/dejagnu.texi: Update documentation. + * NEWS: Update. + +2017-08-19 Ben Elliston + + * lib/framework.exp (xml_tag): Escape all of the non-printable + control characters (ASCII codes 1 to 31 inclusive). + +2017-08-18 Tom Tromey + + * runtest.exp: Fix --directory matching. + +2017-08-15 Ben Elliston - * DejaGnu 1.6 released. + * lib/framework.exp (xml_tag): New proc. + (log_summary): Use it. + (record_test): Likewise. + +2017-08-15 Ben Elliston + + * lib/framework.exp (open_logs): Set .xml filename correctly. + * runtest.exp: Remove xml_file_name var. + (usage): Update --xml option to not take an argument. + (load_tool_init): Likewise. + * doc/dejagnu.texi (Invoking runtest): Update documentation. + * doc/runtest.1: Likewise. + +2017-08-01 Ben Elliston + + * runtest.exp (usage): Improve --strace message. + +2017-08-01 Ben Elliston + + * runtest.exp (usage): --reboot doesn't take a 'name' parameter. + +2017-06-04 Ben Elliston + + * lib/target.exp (push_target): Remove unnecessary global command. + * testsuite/runtest.all/target.test: Overhaul tests. + +2017-06-04 Ben Elliston + + * testsuite/runtest.all/remote.test: Remove cruft from yesteryear. + +2017-06-04 Tom de Vries + + * testsuite/runtest.all/target.test: Remove list_targets test. + +2017-06-04 Tom de Vries + + * testsuite/runtest.all/libs.exp (process_test): Dump entire + output when there's no reportable output. + * testsuite/runtest.all/remote.test (load_lib): New proc. + * testsuite/runtest.all/target.test (load_lib): Same. + +2017-03-11 Thomas Preud'homme + + * lib/remote.exp (remote_download): Add logging message when + source and destination file differ in name. + +2016-09-04 Jan Kratochvil + + * runtest.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE. + +2016-06-28 Ben Elliston + + * aclocal.m4, Makefile.in: Regenerate with automake 1.15. + * configure: Regenerate. + +2016-06-22 Bernhard Reutner-Fischer + + * configure.ac, dejagnu.h, runtest, runtest.exp, + baseboards/am33_2.0-libremote.exp, baseboards/androideabi.exp, + baseboards/arm-ice.exp, baseboards/arm-sid.exp, + baseboards/arm-sim.exp, baseboards/basic-sid.exp, + baseboards/basic-sim.exp, baseboards/cris-sim.exp, + baseboards/d30v-sim.exp, baseboards/fr30-sim.exp, + baseboards/frv-sim.exp, baseboards/gdbserver-sample.exp, + baseboards/i386-sid.exp, baseboards/iq2000-sim.exp, + baseboards/jmr3904-sim.exp, baseboards/linux-gdbserver.exp, + baseboards/linux-libremote.exp, baseboards/m68k-sid.exp, + baseboards/mcore-moto-sim.exp, baseboards/mcore-sim.exp, + baseboards/mips-lnews-sim.exp, baseboards/mips-lsi-sim.exp, + baseboards/mips-sim-idt32.exp, baseboards/mips-sim-idt64.exp, + baseboards/mips-sim-mti32.exp, baseboards/mips-sim-mti64.exp, + baseboards/mips-sim-mti64_64.exp, + baseboards/mips-sim-mti64_n32.exp, baseboards/mips-sim-sde32.exp, + baseboards/mips-sim-sde64.exp, baseboards/mips-sim.exp, + baseboards/mmixware-sim.exp, baseboards/mn10200-sim.exp, + baseboards/mn10300-sim.exp, baseboards/moxie-sim.exp, + baseboards/mt-sid.exp, baseboards/multi-sim.exp, + baseboards/powerpc-sim.exp, baseboards/powerpcle-sim.exp, + baseboards/rx-sim.exp, baseboards/sh-sid.exp, + baseboards/sh-sim.exp, baseboards/sparc-sim.exp, + baseboards/sparc64-sim.exp, baseboards/sparclite-sim-le.exp, + baseboards/sparclite-sim.exp, baseboards/tx39-sim.exp, + baseboards/unix.exp, baseboards/v850-sim.exp, + baseboards/visium-sim.exp, baseboards/vr4100-sim.exp, + baseboards/vr4111-sim.exp, baseboards/vr4300-sim.exp, + baseboards/xtensa-sim.exp, lib/debugger.exp, lib/dejagnu.exp, + lib/dg.exp, lib/ftp.exp, lib/kermit.exp, lib/remote.exp, + lib/rlogin.exp, lib/rsh.exp, lib/standard.exp, lib/target.exp, + lib/targetdb.exp, lib/telnet.exp, lib/tip.exp, lib/utils.exp, + testsuite/config/default.exp, testsuite/lib/libsup.exp, + testsuite/lib/util-defs.exp, testsuite/libdejagnu/tunit.exp, + testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp, + testsuite/runtest.all/stats-sub.exp, + testsuite/runtest.all/stats.exp, config/adb.exp, + config/default.exp, config/gdb-comm.exp, config/gdb_stub.exp, + config/sid.exp, config/sim.exp, config/unix.exp, + config/vxworks.exp: Update copyright date for 2016. + +2016-06-22 Bernhard Reutner-Fischer + + * baseboards/aarch64-sim.exp, baseboards/am33_2.0-libremote.exp, + baseboards/arm-ice.exp, baseboards/arm-sid.exp, + baseboards/arm-sim.exp, baseboards/basic-sid.exp, + baseboards/basic-sim.exp, baseboards/cris-sim.exp, + baseboards/d30v-sim.exp, baseboards/fr30-sim.exp, + baseboards/frv-sim.exp, baseboards/gdbserver-sample.exp, + baseboards/generic-sim.exp, baseboards/i386-sid.exp, + baseboards/iq2000-sim.exp, baseboards/jmr3904-sim.exp, + baseboards/linux-gdbserver.exp, baseboards/linux-libremote.exp, + baseboards/m68k-sid.exp, baseboards/mcore-moto-sim.exp, + baseboards/mcore-sim.exp, baseboards/mips-lnews-sim.exp, + baseboards/mips-lsi-sim.exp, baseboards/mips-sim-idt32.exp, + baseboards/mips-sim-idt64.exp, baseboards/mips-sim.exp, + baseboards/mmixware-sim.exp, baseboards/mn10200-sim.exp, + baseboards/mn10300-sim.exp, baseboards/mt-sid.exp, + baseboards/powerpc-sim.exp, baseboards/powerpcle-sim.exp, + baseboards/rx-sim.exp, baseboards/sh-sid.exp, + baseboards/sh-sim.exp, baseboards/sparc-sim.exp, + baseboards/sparc64-sim.exp, baseboards/sparclite-sim-le.exp, + baseboards/sparclite-sim.exp, baseboards/tx39-sim.exp, + baseboards/unix.exp, baseboards/v850-sim.exp, + baseboards/vr4100-sim.exp, baseboards/vr4111-sim.exp, + baseboards/vr4300-sim.exp, baseboards/xtensa-sim.exp, + lib/debugger.exp, lib/dejagnu.exp, lib/dg.exp, lib/framework.exp, + lib/ftp.exp, lib/kermit.exp, lib/libgloss.exp, lib/remote.exp, + lib/rlogin.exp, lib/rsh.exp, lib/standard.exp, lib/target.exp, + lib/targetdb.exp, lib/telnet.exp, lib/tip.exp, lib/utils.exp, + testsuite/config/default.exp, testsuite/lib/libsup.exp, + testsuite/lib/util-defs.exp, testsuite/libdejagnu/tunit.exp, + testsuite/libdejagnu/unit.cc, testsuite/runtest.all/libs.exp, + testsuite/runtest.all/options.exp, + testsuite/runtest.all/stats-sub.exp, + testsuite/runtest.all/stats.exp, config/default.exp, + config/gdb-comm.exp, config/gdb_stub.exp, config/sid.exp, + config/sim.exp, config/unix.exp, config/vxworks.exp, configure.ac, + dejagnu.h, runtest, runtest.exp: Use condensed years in copyright + statement. + +2016-06-22 Bernhard Reutner-Fischer + + * doc/runtest.1: Use condensed years in copyright statement. + +2016-06-21 Bernhard Reutner-Fischer + + * runtest: Quote paths. Use test -z, -n for clarity. + +2016-06-21 Bernhard Reutner-Fischer + + * config/adb.exp (adb_exec) Improve verbose message. + +2016-06-03 Jim Wilson + + * baseboards/aarch64-sim.exp: New file. + * Makefile.am (baseboard_DATA): Add aarch64-sim.exp. + * Makefile.in: Regenerate. + * lib/libgloss.exp (libgloss_link_flags): Map aarch64* to aarch64. + +2016-04-26 Ben Elliston + + * doc/dejagnu.texi: Fill more paragraphs. + +2016-04-25 Ben Elliston + + * testsuite/runtest.all/utils.test: Remove unsetenv test. + +2016-04-24 Ben Elliston + + * lib/utils.exp (unsetenv): Remove proc. + * doc/dejagnu.texi: Update documentation. + * NEWS: Update. + +2016-04-19 Nick Clifton + + * baseboards/msp430-sim.exp: New file. + * Makefile.am (baseboard_DATA): Add msp430-sim.exp. + * Makefile.in: Regenerate. + +2016-04-18 Ben Elliston + + * runtest: Remove quoting in final exec command. + +2016-04-17 Ben Elliston + + * lib/remote.exp: Load ssh.exp lib. + +2016-04-17 Ben Elliston + + * lib/rsh.exp (rsh_open): Fix description comment. + +2016-04-17 Ben Elliston + + Reported by shellcheck. + * runtest: Use $((..)) not `expr ..` and defensively double quote + shell variables. + +2016-04-17 Ben Elliston + + * Makefile.am (pkgdata_DATA): Add lib/ssh.exp, lib/dmucs.exp. + * Makefile.in: Regenerate. + +2016-04-17 Ben Elliston + + Reported by shellcheck. + * runtest: Use $((..)) not `expr ..`. + +2016-04-17 Ben Elliston + + * configure.ac (AC_INIT): Update version number. + * configure: Regenerate. + * runtest.exp (frame_version): Update version number. + * doc/dejagnu.texi: Likewise. + +2016-04-17 Ben Elliston + + * NEWS: Start a new section for the next release. 2016-04-15 Ben Elliston @@ -103,12 +364,6 @@ 2016-04-03 Ben Elliston - * configure.ac (AC_INIT): Set version to 1.6. - * configure: Regenerate. - * runtest.exp (frame_version): Set to 1.6. - -2016-04-03 Ben Elliston - * doc/dejagnu.texi: More overhauling. 2016-04-02 Ben Elliston diff -Nru dejagnu-1.6/config/adb.exp dejagnu-1.6.1/config/adb.exp --- dejagnu-1.6/config/adb.exp 2016-04-15 12:08:54.000000000 +0000 +++ dejagnu-1.6.1/config/adb.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyright (C) 2013 Free Software Foundation, Inc. +# Copyright (C) 2013-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # @@ -163,7 +163,7 @@ set inp "/dev/null" } - verbose "Executing on $boardname:$cmd $pargs < $inp " + verbose "Executing on $boardname: $cmd $pargs < $inp" # Execute commands only from temporary folder, therefore do "cd" first global android_tmp_dir diff -Nru dejagnu-1.6/config/default.exp dejagnu-1.6.1/config/default.exp --- dejagnu-1.6/config/default.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/config/default.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -# 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/config/gdb-comm.exp dejagnu-1.6.1/config/gdb-comm.exp --- dejagnu-1.6/config/gdb-comm.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/config/gdb-comm.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -# 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/config/gdb_stub.exp dejagnu-1.6.1/config/gdb_stub.exp --- dejagnu-1.6/config/gdb_stub.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/config/gdb_stub.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -# 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/config/sid.exp dejagnu-1.6.1/config/sid.exp --- dejagnu-1.6/config/sid.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/config/sid.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -# 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/config/sim.exp dejagnu-1.6.1/config/sim.exp --- dejagnu-1.6/config/sim.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/config/sim.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -# 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/config/unix.exp dejagnu-1.6.1/config/unix.exp --- dejagnu-1.6/config/unix.exp 2016-04-08 22:00:22.000000000 +0000 +++ dejagnu-1.6.1/config/unix.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -# 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/config/vxworks.exp dejagnu-1.6.1/config/vxworks.exp --- dejagnu-1.6/config/vxworks.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/config/vxworks.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -# 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/config.guess dejagnu-1.6.1/config.guess --- dejagnu-1.6/config.guess 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/config.guess 2017-10-16 03:44:19.000000000 +0000 @@ -1,8 +1,8 @@ #! /bin/sh # Attempt to guess a canonical system name. -# Copyright 1992-2016 Free Software Foundation, Inc. +# Copyright 1992-2017 Free Software Foundation, Inc. -timestamp='2016-04-02' +timestamp='2017-09-26' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -15,7 +15,7 @@ # General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, see . +# along with this program; if not, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a @@ -27,7 +27,7 @@ # Originally written by Per Bothner; maintained since 2000 by Ben Elliston. # # You can get the latest version of this script from: -# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess +# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess # # Please send patches to . @@ -50,7 +50,7 @@ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright 1992-2016 Free Software Foundation, Inc. +Copyright 1992-2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -186,9 +186,12 @@ *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched - # to ELF recently, or will in the future. + # to ELF recently (or will in the future) and ABI. case "${UNAME_MACHINE_ARCH}" in - arm*|earm*|i386|m68k|ns32k|sh3*|sparc|vax) + earm*) + os=netbsdelf + ;; + arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ELF__ @@ -256,6 +259,9 @@ *:Sortix:*:*) echo ${UNAME_MACHINE}-unknown-sortix exit ;; + *:Redox:*:*) + echo ${UNAME_MACHINE}-unknown-redox + exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) @@ -312,15 +318,6 @@ exitcode=$? trap '' 0 exit $exitcode ;; - Alpha\ *:Windows_NT*:*) - # How do we know it's Interix rather than the generic POSIX subsystem? - # Should we change UNAME_MACHINE based on the output of uname instead - # of the specific Alpha model? - echo alpha-pc-interix - exit ;; - 21064:Windows_NT:50:3) - echo alpha-dec-winnt3.5 - exit ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit ;; @@ -834,10 +831,11 @@ UNAME_PROCESSOR=`/usr/bin/uname -p` case ${UNAME_PROCESSOR} in amd64) - echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; - *) - echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + UNAME_PROCESSOR=x86_64 ;; + i386) + UNAME_PROCESSOR=i586 ;; esac + echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin @@ -851,10 +849,6 @@ *:MSYS*:*) echo ${UNAME_MACHINE}-pc-msys exit ;; - i*:windows32*:*) - # uname -m includes "-pc" on this system. - echo ${UNAME_MACHINE}-mingw32 - exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; @@ -870,27 +864,12 @@ echo ia64-unknown-interix${UNAME_RELEASE} exit ;; esac ;; - [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) - echo i${UNAME_MACHINE}-pc-mks - exit ;; - 8664:Windows_NT:*) - echo x86_64-pc-mks - exit ;; - i*:Windows_NT*:* | Pentium*:Windows_NT*:*) - # How do we know it's Interix rather than the generic POSIX subsystem? - # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we - # UNAME_MACHINE based on the output of uname instead of i386? - echo i586-pc-interix - exit ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; - p*:CYGWIN*:*) - echo powerpcle-unknown-cygwin - exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; @@ -997,6 +976,9 @@ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } ;; + mips64el:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; openrisc*:Linux:*:*) echo or1k-unknown-linux-${LIBC} exit ;; @@ -1029,6 +1011,9 @@ ppcle:Linux:*:*) echo powerpcle-unknown-linux-${LIBC} exit ;; + riscv32:Linux:*:* | riscv64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux-${LIBC} exit ;; @@ -1294,14 +1279,21 @@ if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then if [ "$CC_FOR_BUILD" != no_compiler_found ]; then if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ - (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ - grep IS_64BIT_ARCH >/dev/null + (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null then case $UNAME_PROCESSOR in i386) UNAME_PROCESSOR=x86_64 ;; powerpc) UNAME_PROCESSOR=powerpc64 ;; esac fi + # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc + if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \ + (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_PPC >/dev/null + then + UNAME_PROCESSOR=powerpc + fi fi elif test "$UNAME_PROCESSOR" = i386 ; then # Avoid executing cc on OS X 10.9, as it ships with a stub @@ -1325,15 +1317,18 @@ *:QNX:*:4*) echo i386-pc-qnx exit ;; - NEO-?:NONSTOP_KERNEL:*:*) + NEO-*:NONSTOP_KERNEL:*:*) echo neo-tandem-nsk${UNAME_RELEASE} exit ;; NSE-*:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; - NSR-?:NONSTOP_KERNEL:*:*) + NSR-*:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit ;; + NSX-*:NONSTOP_KERNEL:*:*) + echo nsx-tandem-nsk${UNAME_RELEASE} + exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit ;; @@ -1405,21 +1400,32 @@ exit ;; esac +echo "$0: unable to guess system type" >&2 + +case "${UNAME_MACHINE}:${UNAME_SYSTEM}" in + mips:Linux | mips64:Linux) + # If we got here on MIPS GNU/Linux, output extra information. + cat >&2 <&2 < in order to provide the needed -information to handle your system. +If $0 has already been updated, send the following data and any +information you think might be pertinent to config-patches@gnu.org to +provide the necessary information to handle your system. config.guess timestamp = $timestamp @@ -1447,7 +1453,7 @@ exit 1 # Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) +# eval: (add-hook 'write-file-functions 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" diff -Nru dejagnu-1.6/config.sub dejagnu-1.6.1/config.sub --- dejagnu-1.6/config.sub 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/config.sub 2017-10-16 03:44:19.000000000 +0000 @@ -1,8 +1,8 @@ #! /bin/sh # Configuration validation subroutine script. -# Copyright 1992-2016 Free Software Foundation, Inc. +# Copyright 1992-2017 Free Software Foundation, Inc. -timestamp='2016-03-30' +timestamp='2017-09-26' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -15,7 +15,7 @@ # General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, see . +# along with this program; if not, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a @@ -33,7 +33,7 @@ # Otherwise, we print the canonical config type on stdout and succeed. # You can get the latest version of this script from: -# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub +# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases @@ -67,7 +67,7 @@ version="\ GNU config.sub ($timestamp) -Copyright 1992-2016 Free Software Foundation, Inc. +Copyright 1992-2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -117,7 +117,7 @@ nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \ - kopensolaris*-gnu* | \ + kopensolaris*-gnu* | cloudabi*-eabi* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` @@ -229,9 +229,6 @@ -ptx*) basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` ;; - -windowsnt*) - os=`echo $os | sed -e 's/windowsnt/winnt/'` - ;; -psos*) os=-psos ;; @@ -263,7 +260,7 @@ | fido | fr30 | frv | ft32 \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | hexagon \ - | i370 | i860 | i960 | ia64 \ + | i370 | i860 | i960 | ia16 | ia64 \ | ip2k | iq2000 \ | k1om \ | le32 | le64 \ @@ -301,6 +298,7 @@ | open8 | or1k | or1knd | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle \ + | pru \ | pyramid \ | riscv32 | riscv64 \ | rl78 | rx \ @@ -314,6 +312,7 @@ | ubicom32 \ | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ | visium \ + | wasm32 \ | we32k \ | x86 | xc16x | xstormy16 | xtensa \ | z8k | z80) @@ -387,7 +386,7 @@ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | hexagon-* \ - | i*86-* | i860-* | i960-* | ia64-* \ + | i*86-* | i860-* | i960-* | ia16-* | ia64-* \ | ip2k-* | iq2000-* \ | k1om-* \ | le32-* | le64-* \ @@ -428,6 +427,7 @@ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ + | pru-* \ | pyramid-* \ | riscv32-* | riscv64-* \ | rl78-* | romp-* | rs6000-* | rx-* \ @@ -444,6 +444,7 @@ | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ | vax-* \ | visium-* \ + | wasm32-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* \ | xstormy16-* | xtensa*-* \ @@ -643,6 +644,14 @@ basic_machine=m68k-bull os=-sysv3 ;; + e500v[12]) + basic_machine=powerpc-unknown + os=$os"spe" + ;; + e500v[12]-*) + basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` + os=$os"spe" + ;; ebmon29k) basic_machine=a29k-amd os=-ebmon @@ -938,6 +947,9 @@ nsr-tandem) basic_machine=nsr-tandem ;; + nsx-tandem) + basic_machine=nsx-tandem + ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf @@ -1022,7 +1034,7 @@ ppc-* | ppcbe-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; - ppcle | powerpclittle | ppc-le | powerpc-little) + ppcle | powerpclittle) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) @@ -1032,7 +1044,7 @@ ;; ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; - ppc64le | powerpc64little | ppc64-le | powerpc64-little) + ppc64le | powerpc64little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) @@ -1233,6 +1245,9 @@ basic_machine=a29k-wrs os=-vxworks ;; + wasm32) + basic_machine=wasm32-unknown + ;; w65*) basic_machine=w65-wdc os=-none @@ -1241,6 +1256,9 @@ basic_machine=hppa1.1-winbond os=-proelf ;; + x64) + basic_machine=x86_64-pc + ;; xbox) basic_machine=i686-pc os=-mingw32 @@ -1348,8 +1366,8 @@ if [ x"$os" != x"" ] then case $os in - # First match some system type aliases - # that might get confused with valid system types. + # First match some system type aliases that might get confused + # with valid system types. # -solaris* is a basic system type, with this one exception. -auroraux) os=-auroraux @@ -1369,9 +1387,9 @@ -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; - # First accept the basic system types. + # Now accept the basic system types. # The portable systems comes first. - # Each alternative MUST END IN A *, to match a version number. + # Each alternative MUST end in a * to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ @@ -1387,9 +1405,9 @@ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ - | -chorusos* | -chorusrdb* | -cegcc* \ + | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ + | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ @@ -1399,7 +1417,7 @@ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \ - | -onefs* | -tirtos*) + | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) @@ -1628,6 +1646,9 @@ sparc-* | *-sun) os=-sunos4.1.1 ;; + pru-*) + os=-elf + ;; *-be) os=-beos ;; @@ -1808,7 +1829,7 @@ exit # Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) +# eval: (add-hook 'write-file-functions 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" diff -Nru dejagnu-1.6/configure dejagnu-1.6.1/configure --- dejagnu-1.6/configure 2016-04-15 12:50:40.000000000 +0000 +++ dejagnu-1.6.1/configure 2017-10-16 11:43:24.000000000 +0000 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for GNU DejaGnu 1.6. +# Generated by GNU Autoconf 2.69 for GNU DejaGnu 1.6.1. # # Report bugs to . # @@ -579,8 +579,8 @@ # Identity of this package. PACKAGE_NAME='GNU DejaGnu' PACKAGE_TARNAME='dejagnu' -PACKAGE_VERSION='1.6' -PACKAGE_STRING='GNU DejaGnu 1.6' +PACKAGE_VERSION='1.6.1' +PACKAGE_STRING='GNU DejaGnu 1.6.1' PACKAGE_BUGREPORT='bug-dejagnu@gnu.org' PACKAGE_URL='http://www.gnu.org/software/dejagnu/' @@ -664,6 +664,7 @@ docdir oldincludedir includedir +runstatedir localstatedir sharedstatedir sysconfdir @@ -739,6 +740,7 @@ sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' +runstatedir='${localstatedir}/run' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' @@ -991,6 +993,15 @@ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; + -runstatedir | --runstatedir | --runstatedi | --runstated \ + | --runstate | --runstat | --runsta | --runst | --runs \ + | --run | --ru | --r) + ac_prev=runstatedir ;; + -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ + | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ + | --run=* | --ru=* | --r=*) + runstatedir=$ac_optarg ;; + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ @@ -1128,7 +1139,7 @@ for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir + libdir localedir mandir runstatedir do eval ac_val=\$$ac_var # Remove trailing slashes. @@ -1241,7 +1252,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures GNU DejaGnu 1.6 to adapt to many kinds of systems. +\`configure' configures GNU DejaGnu 1.6.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1281,6 +1292,7 @@ --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] @@ -1307,7 +1319,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of GNU DejaGnu 1.6:";; + short | recursive ) echo "Configuration of GNU DejaGnu 1.6.1:";; esac cat <<\_ACEOF @@ -1404,7 +1416,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -GNU DejaGnu configure 1.6 +GNU DejaGnu configure 1.6.1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1497,7 +1509,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by GNU DejaGnu $as_me 1.6, which was +It was created by GNU DejaGnu $as_me 1.6.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -1845,7 +1857,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu -am__api_version='1.14' +am__api_version='1.15' ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do @@ -2046,8 +2058,8 @@ ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` +# Expand $ac_aux_dir to an absolute path. +am_aux_dir=`cd "$ac_aux_dir" && pwd` if test x"${MISSING+set}" != xset; then case $am_aux_dir in @@ -2066,7 +2078,7 @@ $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} fi -if test x"${install_sh}" != xset; then +if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; @@ -2360,7 +2372,7 @@ # Define the identity of the package. PACKAGE='dejagnu' - VERSION='1.6' + VERSION='1.6.1' cat >>confdefs.h <<_ACEOF @@ -2394,8 +2406,8 @@ # mkdir_p='$(MKDIR_P)' -# We need awk for the "check" target. The system "awk" is bad on -# some platforms. +# We need awk for the "check" target (and possibly the TAP driver). The +# system "awk" is bad on some platforms. # Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AMTAR='$${TAR-tar}' @@ -2453,6 +2465,7 @@ fi fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -4583,7 +4596,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by GNU DejaGnu $as_me 1.6, which was +This file was extended by GNU DejaGnu $as_me 1.6.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4642,7 +4655,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -GNU DejaGnu config.status 1.6 +GNU DejaGnu config.status 1.6.1 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -Nru dejagnu-1.6/configure.ac dejagnu-1.6.1/configure.ac --- dejagnu-1.6/configure.ac 2016-04-15 12:38:23.000000000 +0000 +++ dejagnu-1.6.1/configure.ac 2017-10-16 11:43:20.000000000 +0000 @@ -1,7 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -dnl Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -dnl 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +dnl Copyright (C) 1992-2016 Free Software Foundation, Inc. dnl dnl This file is part of DejaGnu. dnl @@ -20,7 +19,7 @@ dnl Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. AC_PREREQ(2.50) -AC_INIT([GNU DejaGnu], 1.6, [bug-dejagnu@gnu.org]) +AC_INIT([GNU DejaGnu], 1.6.1, [bug-dejagnu@gnu.org]) AM_INIT_AUTOMAKE([1.14 subdir-objects]) AM_MAINTAINER_MODE AC_PROG_MAKE_SET diff -Nru dejagnu-1.6/debian/changelog dejagnu-1.6.1/debian/changelog --- dejagnu-1.6/debian/changelog 2016-11-23 16:53:27.000000000 +0000 +++ dejagnu-1.6.1/debian/changelog 2017-11-25 08:37:33.000000000 +0000 @@ -1,3 +1,12 @@ +dejagnu (1.6.1-1) unstable; urgency=medium + + * New upstream bugfix release + * debian/watch: check upstream signatures + * debian/control: bump standars version, no changes + * debian/compat: switch to compat 9, no changes + + -- Héctor Orón Martínez Sat, 25 Nov 2017 09:37:33 +0100 + dejagnu (1.6-1.1) unstable; urgency=medium * Non-maintainer upload. diff -Nru dejagnu-1.6/debian/compat dejagnu-1.6.1/debian/compat --- dejagnu-1.6/debian/compat 2016-11-23 16:51:49.000000000 +0000 +++ dejagnu-1.6.1/debian/compat 2017-11-25 08:35:39.000000000 +0000 @@ -1 +1 @@ -7 +9 diff -Nru dejagnu-1.6/debian/control dejagnu-1.6.1/debian/control --- dejagnu-1.6/debian/control 2016-11-23 16:52:18.000000000 +0000 +++ dejagnu-1.6.1/debian/control 2017-11-25 08:34:52.000000000 +0000 @@ -2,7 +2,7 @@ Section: devel Priority: optional Maintainer: Héctor Orón Martínez -Standards-Version: 3.9.7 +Standards-Version: 4.1.1 Build-Depends: cdbs (>= 0.4.17), quilt (>= 0.30), debhelper (>= 7) Build-Depends-Indep: texinfo, docbook-utils, docbook-xml, texlive-base, imagemagick, ghostscript, transfig, expect diff -Nru dejagnu-1.6/debian/upstream/signing-key.asc dejagnu-1.6.1/debian/upstream/signing-key.asc --- dejagnu-1.6/debian/upstream/signing-key.asc 1970-01-01 00:00:00.000000000 +0000 +++ dejagnu-1.6.1/debian/upstream/signing-key.asc 2017-11-25 08:32:10.000000000 +0000 @@ -0,0 +1,64 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBFiERQ8BEACyGRqh0enp+cRXlShgoR0K1NDn8yy/9GVzrlpyr0hwBHBuNmMk +6ACYg9mLHB7eKyzSWF3iuteLpzkpJFG9dpWVFSlmCHBKTERjyScvRBr7Rny80WTT +7rpNdpRVVJnIeY3pWkHiF7kNwa/fIKeVannvhOeQmsLET4ArSQlCjM/Op2p/dhuB +b3gFTDdpJU2+xKhVHN1i4ZohbRCrnJreUI2jvyH2pPLuvQdrKTogXoJKLZLz7VQT +N7fwSF9b2H1XzsXyoW10KtVqcGi0XmJ9q+GbPvYdi3abYIXIovng/CNtijLyxWeH +717v91zlV7YhEzy2BaERvL5iNg+YNkWJ/rDQ0Dy3nu5f0xooyM8RhYnKuB3d71Aq ++MmiXhXIOemq9tZhFzuwXElycPd4k4jdkmZJZFwDycz4ZtQxGtBXMKBCotW7XHFE +XdDvwP3tNd/VsTvFTmyCqJwBNp+rn2xf3o6n4BLK+651sv2qmbnuf8pRD7Vpt0Ze +kSqsJWbRQRNtWWfbMfJRjUY/sKKgkOtTwljvyEe9/s6nVI9suzt/g0kT5qz5uOD/ +F+22cQLOIgWVP1Q+xThBvJJgLbOyDjaomMejxXtY21jTQnvvolPTEtidtsb5/jeF +CVqnDv/ssrCqrGpkzsjraCBNGHBE42Vm7tMuwVLSbEZ763sRAAwq2qUktwARAQAB +tB1CZW4gRWxsaXN0b24gPGJqZUBhaXIubmV0LmF1PokCQAQTAQgAKgIbAwUJA8Jn +AAULCQgHAwUVCgkICwUWAgMBAAIeAQIXgAUCWIRIyAIZAQAKCRBn2tw+P3Q2Sdyu +EACIBpmJ6N81b5IX67c86ahjSO7Mi3j1jyw3s6evozOTCJShmV1Wk74287t8XDcY +tBTJBwqialUUdTun21wK0Y7uG+yzg7snlLv1A+t+LD5ocZMAJO2O4gO1gQ+MG026 +dC98MJ1m5mC0PBPIa7RlxhC/ExeGmeaE+MlQJojTc1i6aZwdy4ugtpsO6sjKbjyF +b/czVorMdpnCQLMyoHsc2//WQ38EP4ewbd0EDuYVtRiHXh8rXWp46a4Ulx6ggCIw +gjJfeJc9lMWC8hs2f6a4Bv8xZmCIu76JL/Oby4TH+jmfeBKm9Gp0g/PI8JIoxG0v +25fkxx28nolhI5Ykc3meq9mcpFpSRhBv7hOfVp7oeXpann2Q9gUnGNGrnKtIqQe/ +Qhv+ni27VXLJJq8VvDPy3jJ6lOgcbLVHRV+vKee3OOzSH+0d53JsqYGJuzE4+29R +46XtZEZKDdTeYJuAeF+agLXhE/9MWtmBW0qw0KXfpxz6EqxuMs7ID09eWzczHCby +ToZELRP/Gl2z/n4li9N4qIIXBqs7lD+9W9ACm8OTP5J97IQOfrZp4zX2Y/hppAo4 +nQ/HGpAbmC8bmVjMPVUic957RqdaWCimIzrA5ZT+yRm4s+Url+anFllvQ8iYwlxh +rbR5iawQLL/0M4YP3uJ4Gt76R1cTu4lBoHormCEUSdDak7QoQmVuIEVsbGlzdG9u +IDxiZW4uZWxsaXN0b25AaXRwYXUuY29tLmF1PokCPQQTAQgAJwUCWIRHuwIbAwUJ +A8JnAAULCQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRBn2tw+P3Q2SeDlEACpXigE +df07k8u76Rc5XeGwQakgwT+22JsaUtG5iOvVtIhIms7tLRMhhRdNgjNDK7+XHOQ0 +a47WmUxWhgrvp8kro+8Hh8srkGK02iSvbolbHWiA3r1eruHgxSmWtOi5rM+6xRhp +Q43feuxi0Ps1+jwLuUxddidPDAh6Jc/YJeaEO/7ins7MeHmRIRy5G6S+OlDyEysV +MjDmvYJJhiLt5JQXR0W2Ww9vCsDBLIcEhomzOH1jalzS8EKgRRUij/K1+ScdM1bT +fukh5aoz3VXM7NE4LOwH7AUcIiwGvf7d5uSFGFlFSX0/YGwZIEm+m4kBlZgCfUAL +hK2zUGbmn3irb65R2t8wfa3dSYBqz7tBQ1WD1oUnYIk1Zm9bGLaanwYGVgRw9WgJ +eXdhgqd6XUKyonr0UTbjBAM0KES3XIxv8v9iJTHcvOtzqQkNFLgy97x0rfXtwrOs +w1hWdWpK9kgfvzJn8l9d7Bwo//bjR0OMS+Fj2mvAguZloWl4pBTzdLGM+cR43EZ8 +6iyaFZuWPpeuEqw1zpMFsAwom1q9F/FntBeVqz6CQ1UZ3EHvLYk8KoEf5z1hVceN +ikT9E4E9Fw0jJAWMaRXWiGBb6EtSvKNuI7FLZqw/9jJyuxdjMyi77hdkaPmit381 +2kPdXoxYEnSGY8/mCezuzXS1onBF4Ek4+spScbkCDQRYhEUPARAAo8xjYXn/NdJl +i6Jt0jj6EcX3uv1L1BlLUSiEWHaYM1XMBndeHeExvv14Q0RTQBrOKO1rRsNQBKSg +rN1LiDIllM+vTZlgtJiOu986om7E9z24PR1B+LghnrcRkBoGg2KZap8VOL93X543 +8Aj8g3nM7awtl0VkXHnKZs+uL27J5/UviZ89g+cW+zpxRvDlUKtRgtaW/DF4XGP5 +sF+3WNC/2XdJ5sAahccgTZSGY7smDw19eAC+jGdFYBNAkjrhs3ZGlSHXocy042Uu +OqnnPs1QRR/exun2OB4zEnDerx3bSiRenLo7FAv46MhZW2TE1idO9UP7A0qbluVQ +Q54sCRZFr1OX29070AzF78P8tZT0LRVRYHF4BAaxjYX3YtqyzNmHIQQuiSwPCLxD +FUvrMinjkYFyJogMkfxBtLadAscyrpTcyqZEV09MHFDO/BiOhqEOupT+V7rnB+Wy +uPxEvDfm90zxoEGggrBuEcGQkXDQB8wRB8xGDwipAt3oT51SVBb9kYlAvALaXpqW +CZcQaLYm0JCoelYy3a82DE740xmGuJgdLPUZCNcaZqapG+s2F/todze1D08NmtDt +ALuwFIyQ7e0LFmEP+CfHlTL/ioiOegV/iohyZTzb0eX3eoSg6ddav/nhUhnxx9Zu +rsXgwhSmLCQq7ApFQQcncFvtC47cQ80AEQEAAYkCJQQYAQgADwUCWIRFDwIbDAUJ +A8JnAAAKCRBn2tw+P3Q2SSdFEACb9iIoAHtnnTo/3CWY7KTT2DpjXYzDqrJq3Yf0 +leNRnzKOjfbB296XlgeXq/Np6GgYk8aX/muxMgRfVrBg44z0XOUEboIN/tFR8PuC +odzBjcd5QYJVOwgsePJYOUkJER8jTucVV86Y1dBeCFNa9n5T6xAi4eO/R1orTLnT +6X6SW1Bxcwg0ggDiVwDD1Z+zhl1018eSamRCxss5EnsbRPyEt2bG9bLLjcJlXl3h +Dq/fJyLS+jJeGvmFeg6UWHLI+YLSHg2OqsGBs4wTWyDRf9ejr2PSVKTnW8kRyORg +nQdIASQ4HmDQwtoAlODQrg72iVPA+GOzr7JxV2AfQg55PfWXCcSeFe1ESxpnIkQz +1sXz7/ME6dLaDemmgo7ZAk+qyLK9imZaKAtSccj3REQMp4zFTWIe2BjNTZxrBvgn +ufHxd5P8yif+OEThbanwe9cWdqFcuPWA/Z2MVcewECZwqch/PxPcLM6QRWUykdMO +36cPkDdVUOKx7vemQmgFxR109qqfuIBTmUUCjwTfeJfb72fcB7RJu0K67eAVyGPX +vnSWBrmJMhowFysst2Agq89cU+lAEJJHMs7kuuOgTcDUAE6o/a6ChPASy0z3zE6z +1jWX44npuQIDlPPCGG7Qx+pf8APZ1b+9sgoRus3yAhODnqrRD2hjbs/SLEBj0FBl +Guffrw== +=mWzw +-----END PGP PUBLIC KEY BLOCK----- diff -Nru dejagnu-1.6/debian/watch dejagnu-1.6.1/debian/watch --- dejagnu-1.6/debian/watch 2016-11-23 16:51:49.000000000 +0000 +++ dejagnu-1.6.1/debian/watch 2017-11-25 08:32:10.000000000 +0000 @@ -1,3 +1,4 @@ version=3 http://ftp.heanet.ie/mirrors/gnu/dejagnu \ dejagnu-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) +opts=pgpsigurlmangle=s/$/.sig/ diff -Nru dejagnu-1.6/dejagnu.h dejagnu-1.6.1/dejagnu.h --- dejagnu-1.6/dejagnu.h 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/dejagnu.h 2017-10-16 03:44:19.000000000 +0000 @@ -1,6 +1,5 @@ /* DejaGnu unit testing header. - Copyright (C) 2000, 2001, 2002, 2004, 2006 Free Software - Foundation, Inc. + Copyright (C) 2000-2016 Free Software Foundation, Inc. This file is part of DejaGnu. diff -Nru dejagnu-1.6/doc/dejagnu.info dejagnu-1.6.1/doc/dejagnu.info --- dejagnu-1.6/doc/dejagnu.info 2016-04-10 10:17:47.000000000 +0000 +++ dejagnu-1.6.1/doc/dejagnu.info 2017-10-16 11:43:32.000000000 +0000 @@ -1,4 +1,4 @@ -This is dejagnu.info, produced by makeinfo version 5.2 from +This is dejagnu.info, produced by makeinfo version 6.1 from dejagnu.texi. INFO-DIR-SECTION Programming @@ -12,7 +12,7 @@ DejaGnu ******* -This file documents DejaGnu version 1.6. +This file documents DejaGnu version 1.6.1. * Menu: @@ -631,10 +631,9 @@ '-V', '--version' Prints out the version numbers of DejaGnu, Expect, and Tcl. -'-x', '--xml=FILE' - Generate XML output. FILE is optional; if given it is the name of - the output file. If not given, the output file is named after the - tool. +'-x', '--xml' + Generate XML output. The output file is named after the tool with + an .xml extension. 'testfile'.exp[=arg(s)] Specify the names of testsuites to run. By default, _runtest_ runs @@ -1201,11 +1200,11 @@ directory to be the same as the FTP default directory. Change the Mode prompt to simple. - Ok, now you need to pick a directory name to do all the testing in. -For the sake of this example, we'll call it piggy (i.e. c:\piggy). -Create this directory. + Now you need to pick a directory name to do all the testing in. For +the sake of this example, we'll call it piggy (i.e. c:\piggy). Create +this directory. - You'll need a unix machine. Create a directory for the scripts + You'll need a Unix machine. Create a directory for the scripts you'll need. For this example, we'll use /usr/local/swamp/testing. You'll need to have a source tree somewhere, say /usr/src/devo. Now, copy some files from releng's area in SV to your machine: @@ -4782,234 +4781,234 @@  Tag Table: Node: Top204 -Node: Introduction1337 -Node: What is DejaGnu?1629 -Node: Release Notes4133 -Node: Design goals6072 -Node: A POSIX Conforming Test Framework7715 -Node: Installation12804 -Node: Running tests13590 -Node: Make Check14240 -Node: Runtest15391 -Node: Output States16116 -Node: Invoking runtest18614 -Node: Common Operations26904 -Node: Output Files28310 -Node: Summary log file28931 -Node: Detailed log file30745 -Node: Debug log file32623 -Node: Customizing DejaGnu36438 -Node: Global config file38608 -Node: Local config file41210 -Node: Board config file45096 -Node: Remote host testing48349 -Node: Config file values52536 -Node: Command line option variables53039 -Node: User configuration file55729 -Node: Extending DejaGnu56616 -Node: Adding a new testsuite57032 -Node: Adding a new tool57528 -Node: Adding a new target64493 -Node: Adding a new board66445 -Node: Board file values69378 -Node: Writing a test case74403 -Node: Debugging a test case79383 -Node: Adding a test case to a testsuite81611 -Node: Test case variables82734 -Node: Unit testing84076 -Node: What is unit testing?84344 -Node: The dejagnu_h header file85174 -Node: C unit testing API85911 -Node: C++ unit testing API86879 -Node: Reference87873 -Node: Builtin Procedures88002 -Node: Core Internal Procedures88552 -Node: open_logs procedure89971 -Node: close_logs procedure90177 -Node: isbuild procedure90413 -Node: is_remote procedure91106 -Node: is3way procedure91372 -Node: ishost procedure91736 -Node: istarget procedure92312 -Node: isnative procedure93000 -Node: log_and_exit procedure93376 -Node: log_summary procedure93599 -Node: setup_xfail procedure93838 -Node: pass procedure95365 -Node: fail procedure95790 -Node: xpass procedure96208 -Node: xfail procedure96663 -Node: set_warning_threshold procedure97061 -Node: get_warning_threshold procedure97549 -Node: warning procedure97991 -Node: perror procedure99389 -Node: note procedure100461 -Node: untested procedure101035 -Node: unresolved procedure101549 -Node: unsupported procedure102135 -Node: transform procedure102613 -Node: check_conditional_xfail procedure103278 -Node: clear_xfail procedure105933 -Node: verbose procedure106525 -Node: load_lib procedure107425 -Node: Procedures For Remote Communication108573 -Node: call_remote procedure111967 -Node: check_for_board_status procedure112224 -Node: file_on_build procedure112525 -Node: file_on_host procedure112812 -Node: local_exec procedure113084 -Node: remote_binary procedure113370 -Node: remote_close procedure113625 -Node: remote_download procedure114129 -Node: remote_exec procedure114417 -Node: remote_expect procedure114708 -Node: remote_file procedure114997 -Node: remote_ld procedure115259 -Node: remote_load procedure115512 -Node: remote_open procedure115783 -Node: remote_pop_conn procedure116576 -Node: remote_push_conn procedure116846 -Node: remote_raw_binary procedure117125 -Node: remote_raw_close procedure117408 -Node: remote_raw_file procedure117687 -Node: remote_raw_ld procedure117972 -Node: remote_raw_load procedure118249 -Node: remote_raw_open procedure118544 -Node: remote_raw_send procedure118817 -Node: remote_raw_spawn procedure119107 -Node: remote_raw_transmit procedure119414 -Node: remote_raw_wait procedure119716 -Node: remote_reboot procedure120009 -Node: remote_send procedure120454 -Node: remote_spawn procedure120722 -Node: remote_swap_conn procedure121018 -Node: remote_transmit procedure121288 -Node: remote_upload procedure121572 -Node: remote_wait procedure121861 -Node: standard_close procedure122133 -Node: standard_download procedure122400 -Node: standard_exec procedure122710 -Node: standard_file procedure122995 -Node: standard_load procedure123260 -Node: standard_reboot procedure123547 -Node: standard_send procedure124022 -Node: standard_spawn procedure124302 -Node: standard_transmit procedure124597 -Node: standard_upload procedure124889 -Node: standard_wait procedure125200 -Node: unix_clean_filename procedure125487 -Node: connprocs125752 -Node: telnet procedure127214 -Node: rsh procedure127401 -Node: tip procedure128129 -Node: kermit procedure128817 -Node: kermit_open procedure129449 -Node: kermit_command procedure129680 -Node: kermit_send procedure129925 -Node: kermit_transmit procedure130181 -Node: telnet_open procedure130442 -Node: telnet_binary procedure130689 -Node: telnet_transmit procedure130932 -Node: tip_open procedure131194 -Node: rlogin_open procedure131417 -Node: rlogin_spawn procedure131636 -Node: rsh_open procedure131878 -Node: rsh_download procedure132099 -Node: rsh_upload procedure132368 -Node: rsh_exec procedure132631 -Node: ssh_close procedure132871 -Node: ssh_exec procedure133089 -Node: ssh_download procedure133363 -Node: ssh_upload procedure133632 -Node: ftp_open procedure133895 -Node: ftp_upload procedure134104 -Node: ftp_download procedure134367 -Node: ftp_close procedure134637 -Node: tip_download procedure134854 -Node: Procedures For Target Boards135413 -Node: default_link procedure136171 -Node: default_target_assemble procedure136451 -Node: default_target_compile procedure136789 -Node: pop_config procedure137138 -Node: prune_warnings procedure137388 -Node: push_build procedure137638 -Node: push_config procedure137877 -Node: reboot_target procedure138131 -Node: target_assemble procedure138389 -Node: target_compile procedure138688 -Node: target database library file138970 -Node: board_info procedure140030 -Node: host_info procedure140260 -Node: set_board_info procedure140502 -Node: add_board_info procedure140970 -Node: set_currtarget_info procedure141430 -Node: target_info procedure141721 -Node: unset_board_info procedure141982 -Node: unset_currtarget_info procedure142399 -Node: push_target procedure142686 -Node: poptarget procedure143159 -Node: list_targets procedure143427 -Node: push_host procedure143716 -Node: pop_host procedure144120 -Node: compile procedure144372 -Node: archive procedure145047 -Node: ranlib procedure145591 -Node: execute_anywhere procedure145957 -Node: platform dependent procedures146867 -Node: ${tool}_start procedure148221 -Node: ${tool}_load procedure149253 -Node: ${tool}_exit procedure150141 -Node: ${tool}_version procedure150613 -Node: Utility Procedures151057 -Node: getdirs procedure151682 -Node: find procedure152228 -Node: which procedure152969 -Node: grep procedure153535 -Node: prune procedure154464 -Node: runtest_file_p procedure154848 -Node: diff procedure155585 -Node: setenv procedure156022 -Node: unsetenv procedure156365 -Node: getenv procedure156651 -Node: prune_system_crud procedure157003 -Node: Libgloss157574 -Node: libgloss_link_flags procedure159298 -Node: libgloss_include_flags procedure159531 -Node: newlib_link_flags procedure159809 -Node: newlib_include_flags procedure160073 -Node: libio_include_flags procedure160343 -Node: libio_link_flags procedure160609 -Node: g++_include_flags procedure160863 -Node: g++_link_flags procedure161115 -Node: libstdc++_include_flags procedure161365 -Node: libstdc++_link_flags procedure161645 -Node: get_multilibs procedure161917 -Node: find_binutils_prog procedure162163 -Node: find_gcc procedure162412 -Node: find_gcj procedure162612 -Node: find_g++ procedure162802 -Node: find_g77 procedure162992 -Node: find_gfortran procedure163187 -Node: process_multilib_options procedure163413 -Node: add_multilib_option procedure163697 -Node: find_gas procedure163961 -Node: find_ld procedure164161 -Node: build_wrapper procedure164352 -Node: winsup_include_flags procedure164595 -Node: winsup_link_flags procedure164861 -Node: Debugging Procedures165086 -Node: dumpvars procedure165830 -Node: dumplocals procedure166194 -Node: dumprocs procedure166562 -Node: dumpwatch procedure166961 -Node: watcharray procedure167350 -Node: watchvar procedure167628 -Node: watchunset procedure167846 -Node: watchwrite procedure168162 -Node: watchread procedure168508 -Node: watchdel procedure168846 -Node: print procedure169136 -Node: quit procedure169407 +Node: Introduction1339 +Node: What is DejaGnu?1631 +Node: Release Notes4135 +Node: Design goals6074 +Node: A POSIX Conforming Test Framework7717 +Node: Installation12806 +Node: Running tests13592 +Node: Make Check14242 +Node: Runtest15393 +Node: Output States16118 +Node: Invoking runtest18616 +Node: Common Operations26842 +Node: Output Files28248 +Node: Summary log file28869 +Node: Detailed log file30683 +Node: Debug log file32561 +Node: Customizing DejaGnu36376 +Node: Global config file38546 +Node: Local config file41148 +Node: Board config file45034 +Node: Remote host testing48287 +Node: Config file values52472 +Node: Command line option variables52975 +Node: User configuration file55665 +Node: Extending DejaGnu56552 +Node: Adding a new testsuite56968 +Node: Adding a new tool57464 +Node: Adding a new target64429 +Node: Adding a new board66381 +Node: Board file values69314 +Node: Writing a test case74339 +Node: Debugging a test case79319 +Node: Adding a test case to a testsuite81547 +Node: Test case variables82670 +Node: Unit testing84012 +Node: What is unit testing?84280 +Node: The dejagnu_h header file85110 +Node: C unit testing API85847 +Node: C++ unit testing API86815 +Node: Reference87809 +Node: Builtin Procedures87938 +Node: Core Internal Procedures88488 +Node: open_logs procedure89907 +Node: close_logs procedure90113 +Node: isbuild procedure90349 +Node: is_remote procedure91042 +Node: is3way procedure91308 +Node: ishost procedure91672 +Node: istarget procedure92248 +Node: isnative procedure92936 +Node: log_and_exit procedure93312 +Node: log_summary procedure93535 +Node: setup_xfail procedure93774 +Node: pass procedure95301 +Node: fail procedure95726 +Node: xpass procedure96144 +Node: xfail procedure96599 +Node: set_warning_threshold procedure96997 +Node: get_warning_threshold procedure97485 +Node: warning procedure97927 +Node: perror procedure99325 +Node: note procedure100397 +Node: untested procedure100971 +Node: unresolved procedure101485 +Node: unsupported procedure102071 +Node: transform procedure102549 +Node: check_conditional_xfail procedure103214 +Node: clear_xfail procedure105869 +Node: verbose procedure106461 +Node: load_lib procedure107361 +Node: Procedures For Remote Communication108509 +Node: call_remote procedure111903 +Node: check_for_board_status procedure112160 +Node: file_on_build procedure112461 +Node: file_on_host procedure112748 +Node: local_exec procedure113020 +Node: remote_binary procedure113306 +Node: remote_close procedure113561 +Node: remote_download procedure114065 +Node: remote_exec procedure114353 +Node: remote_expect procedure114644 +Node: remote_file procedure114933 +Node: remote_ld procedure115195 +Node: remote_load procedure115448 +Node: remote_open procedure115719 +Node: remote_pop_conn procedure116512 +Node: remote_push_conn procedure116782 +Node: remote_raw_binary procedure117061 +Node: remote_raw_close procedure117344 +Node: remote_raw_file procedure117623 +Node: remote_raw_ld procedure117908 +Node: remote_raw_load procedure118185 +Node: remote_raw_open procedure118480 +Node: remote_raw_send procedure118753 +Node: remote_raw_spawn procedure119043 +Node: remote_raw_transmit procedure119350 +Node: remote_raw_wait procedure119652 +Node: remote_reboot procedure119945 +Node: remote_send procedure120390 +Node: remote_spawn procedure120658 +Node: remote_swap_conn procedure120954 +Node: remote_transmit procedure121224 +Node: remote_upload procedure121508 +Node: remote_wait procedure121797 +Node: standard_close procedure122069 +Node: standard_download procedure122336 +Node: standard_exec procedure122646 +Node: standard_file procedure122931 +Node: standard_load procedure123196 +Node: standard_reboot procedure123483 +Node: standard_send procedure123958 +Node: standard_spawn procedure124238 +Node: standard_transmit procedure124533 +Node: standard_upload procedure124825 +Node: standard_wait procedure125136 +Node: unix_clean_filename procedure125423 +Node: connprocs125688 +Node: telnet procedure127150 +Node: rsh procedure127337 +Node: tip procedure128065 +Node: kermit procedure128753 +Node: kermit_open procedure129385 +Node: kermit_command procedure129616 +Node: kermit_send procedure129861 +Node: kermit_transmit procedure130117 +Node: telnet_open procedure130378 +Node: telnet_binary procedure130625 +Node: telnet_transmit procedure130868 +Node: tip_open procedure131130 +Node: rlogin_open procedure131353 +Node: rlogin_spawn procedure131572 +Node: rsh_open procedure131814 +Node: rsh_download procedure132035 +Node: rsh_upload procedure132304 +Node: rsh_exec procedure132567 +Node: ssh_close procedure132807 +Node: ssh_exec procedure133025 +Node: ssh_download procedure133299 +Node: ssh_upload procedure133568 +Node: ftp_open procedure133831 +Node: ftp_upload procedure134040 +Node: ftp_download procedure134303 +Node: ftp_close procedure134573 +Node: tip_download procedure134790 +Node: Procedures For Target Boards135349 +Node: default_link procedure136107 +Node: default_target_assemble procedure136387 +Node: default_target_compile procedure136725 +Node: pop_config procedure137074 +Node: prune_warnings procedure137324 +Node: push_build procedure137574 +Node: push_config procedure137813 +Node: reboot_target procedure138067 +Node: target_assemble procedure138325 +Node: target_compile procedure138624 +Node: target database library file138906 +Node: board_info procedure139966 +Node: host_info procedure140196 +Node: set_board_info procedure140438 +Node: add_board_info procedure140906 +Node: set_currtarget_info procedure141366 +Node: target_info procedure141657 +Node: unset_board_info procedure141918 +Node: unset_currtarget_info procedure142335 +Node: push_target procedure142622 +Node: poptarget procedure143095 +Node: list_targets procedure143363 +Node: push_host procedure143652 +Node: pop_host procedure144056 +Node: compile procedure144308 +Node: archive procedure144983 +Node: ranlib procedure145527 +Node: execute_anywhere procedure145893 +Node: platform dependent procedures146803 +Node: ${tool}_start procedure148157 +Node: ${tool}_load procedure149189 +Node: ${tool}_exit procedure150077 +Node: ${tool}_version procedure150549 +Node: Utility Procedures150993 +Node: getdirs procedure151618 +Node: find procedure152164 +Node: which procedure152905 +Node: grep procedure153471 +Node: prune procedure154400 +Node: runtest_file_p procedure154784 +Node: diff procedure155521 +Node: setenv procedure155958 +Node: unsetenv procedure156301 +Node: getenv procedure156587 +Node: prune_system_crud procedure156939 +Node: Libgloss157510 +Node: libgloss_link_flags procedure159234 +Node: libgloss_include_flags procedure159467 +Node: newlib_link_flags procedure159745 +Node: newlib_include_flags procedure160009 +Node: libio_include_flags procedure160279 +Node: libio_link_flags procedure160545 +Node: g++_include_flags procedure160799 +Node: g++_link_flags procedure161051 +Node: libstdc++_include_flags procedure161301 +Node: libstdc++_link_flags procedure161581 +Node: get_multilibs procedure161853 +Node: find_binutils_prog procedure162099 +Node: find_gcc procedure162348 +Node: find_gcj procedure162548 +Node: find_g++ procedure162738 +Node: find_g77 procedure162928 +Node: find_gfortran procedure163123 +Node: process_multilib_options procedure163349 +Node: add_multilib_option procedure163633 +Node: find_gas procedure163897 +Node: find_ld procedure164097 +Node: build_wrapper procedure164288 +Node: winsup_include_flags procedure164531 +Node: winsup_link_flags procedure164797 +Node: Debugging Procedures165022 +Node: dumpvars procedure165766 +Node: dumplocals procedure166130 +Node: dumprocs procedure166498 +Node: dumpwatch procedure166897 +Node: watcharray procedure167286 +Node: watchvar procedure167564 +Node: watchunset procedure167782 +Node: watchwrite procedure168098 +Node: watchread procedure168444 +Node: watchdel procedure168782 +Node: print procedure169072 +Node: quit procedure169343  End Tag Table diff -Nru dejagnu-1.6/doc/dejagnu.texi dejagnu-1.6.1/doc/dejagnu.texi --- dejagnu-1.6/doc/dejagnu.texi 2016-04-08 22:00:22.000000000 +0000 +++ dejagnu-1.6.1/doc/dejagnu.texi 2017-10-16 11:43:20.000000000 +0000 @@ -11,7 +11,7 @@ @top DejaGnu @ifnottex -This file documents DejaGnu version 1.6. +This file documents DejaGnu version 1.6.1. @insertcopying @end ifnottex @@ -662,9 +662,9 @@ @item @code{-V}, @code{--version} Prints out the version numbers of DejaGnu, Expect, and Tcl. -@item @code{-x}, @code{--xml=FILE} -Generate XML output. FILE is optional; if given it is the name of the -output file. If not given, the output file is named after the tool. +@item @code{-x}, @code{--xml} +Generate XML output. The output file is named after the tool with an +.xml extension. @item @file{testfile}.exp[=arg(s)] Specify the names of testsuites to run. By default, @emph{runtest} runs @@ -1233,11 +1233,11 @@ does not allow anonymous FTP. Set the home directory to the root directory (i.e. c:\) of a suitable drive. Allow writing via FTP. -It will create an account like IUSR_FOOBAR where foobar is -the name of your machine. Go into the user editor and give that -account a password that you don't mind hanging around in the -clear (i.e. not the same as your admin or personal -passwords). Also, add it to all the various permission groups. +It will create an account like IUSR_FOOBAR where foobar is the name of +your machine. Go into the user editor and give that account a password +that you don't mind hanging around in the clear (i.e. not the same as +your admin or personal passwords). Also, add it to all the various +permission groups. You'll also need a telnet server. For Windows, go to the @uref{http://ataman.com,Ataman} web site, pick up the Ataman Remote @@ -1246,11 +1246,11 @@ the HOME directory to be the same as the FTP default directory. Change the Mode prompt to simple. -Ok, now you need to pick a directory name to do all the testing in. For -the sake of this example, we'll call it piggy (i.e. c:\piggy). Create -this directory. +Now you need to pick a directory name to do all the testing in. For the +sake of this example, we'll call it piggy (i.e. c:\piggy). Create this +directory. -You'll need a unix machine. Create a directory for the scripts you'll +You'll need a Unix machine. Create a directory for the scripts you'll need. For this example, we'll use /usr/local/swamp/testing. You'll need to have a source tree somewhere, say /usr/src/devo. Now, copy some files from releng's area in SV to your machine: @@ -1289,8 +1289,8 @@ ./MkTestDir sh-hms /usr/dejagnu/src/devo @end example -If you are testing a native PC compiler (ex: you have -gcc.exe in your PATH on the PC), do this: +If you are testing a native PC compiler (ex: you have gcc.exe in your +PATH on the PC), do this: @strong{Setup Native Remote Testing} @@ -1312,9 +1312,8 @@ make -k -w check RUNTESTFLAGS="--host_board foobar --target_board foobar -v -v" > check.out 2>&1 @end example -To run a specific test, use a command like this (for -this example, you'd run this from the gcc directory that -MkTestDir created): +To run a specific test, use a command like this (for this example, you'd +run this from the gcc directory that MkTestDir created): @strong{Run a Test Remotely} @@ -1477,10 +1476,8 @@ To help orient you further in this task, here is an outline of the steps to begin building a testsuite for a program example. - -Create or select a directory to contain your new -collection of tests. Change into that directory (shown here as -@file{testsuite}): +Create or select a directory to contain your new collection of +tests. Change into that directory (shown here as @file{testsuite}): Create a @file{configure.in} file in this directory, to control configuration-dependent choices for your tests. So far as DejaGnu is @@ -1788,11 +1785,11 @@ remotedir@tab "/tmp/runtest.[pid]"@tab Directory on the remote target in which executables are downloaded and executed. @end multitable -These fields are used by the GCC and GDB tests, and are mostly -only useful to somewhat trying to debug a new board file for one of -these tools. Many of these are used only by a few testcases, and their -purpose is esoteric. These are listed with sample values as a guide to -better guessing if you need to change any of these. +These fields are used by the GCC and GDB tests, and are mostly only +useful to somewhat trying to debug a new board file for one of these +tools. Many of these are used only by a few testcases, and their purpose +is esoteric. These are listed with sample values as a guide to better +guessing if you need to change any of these. @strong{Board Info Fields For GCC & GDB} @@ -2052,10 +2049,8 @@ corresponding bug report (@emph{0} if you do not specify it). @item $bug_id -An optional bug ID, perhaps a bug -identification number from another organization -(@emph{0} if you do not specify -it). +An optional bug ID, perhaps a bug identification number from another +organization (@emph{0} if you do not specify it). @item $subdir The subdirectory for the current test case. @@ -2687,15 +2682,13 @@ @node check_conditional_xfail procedure, clear_xfail procedure, transform procedure, Core Internal Procedures @subsubsection check_conditional_xfail Procedure -This procedure adds a conditional xfail, based on compiler -options used to create a test case executable. If an include options -is found in the compiler flags, and it's the right architecture, -it'll trigger an @emph{XFAIL}. Otherwise it'll produce -an ordinary @emph{FAIL}. You can also specify flags to -exclude. This makes a result be a @emph{FAIL}, even if -the included options are found. To set the conditional, set -the variable @code{compiler_conditional_xfail_data} to the -fields +This procedure adds a conditional xfail, based on compiler options used +to create a test case executable. If an include options is found in the +compiler flags, and it's the right architecture, it'll trigger an +@emph{XFAIL}. Otherwise it'll produce an ordinary @emph{FAIL}. You can +also specify flags to exclude. This makes a result be a @emph{FAIL}, +even if the included options are found. To set the conditional, set the +variable @code{compiler_conditional_xfail_data} to the fields @example "[message string] [targets list] [includes list] [excludes list]" @@ -3678,7 +3671,6 @@ @node kermit_open procedure, kermit_command procedure, kermit procedure, connprocs @subsubsection kermit_open Procedure - @quotation @t{@b{kermit_open}@{@i{dest} @i{args}@}} @@ -3692,7 +3684,6 @@ @node kermit_command procedure, kermit_send procedure, kermit_open procedure, connprocs @subsubsection kermit_command Procedure - @quotation @t{@b{kermit_command}@{@i{dest} @i{args}@}} @@ -3706,7 +3697,6 @@ @node kermit_send procedure, kermit_transmit procedure, kermit_command procedure, connprocs @subsubsection kermit_send Procedure - @quotation @t{@b{kermit_send}@{@i{dest string args}@}} @end quotation @@ -3736,7 +3726,6 @@ @node telnet_open procedure, telnet_binary procedure, kermit_transmit procedure, connprocs @subsubsection telnet_open Procedure - @quotation @t{@b{telnet_open}@{@i{hostname} @i{args}@}} @@ -3762,7 +3751,6 @@ @node telnet_transmit procedure, tip_open procedure, telnet_binary procedure, connprocs @subsubsection telnet_transmit Procedure - @quotation @t{@b{telnet_transmit}@{@i{dest} @i{file} @@ -3790,7 +3778,6 @@ @node rlogin_open procedure, rlogin_spawn procedure, tip_open procedure, connprocs @subsubsection rlogin_open Procedure - @quotation @t{@b{rlogin_open}@{@i{arg}@}} @end quotation @@ -3802,7 +3789,6 @@ @node rlogin_spawn procedure, rsh_open procedure, rlogin_open procedure, connprocs @subsubsection rlogin_spawn Procedure - @quotation @t{@b{rlogin_spawn}@{@i{dest} @i{cmdline}@}} @@ -3816,7 +3802,6 @@ @node rsh_open procedure, rsh_download procedure, rlogin_spawn procedure, connprocs @subsubsection rsh_open Procedure - @quotation @t{@b{rsh_open}@{@i{hostname}@}} @end quotation @@ -3860,7 +3845,6 @@ @node rsh_exec procedure, ssh_close procedure, rsh_upload procedure, connprocs @subsubsection rsh_exec Procedure - @quotation @t{@b{rsh_exec}@{@i{boardname} @i{cmd} @@ -3956,7 +3940,6 @@ @node ftp_download procedure, ftp_close procedure, ftp_upload procedure, connprocs @subsubsection ftp_download Procedure - @quotation @t{@b{ftp_download}@{@i{host} @i{localfile} @@ -3972,7 +3955,6 @@ @node ftp_close procedure, tip_download procedure, ftp_download procedure, connprocs @subsubsection ftp_close Procedure - @quotation @t{@b{ftp_close}@{@i{host}@}} @end quotation @@ -4006,7 +3988,6 @@ @node Procedures For Target Boards, target database library file, connprocs, Builtin Procedures @subsection Procedures For Target Boards - @menu * default_link Procedure: default_link procedure * default_target_assemble Procedure: default_target_assemble procedure @@ -4041,7 +4022,6 @@ @node default_target_assemble procedure, default_target_compile procedure, default_link procedure, Procedures For Target Boards @subsubsection default_target_assemble Procedure - @quotation @t{@b{default_target_assemble}@{@i{source} @i{destfile} @@ -4086,7 +4066,6 @@ @node prune_warnings procedure, push_build procedure, pop_config procedure, Procedures For Target Boards @subsubsection prune_warnings Procedure - @quotation @t{@b{prune_warnings}@{@i{text}@}} @end quotation @@ -4098,7 +4077,6 @@ @node push_build procedure, push_config procedure, prune_warnings procedure, Procedures For Target Boards @subsubsection push_build Procedure - @quotation @t{@b{push_build}@{@i{name}@}} @end quotation @@ -4253,8 +4231,7 @@ @table @asis @item @code{entry} -The name of a @code{board_info} field -to operate on. +The name of a @code{board_info} field to operate on. @item @code{value} The value to add to the field. @@ -4263,7 +4240,6 @@ @node set_currtarget_info procedure, target_info procedure, add_board_info procedure, target database library file @subsubsection set_currtarget_info Procedure - @quotation @t{@b{set_currtarget_info}@{@i{entry} @i{value}@}} @@ -4291,9 +4267,8 @@ @node unset_board_info procedure, unset_currtarget_info procedure, target_info procedure, target database library file @subsubsection unset_board_info Procedure -This checks if @code{board_info} array's field -@emph{entry} has been set and if so, then removes -it. +This checks if @code{board_info} array's field @emph{entry} has been set +and if so, then removes it. @quotation @t{@b{unset_board_info}@{@i{entry}@}} @@ -4301,8 +4276,7 @@ @table @asis @item @code{entry} -The name of a @code{board_info} field -to operate on. +The name of a @code{board_info} field to operate on. @end table @node unset_currtarget_info procedure, push_target procedure, unset_board_info procedure, target database library file @@ -4320,10 +4294,9 @@ @node push_target procedure, poptarget procedure, unset_currtarget_info procedure, target database library file @subsubsection push_target Procedure -This makes the target named @emph{name} be the -current target connection. The value of @emph{name} is -an index into the @code{target_info} array and is set in -the global config file. +This makes the target named @emph{name} be the current target +connection. The value of @emph{name} is an index into the +@code{target_info} array and is set in the global config file. @quotation @t{@b{push_target}@{@i{name}@}} @@ -4331,8 +4304,7 @@ @table @asis @item @code{name} -The name of the target to make current -connection. +The name of the target to make current connection. @end table @node poptarget procedure, list_targets procedure, push_target procedure, target database library file @@ -4356,11 +4328,9 @@ @node push_host procedure, pop_host procedure, list_targets procedure, target database library file @subsubsection push_host Procedure -This makes the host named @emph{name} be the -current remote host connection. The value of -@emph{name} is an index into the -@code{target_info} array and is set in the global config -file. +This makes the host named @emph{name} be the current remote host +connection. The value of @emph{name} is an index into the +@code{target_info} array and is set in the global config file. @quotation @t{@b{push_host}@{@i{name}@}} @@ -4580,12 +4550,9 @@ @item @code{args} @item @code{pattern} -If you do not specify -@code{pattern}, -@code{Getdirs} assumes a default pattern of -@emph{*}. You may use the common shell -wildcard characters in the pattern. If no directories -match the pattern, then a NULL string is +If you do not specify @code{pattern}, @code{Getdirs} assumes a default +pattern of @emph{*}. You may use the common shell wildcard characters in +the pattern. If no directories match the pattern, then a NULL string is returned. @end table @@ -4669,19 +4636,16 @@ @node prune procedure, runtest_file_p procedure, grep procedure, Utility Procedures @subsubsection prune Procedure -This procedure is deprecated and will be removed in -the next release of DejaGnu. If a testsuite uses this -procedure, a copy of the procedure should be made and placed -in the lib directory of the testsuite. +This procedure is deprecated and will be removed in the next release of +DejaGnu. If a testsuite uses this procedure, a copy of the procedure +should be made and placed in the lib directory of the testsuite. @node runtest_file_p procedure, diff procedure, prune procedure, Utility Procedures @subsubsection runtest_file_p Procedure -Search @emph{runtest}s for -@emph{testcase} and return @emph{1} if -found, @emph{0} if not. @emph{runtests} -is a list of two elements. The first is a copy of what was on -the right side of the @emph{=} if +Search @emph{runtest}s for @emph{testcase} and return @emph{1} if found, +@emph{0} if not. @emph{runtests} is a list of two elements. The first +is a copy of what was on the right side of the @emph{=} if @example foo.exp="..." @@ -4764,8 +4728,8 @@ @node getenv procedure, prune_system_crud procedure, unsetenv procedure, Utility Procedures @subsubsection getenv Procedure -Returns the value of @emph{var} in the -environment if it exists, otherwise it returns NULL. +Returns the value of @emph{var} in the environment if it exists, +otherwise it returns NULL. @quotation @t{@b{getenv}@{@i{var}@}} @@ -4774,22 +4738,19 @@ @table @asis @item @code{var} -The environment variable to get the value -of. +The environment variable to get the value of. @end table @node prune_system_crud procedure, , getenv procedure, Utility Procedures @subsubsection prune_system_crud Procedure -For system @emph{system}, delete text the host or -target operating system might issue that will interfere with pattern -matching of program output in @emph{text}. An example -is the message that is printed if a shared library is out of -date. +For system @emph{system}, delete text the host or target operating +system might issue that will interfere with pattern matching of program +output in @emph{text}. An example is the message that is printed if a +shared library is out of date. @quotation -@t{@b{prune_system_crud}@{@i{system} -@i{test}@}} +@t{@b{prune_system_crud}@{@i{system} @i{test}@}} @end quotation @table @asis @@ -4804,9 +4765,9 @@ @node Libgloss, Debugging Procedures, Utility Procedures, Builtin Procedures @subsection Libgloss, a free board support package (BSP) -Libgloss is a free @dfn{BSP} (Board Support -Package) commonly used with GCC and G++ to produce a fully linked -executable image for an embedded systems. +Libgloss is a free @dfn{BSP} (Board Support Package) commonly used with +GCC and G++ to produce a fully linked executable image for an embedded +systems. @menu * libgloss_link_flags Procedure: libgloss_link_flags procedure @@ -5118,9 +5079,9 @@ @node dumpvars procedure, dumplocals procedure, , Debugging Procedures @subsubsection dumpvars Procedure -This takes a csh style regular expression (glob rules) and prints -the values of the global variable names that match. It is abbreviated -as @emph{dv}. +This takes a csh style regular expression (glob rules) and prints the +values of the global variable names that match. It is abbreviated as +@emph{dv}. @quotation @t{@b{dumpvars}@{@i{vars}@}} @@ -5134,9 +5095,9 @@ @node dumplocals procedure, dumprocs procedure, dumpvars procedure, Debugging Procedures @subsubsection dumplocals Procedure -This takes a csh style regular expression (glob rules) and -prints the values of the local variable names that match. It is -abbreviated as @emph{dl}. +This takes a csh style regular expression (glob rules) and prints the +values of the local variable names that match. It is abbreviated as +@emph{dl}. @quotation @t{@b{dumplocals}@{@i{args}@}} @@ -5149,9 +5110,8 @@ @node dumprocs procedure, dumpwatch procedure, dumplocals procedure, Debugging Procedures @subsubsection dumprocs Procedure -This takes a csh style regular expression (glob rules) and -prints the body of all procs that match. It is abbreviated as -@emph{dp}. +This takes a csh style regular expression (glob rules) and prints the +body of all procs that match. It is abbreviated as @emph{dp}. @quotation @t{@b{dumprocs}@{@i{pattern}@}} @@ -5166,9 +5126,8 @@ @node dumpwatch procedure, watcharray procedure, dumprocs procedure, Debugging Procedures @subsubsection dumpwatch Procedure -This takes a csh style regular expression (glob rules) and -prints all the watchpoints. It is abbreviated as -@emph{dw}. +This takes a csh style regular expression (glob rules) and prints all +the watchpoints. It is abbreviated as @emph{dw}. @quotation @t{@b{dumpwatch}@{@i{pattern}@}} @@ -5191,8 +5150,7 @@ @table @asis @item @code{type} -The csh "glob" style pattern to look -for. +The csh "glob" style pattern to look for. @end table @node watchvar procedure, watchunset procedure, watcharray procedure, Debugging Procedures @@ -5256,8 +5214,8 @@ @node watchdel procedure, print procedure, watchread procedure, Debugging Procedures @subsubsection watchdel Procedure -This deletes a watchpoint from the watch list. It is -abbreviated as @emph{wd}. +This deletes a watchpoint from the watch list. It is abbreviated as +@emph{wd}. @quotation @t{@b{watchdel}@{@i{args}@}} @@ -5284,8 +5242,7 @@ @node quit procedure, , print procedure, Debugging Procedures @subsubsection quit Procedure -This makes runtest exit. It is abbreviated as -@emph{q}. +This makes runtest exit. It is abbreviated as @emph{q}. @quotation @t{@b{quit}} diff -Nru dejagnu-1.6/doc/runtest.1 dejagnu-1.6.1/doc/runtest.1 --- dejagnu-1.6/doc/runtest.1 2016-04-08 22:00:22.000000000 +0000 +++ dejagnu-1.6.1/doc/runtest.1 2017-10-16 04:48:58.000000000 +0000 @@ -1,4 +1,4 @@ -.TH runtest 1 "2016-04-03" +.TH runtest 1 "2017-10-16" .SH NAME runtest \- DejaGnu test driver .SH SYNOPSIS @@ -92,9 +92,9 @@ .B -V,\ --version Prints out the versions of DejaGnu, Expect and Tcl. .TP -.B -x,\ --xml[=FILE] -Generate XML output. \fBFILE\fR is optional; if given it is the name of -the output file. If not given, the output file is named after the tool. +.B -x,\ --xml +Generate XML output. The output file is named after the tool with +an .xml extension. .TP .B -D[number] Activate the Tcl debugger. \fBnumber\fR can be either 1 or 0. If it @@ -125,8 +125,8 @@ .SH "REPORTING BUGS" Report bugs to . .SH COPYRIGHT -Copyright \(co 2005, 2007, 2008, 2015, 2016 Free Software Foundation, Inc. -.br +Copyright \(co 2005\-2016 Free Software Foundation, Inc. +.PP This is free software. You may redistribute copies of it under the terms of the GNU General Public License . There is NO WARRANTY, to the extent permitted by law. diff -Nru dejagnu-1.6/lib/debugger.exp dejagnu-1.6.1/lib/debugger.exp --- dejagnu-1.6/lib/debugger.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/lib/debugger.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -# 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/lib/dejagnu.exp dejagnu-1.6.1/lib/dejagnu.exp --- dejagnu-1.6/lib/dejagnu.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/lib/dejagnu.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -# 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/lib/dg.exp dejagnu-1.6.1/lib/dg.exp --- dejagnu-1.6/lib/dg.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/lib/dg.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,7 +1,6 @@ # `dg' general purpose testcase driver. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -# 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/lib/dmucs.exp dejagnu-1.6.1/lib/dmucs.exp --- dejagnu-1.6/lib/dmucs.exp 1970-01-01 00:00:00.000000000 +0000 +++ dejagnu-1.6.1/lib/dmucs.exp 2017-06-04 00:48:32.000000000 +0000 @@ -0,0 +1,50 @@ +# Copyright (C) 2016 Free Software Foundation, Inc. + +# This file is part of DejaGnu. +# +# DejaGnu is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# DejaGnu is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with DejaGnu; if not, write to the Free Software Foundation, +# Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. + +# This file requires a slightly modified dmucs, which has been +# modified to support multiple architectures for toolchain +# testing. DMUCS sends the CPU load to a server, which we can query +# using the 'gethost' command to get the next available slave for a +# remote test based on which one is the least busy. The code for this +# enhanced DMUCS is at: http://git.linaro.org/git/toolchain/dmucs.git + +proc dmucs_gethost { server arch } { + # gethost in debug mode returns this output: + # --node and --arch are unique to the Linaro branch of DMUCS + # + # Writing -->host 127.0.1.1 <-- to the server + # Calling Sgets + # Got -->10.6.1.24<-- from the server + # tmp is -->DISTCC_HOSTS=10.6.1.24/100<-- + set slave "" + spawn gethost -s $server --node --arch $arch + expect { + # This is the IP number we want. + "^\[0-9\]*\.\[0-9\]*\.\[0-9\]*\.\[0-9\]*" { + set pos [expr {[string first "/" $expect_out(buffer)] - 1}] + set slave [string range $expect_out(buffer) 0 $pos] + } + timeout { + perror "DMUCS gethost command timed out" + } + eof { + perror "Failed to connect to DMUCS server" + } + } + return $slave +} diff -Nru dejagnu-1.6/lib/framework.exp dejagnu-1.6.1/lib/framework.exp --- dejagnu-1.6/lib/framework.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/lib/framework.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,6 +1,4 @@ -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, -# 2001 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2016 Free -# Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # @@ -57,7 +55,6 @@ global tool global sum_file global xml_file - global xml_file_name global xml if { ${tool} == "" } { @@ -67,11 +64,8 @@ set sum_file [open [file join $outdir $tool.sum] w] if { $xml } { catch "file delete -force -- $outdir/$tool.xml" - if { ![string compare $xml_file_name ""] } { - set xml_file_name $tool.xml - } - set xml_file [open [file join $outdir $xml_file_name] w] - xml_output "" + set xml_file [open [file join $outdir $tool.xml] w] + xml_output "" insertdtd xml_output "" } @@ -228,7 +222,7 @@ set triplet [lindex $args 0] - # now check against the cannonical name + # now check against the canonical name if {[info exists target_triplet]} { verbose "Checking \"$triplet\" against \"$target_triplet\"" 2 if {[string match $triplet $target_triplet]} { @@ -369,10 +363,26 @@ exit $exit_status } +# Emit an XML tag, but escape XML special characters in the body. +proc xml_tag { tag body } { + set escapes { < < > > & & \" " ' ' } + for {set i 1} {$i < 32} {incr i} { + if {[lsearch [list 9 10 13] $i] >= 0} { + # skip valid XML whitespace chars + continue + } + # Append non-printable character + lappend escapes [format %c $i] + # .. and then the corresponding XML escape + lappend escapes &#x[format %x $i]\; + } + return <$tag>[string map $escapes $body] +} + proc xml_output { message } { global xml_file if { $xml_file != "" } { - puts $xml_file "$message" + puts $xml_file $message } } @@ -441,9 +451,9 @@ set mess "# of $test_counts($x,name)" if { $xml } { xml_output " " - xml_output " $x" - xml_output " $mess" - xml_output " $val" + xml_output " [xml_tag result $x]" + xml_output " [xml_tag description $mess]" + xml_output " [xml_tag total $val]" xml_output " " } if { [string length $mess] < 24 } { @@ -701,11 +711,11 @@ set output "" set output "expect_out(buffer)" xml_output " " - xml_output " [string trimright [lindex $rio 0]]" - xml_output " [string trimright [lindex $rio 1]]" - xml_output " $type" - xml_output " $message" - xml_output " $prms_id" + xml_output " [xml_tag input [string trimright [lindex $rio 0]]]" + xml_output " [xml_tag output [string trimright [lindex $rio 1]]]" + xml_output " [xml_tag result $type]" + xml_output " [xml_tag name $message]" + xml_output " [xml_tag prms_id $prms_id]" xml_output " " } diff -Nru dejagnu-1.6/lib/ftp.exp dejagnu-1.6.1/lib/ftp.exp --- dejagnu-1.6/lib/ftp.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/lib/ftp.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -# 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/lib/kermit.exp dejagnu-1.6.1/lib/kermit.exp --- dejagnu-1.6/lib/kermit.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/lib/kermit.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -# 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/lib/libgloss.exp dejagnu-1.6.1/lib/libgloss.exp --- dejagnu-1.6/lib/libgloss.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/lib/libgloss.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,6 +1,4 @@ -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -# 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, -# 2015, 2016 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # @@ -73,6 +71,9 @@ "xscale*" { set cpu arm } + "aarch64*" { + set cpu aarch64 + } default { set cpu $target_cpu } diff -Nru dejagnu-1.6/lib/remote.exp dejagnu-1.6.1/lib/remote.exp --- dejagnu-1.6/lib/remote.exp 2016-04-08 22:00:22.000000000 +0000 +++ dejagnu-1.6.1/lib/remote.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -# 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # @@ -26,6 +25,7 @@ load_lib "kermit.exp" load_lib "tip.exp" load_lib "rsh.exp" +load_lib "ssh.exp" load_lib "ftp.exp" # Open a connection to a remote host or target. This requires the target_info @@ -440,6 +440,7 @@ if { $destfile == "" || $destfile == $file } { return $file } else { + verbose -log "Downloading on $dest to $destfile: $file" 2 set result [catch "exec cp -p $file $destfile" output] if {[regexp "same file|are identical" $output]} { set result 0 diff -Nru dejagnu-1.6/lib/rlogin.exp dejagnu-1.6.1/lib/rlogin.exp --- dejagnu-1.6/lib/rlogin.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/lib/rlogin.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -# 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/lib/rsh.exp dejagnu-1.6.1/lib/rsh.exp --- dejagnu-1.6/lib/rsh.exp 2016-04-15 12:08:54.000000000 +0000 +++ dejagnu-1.6.1/lib/rsh.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -# 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # @@ -17,7 +16,7 @@ # along with DejaGnu; if not, write to the Free Software Foundation, # Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. -# Connect to HOSTNAME using rlogin(1). +# Connect to HOSTNAME using rsh(1). # proc rsh_open { hostname } { global spawn_id diff -Nru dejagnu-1.6/lib/ssh.exp dejagnu-1.6.1/lib/ssh.exp --- dejagnu-1.6/lib/ssh.exp 1970-01-01 00:00:00.000000000 +0000 +++ dejagnu-1.6.1/lib/ssh.exp 2017-06-04 00:48:32.000000000 +0000 @@ -0,0 +1,244 @@ +# Copyright (C) 2016 Free Software Foundation, Inc. +# +# This file is part of DejaGnu. +# +# DejaGnu is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# DejaGnu is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with DejaGnu; if not, write to the Free Software Foundation, +# Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. + +# Connect using ssh(1). + +set ssh_initialized "no" +set ssh_useropts " -o ControlPersist=yes -o ControlMaster=auto -o ControlPath=\"/tmp/ssh-%r@%h:%p\"" + +# Default to the ssh and scp in the user's path. +set SSH ssh +set SCP scp + +# Download SRCFILE to DESTFILE on DESTHOST. +# +proc ssh_download {desthost srcfile destfile} { + global SSH SCP ssh_initialized timeout + + set ssh_port "" + set ssh_user "" + set ssh_useropts "" + set name "" + set hostname "" + + if {[board_info $desthost exists scp_prog]} { + set SCP [board_info $desthost scp_prog] + } + + if {[board_info $desthost exists ssh_prog]} { + set SSH [board_info $desthost ssh_prog] + } + + # The default user name is the person running the tests + if {[board_info $desthost exists username]} { + set ssh_user "[board_info $desthost username]@" + } + + if {[board_info $desthost exists ssh_opts]} { + append ssh_useropts " [board_info $desthost ssh_opts]" + } + + # The default SSH port is 22 + if {[board_info $desthost exists port]} { + set ssh_port "[board_info $desthost port]" + } else { + set ssh_port 22 + } + + if {[board_info $desthost exists name]} { + set name [board_info $desthost name] + } + + if {[board_info $desthost exists hostname]} { + set hostname [board_info $desthost hostname] + } else { + set hostname $desthost + } + + append ssh_useropts " -o ControlPersist=yes -o ControlMaster=auto -o ControlPath=/tmp/ssh-%r@%h:%p" + + set ret [local_exec "$SCP -P $ssh_port $ssh_useropts $srcfile $ssh_user$hostname:$destfile" "" "" $timeout] + set status [lindex $ret 0] + set output [lindex $ret 1] + if { $status == 0 } { + set ssh_initialized "yes" + verbose "Copied $srcfile to $desthost:$destfile" 2 + return $destfile + } else { + verbose "Download via ssh to $desthost failed." + return "" + } +} + +proc ssh_upload {desthost srcfile destfile} { + global SSH SCP + + if {[board_info $desthost exists scp_prog]} { + set SCP [board_info $desthost scp_prog] + } + + if {[board_info $desthost exists username]} { + set ssh_user "[board_info $desthost username]@" + } else { + set ssh_user "" + } + + if {[board_info $desthost exists name]} { + set desthost [board_info $desthost name] + } + + if {[board_info $desthost exists hostname]} { + set desthost [board_info $desthost hostname] + } + + set status [catch "exec $SCP $ssh_user$desthost:$srcfile $destfile" output] + if { $status == 0 } { + verbose "Copied $desthost:$srcfile to $destfile" 2 + return $destfile + } else { + verbose "Upload from $desthost failed, $output." + return "" + } +} + +# Execute CMD on BOARDNAME. +# +proc ssh_exec { boardname program pargs inp outp } { + global SSH timeout + + set ssh_port "" + set scp_port "" + set ssh_user "" + set ssh_useropts "" + set name "" + set hostname "" + + verbose "Executing on $boardname: $program $pargs" + + if {![board_info $boardname exists ssh_prog]} { + set SSH ssh + } else { + set SSH [board_info $boardname ssh_prog] + } + + if {[board_info $boardname exists username]} { + set ssh_user "[board_info $boardname username]@" + } else { + set ssh_user "" + } + + if {[board_info $boardname exists ssh_useropts]} { + append ssh_useropts " [board_info $boardname ssh_opts]" + } + + if {[board_info $boardname exists name]} { + set boardname [board_info $boardname name] + } + + if {[board_info $boardname exists hostname]} { + set hostname [board_info $boardname hostname] + } else { + set hostname $boardname + } + + if {[board_info $boardname exists port]} { + append ssh_useropts " -p [board_info $boardname port]" + } + + append ssh_useropts " -o ControlPersist=yes -o ControlMaster=auto -o ControlPath=\"/tmp/ssh-%r@%h:%p\"" + + # If CMD sends any output to stderr, exec will think it failed. + # More often than not that will be true, but it doesn't catch the + # case where there is no output but the exit code is non-zero. + if { $inp == "" } { + set inp "/dev/null" + } + + # We use && here, as otherwise the echo always works, which makes it look + # like execution succeeded when in reality it failed. + set ret [local_exec "$SSH $ssh_useropts $ssh_user$hostname sh -c '$program $pargs && echo XYZ\\\${?}ZYX \\; rm -f $program'" $inp $outp $timeout] + set status [lindex $ret 0] + set output [lindex $ret 1] + + verbose "$SSH status is $status, output is $output" + + # `status' doesn't mean much here other than ssh worked ok. + # What we want is whether $program ran ok. Return $status + # if the program timed out, status will be 1 indicating that + # ssh ran and failed. If ssh fails, we will get FAIL rather + # than UNRESOLVED - this will help the problem be noticed. + if { $status != 0 } { + regsub "XYZ(\[0-9\]*)ZYX\n?" $output "" output + return [list $status "$SSH to $boardname failed for $program, $output"] + } + if { [regexp "XYZ(\[0-9\]*)ZYX" $output junk status] == 0 } { + set status "" + } + verbose "ssh_exec: status:$status text:$output" 4 + if { $status == "" } { + return [list -1 "Couldn't parse $SSH output, $output."] + } + regsub "XYZ(\[0-9\]*)ZYX\n?" $output "" output + # Delete one trailing \n because that is what `exec' will do and we want + # to behave identical to it. + regsub "\n$" $output "" output + return [list [expr {$status != 0}] $output] +} + +proc ssh_close { desthost } { + global SSH ssh_initialized + + verbose "Closing the SSH connection to $desthost" + + set ssh_port "" + set scp_port "" + set ssh_user "" + set ssh_useropts "" + set name "" + set hostname "" + + if {[board_info $desthost exists username]} { + set ssh_useropts "-l [board_info $desthost username]" + set ssh_user "[board_info $desthost username]@" + } else { + set ssh_user "" + set ssh_useropts "" + } + + if {[board_info $desthost exists hostname]} { + set hostname [board_info $desthost hostname] + } + + if {[board_info $desthost exists ssh_opts]} { + append ssh_useropts " [board_info $desthost ssh_opts]" + } + + if {[board_info $desthost exists port]} { + set ssh_port " -p [board_info $desthost port]" + } else { + set ssh_port "" + } + + set args "$ssh_user$hostname $ssh_port" + + # Kill the remote server + set status [catch "exec ssh $ssh_port -o ControlPath=/tmp/ssh-%r@%h:%p -O exit $args"] + set ssh_initialized "no" + + return "" +} diff -Nru dejagnu-1.6/lib/standard.exp dejagnu-1.6.1/lib/standard.exp --- dejagnu-1.6/lib/standard.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/lib/standard.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -# 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/lib/targetdb.exp dejagnu-1.6.1/lib/targetdb.exp --- dejagnu-1.6/lib/targetdb.exp 2016-04-08 22:00:22.000000000 +0000 +++ dejagnu-1.6.1/lib/targetdb.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -# 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/lib/target.exp dejagnu-1.6.1/lib/target.exp --- dejagnu-1.6/lib/target.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/lib/target.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -# 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # @@ -58,9 +57,7 @@ # Set the target connection. # proc push_target { name } { - global target_abbrev - - pop_config target + pop_config target push_config target $name } diff -Nru dejagnu-1.6/lib/telnet.exp dejagnu-1.6.1/lib/telnet.exp --- dejagnu-1.6/lib/telnet.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/lib/telnet.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -# 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/lib/tip.exp dejagnu-1.6.1/lib/tip.exp --- dejagnu-1.6/lib/tip.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/lib/tip.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -# 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/lib/utils.exp dejagnu-1.6.1/lib/utils.exp --- dejagnu-1.6/lib/utils.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/lib/utils.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -# 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/Makefile.am dejagnu-1.6.1/Makefile.am --- dejagnu-1.6/Makefile.am 2016-04-15 12:37:45.000000000 +0000 +++ dejagnu-1.6.1/Makefile.am 2017-10-16 03:44:19.000000000 +0000 @@ -1,4 +1,4 @@ -# Copyright (C) 1992-2015 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # @@ -41,6 +41,7 @@ lib/debugger.exp \ lib/dejagnu.exp \ lib/dg.exp \ + lib/dmucs.exp \ lib/framework.exp \ lib/ftp.exp \ lib/kermit.exp \ @@ -48,6 +49,7 @@ lib/remote.exp \ lib/rlogin.exp \ lib/rsh.exp \ + lib/ssh.exp \ lib/standard.exp \ lib/target.exp \ lib/targetdb.exp \ @@ -71,6 +73,7 @@ baseboarddir = $(pkgdatadir)/baseboards baseboard_DATA = \ baseboards/README \ + baseboards/aarch64-sim.exp \ baseboards/androideabi.exp \ baseboards/am33_2.0-libremote.exp \ baseboards/arm-ice.exp \ @@ -105,6 +108,7 @@ baseboards/mmixware-sim.exp \ baseboards/mn10200-sim.exp \ baseboards/mn10300-sim.exp \ + baseboards/msp430-sim.exp \ baseboards/mt-sid.exp \ baseboards/multi-sim.exp \ baseboards/powerpc-sim.exp \ diff -Nru dejagnu-1.6/Makefile.in dejagnu-1.6.1/Makefile.in --- dejagnu-1.6/Makefile.in 2016-04-15 12:50:40.000000000 +0000 +++ dejagnu-1.6.1/Makefile.in 2017-10-16 11:43:24.000000000 +0000 @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.14.1 from Makefile.am. +# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2013 Free Software Foundation, Inc. +# Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -14,7 +14,7 @@ @SET_MAKE@ -# Copyright (C) 1992-2015 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # @@ -37,7 +37,17 @@ VPATH = @srcdir@ -am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ @@ -100,15 +110,12 @@ POST_UNINSTALL = : check_PROGRAMS = unit$(EXEEXT) subdir = . -DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \ - $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ - $(top_srcdir)/configure $(am__configure_deps) depcomp \ - texinfo.tex $(dist_man_MANS) $(include_HEADERS) COPYING TODO \ - compile config.guess config.sub install-sh missing ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ + $(am__configure_deps) $(include_HEADERS) $(am__DIST_COMMON) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d @@ -253,6 +260,9 @@ CSCOPE = cscope AM_RECURSIVE_TARGETS = cscope DEJATOOL = $(PACKAGE) +am__DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.in AUTHORS \ + COPYING ChangeLog INSTALL NEWS README TODO compile \ + config.guess config.sub depcomp install-sh missing texinfo.tex DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) @@ -353,6 +363,7 @@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ +runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ @@ -377,6 +388,7 @@ lib/debugger.exp \ lib/dejagnu.exp \ lib/dg.exp \ + lib/dmucs.exp \ lib/framework.exp \ lib/ftp.exp \ lib/kermit.exp \ @@ -384,6 +396,7 @@ lib/remote.exp \ lib/rlogin.exp \ lib/rsh.exp \ + lib/ssh.exp \ lib/standard.exp \ lib/target.exp \ lib/targetdb.exp \ @@ -407,6 +420,7 @@ baseboarddir = $(pkgdatadir)/baseboards baseboard_DATA = \ baseboards/README \ + baseboards/aarch64-sim.exp \ baseboards/androideabi.exp \ baseboards/am33_2.0-libremote.exp \ baseboards/arm-ice.exp \ @@ -441,6 +455,7 @@ baseboards/mmixware-sim.exp \ baseboards/mn10200-sim.exp \ baseboards/mn10300-sim.exp \ + baseboards/msp430-sim.exp \ baseboards/mt-sid.exp \ baseboards/multi-sim.exp \ baseboards/powerpc-sim.exp \ @@ -520,7 +535,6 @@ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu Makefile -.PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -1074,15 +1088,15 @@ $(am__post_remove_distdir) dist-tarZ: distdir - @echo WARNING: "Support for shar distribution archives is" \ - "deprecated." >&2 + @echo WARNING: "Support for distribution archives compressed with" \ + "legacy program 'compress' is deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__post_remove_distdir) dist-shar: distdir - @echo WARNING: "Support for distribution archives compressed with" \ - "legacy program 'compress' is deprecated." >&2 + @echo WARNING: "Support for shar distribution archives is" \ + "deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__post_remove_distdir) @@ -1118,17 +1132,17 @@ esac chmod -R a-w $(distdir) chmod u+w $(distdir) - mkdir $(distdir)/_build $(distdir)/_inst + mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst chmod a-w $(distdir) test -d $(distdir)/_build || exit 0; \ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && am__cwd=`pwd` \ - && $(am__cd) $(distdir)/_build \ - && ../configure \ + && $(am__cd) $(distdir)/_build/sub \ + && ../../configure \ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ - --srcdir=.. --prefix="$$dc_install_base" \ + --srcdir=../.. --prefix="$$dc_install_base" \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ @@ -1426,6 +1440,8 @@ uninstall-man1 uninstall-pdf-am uninstall-pkgdataDATA \ uninstall-ps-am +.PRECIOUS: Makefile + export DEJAGNU # Give a reassuring message so that users know the "build" worked. diff -Nru dejagnu-1.6/NEWS dejagnu-1.6.1/NEWS --- dejagnu-1.6/NEWS 2016-04-08 22:00:22.000000000 +0000 +++ dejagnu-1.6.1/NEWS 2017-10-16 11:43:20.000000000 +0000 @@ -1,5 +1,9 @@ -* text -*- +Changes since 1.6: + +Minor bug fixes, no major changes. + Changes since 1.5.3: 1. Proper support for target communication via SSH has been added. diff -Nru dejagnu-1.6/runtest dejagnu-1.6.1/runtest --- dejagnu-1.6/runtest 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/runtest 2017-10-16 03:44:19.000000000 +0000 @@ -1,7 +1,6 @@ #!/bin/sh # -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, -# 2001, 2002, 2003, 2004 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # @@ -25,7 +24,7 @@ # Get the execution path to this script and the current directory. mypath=${0-.} -if expr ${mypath} : '.*/.*' > /dev/null +if expr "$mypath" : '.*/.*' > /dev/null then : else @@ -33,21 +32,21 @@ for dir in $PATH do test -z "$dir" && dir=. - if test -x $dir/$mypath + if test -x "$dir/$mypath" then - mypath=$dir/$mypath + mypath="$dir/$mypath" break fi done IFS="$save_ifs" fi -execpath=`echo ${mypath} | sed -e 's@/[^/]*$@@'` +execpath=$(echo "$mypath" | sed -e 's@/[^/]*$@@') # Get the name by which runtest was invoked and extract the config # triplet. -runtest=`echo ${mypath} | sed -e 's@^.*/@@'` -target=`echo $runtest | sed -e 's/-runtest$//'` +runtest=$(echo "$mypath" | sed -e 's@^.*/@@') +target=$(echo "$runtest" | sed -e 's/-runtest$//') if [ "$target" != runtest ] ; then target="--target ${target}" else @@ -58,14 +57,14 @@ # takes precedence over all other tests. Otherwise look for a freshly # built one, and then use one in the path. -if [ x"$EXPECT" != x ] ; then - expectbin=$EXPECT +if [ -n "$EXPECT" ] ; then + expectbin="$EXPECT" else if [ -x "$execpath/expect" ] ; then - expectbin=$execpath/expect + expectbin="$execpath/expect" else - expectbin=expect - fi + expectbin=expect + fi fi # Just to be safe .. @@ -87,14 +86,14 @@ debug="" for a in "$@" ; do case $a in - -v|--v|-verb*|--verb*) verbose=`expr $verbose + 1`;; + -v|--v|-verb*|--verb*) verbose=$((verbose + 1)) ;; -D0|--D0) debug="-D 0" ;; -D1|--D1) debug="-D 1" ;; esac done -if expr $verbose \> 0 > /dev/null ; then - echo Expect binary is $expectbin +if expr "$verbose" \> 0 > /dev/null ; then + echo Expect binary is "$expectbin" fi # Find runtest.exp. First we look in its installed location, @@ -109,14 +108,19 @@ # # .. which is a very weak assumption -for i in `echo ${execpath} | sed -e 's@/[^/]*$@/share/dejagnu@'` `echo ${execpath} | sed -e 's@/[^/]*/[^/]*$@/share/dejagnu@'` $execpath /usr/share/dejagnu /usr/local/share/dejagnu ; do - if expr $verbose \> 1 > /dev/null ; then - echo Looking for $i/runtest.exp. +for i in \ + $(echo "$execpath" | sed -e 's@/[^/]*$@/share/dejagnu@') \ + $(echo "$execpath" | sed -e 's@/[^/]*/[^/]*$@/share/dejagnu@') \ + "$execpath" \ + /usr/share/dejagnu \ + /usr/local/share/dejagnu ; do + if expr "$verbose" \> 1 > /dev/null ; then + echo Looking for "$i"/runtest.exp. fi - if [ -f $i/runtest.exp ] ; then - runpath=$i - if expr $verbose \> 0 > /dev/null ; then - echo Using $i/runtest.exp as main test driver + if [ -f "$i/runtest.exp" ] ; then + runpath="$i" + if expr "$verbose" \> 0 > /dev/null ; then + echo Using "$i"/runtest.exp as main test driver fi break fi @@ -124,20 +128,20 @@ # Check for an environment variable. -if [ x"$DEJAGNULIBS" != x ] ; then - runpath=$DEJAGNULIBS - if expr $verbose \> 0 > /dev/null ; then - echo Using $DEJAGNULIBS/runtest.exp as main test driver +if [ -n "$DEJAGNULIBS" ] ; then + runpath="$DEJAGNULIBS" + if expr "$verbose" \> 0 > /dev/null ; then + echo Using "$DEJAGNULIBS"/runtest.exp as main test driver fi fi -if [ x"$runpath" = x ] ; then +if [ -z "$runpath" ] ; then echo "ERROR: runtest.exp does not exist" exit 1 fi -if ! type $expectbin >/dev/null 2>/dev/null ; then - echo "ERROR: unable to find expect on the PATH" +if ! type "$expectbin" > /dev/null 2> /dev/null ; then + echo "ERROR: unable to find expect in the PATH" exit 1 fi -exec $expectbin $debug -- $runpath/runtest.exp $target ${1+"$@"} +exec "$expectbin" $debug -- "$runpath"/runtest.exp $target ${1+"$@"} diff -Nru dejagnu-1.6/runtest.exp dejagnu-1.6.1/runtest.exp --- dejagnu-1.6/runtest.exp 2016-04-15 12:38:23.000000000 +0000 +++ dejagnu-1.6.1/runtest.exp 2017-10-16 11:43:20.000000000 +0000 @@ -1,6 +1,5 @@ # runtest.exp -- Test framework driver -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, -# 2001, 2002, 2003, 2012 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # @@ -20,7 +19,7 @@ # This file was written by Rob Savoye . -set frame_version 1.6 +set frame_version 1.6.1 if {![info exists argv0]} { send_error "Must use a version of Expect greater than 5.0\n" exit 1 @@ -54,8 +53,7 @@ set kfail_prms 0 ;# bug id for the description of the known failure set sum_file "" ;# name of the file that contains the summary log set base_dir "" ;# the current working directory -set xml_file_name "" ;# name of the xml output if requested -set xml_file "" ;# handle on the xml file if requested +set xml_file "" ;# handle on the XML file if requested set xml 0 ;# flag for requesting xml set logname "" ;# the users login name set prms_id 0 ;# GNATS prms id number @@ -88,6 +86,11 @@ set target_alias "" ;# standard abbreviation of target set compiler_flags "" ;# the flags used by the compiler +# Various ccache versions provide incorrect debug info such as ignoring +# different current directory, breaking GDB testsuite. +set env(CCACHE_DISABLE) 1 +unset -nocomplain env(CCACHE_NODISABLE) + # # some convenience abbreviations # @@ -383,10 +386,10 @@ send_user "\t--mail \[name(s)\]\tWhom to mail the results to\n" send_user "\t--objdir \[name\]\t\tThe test suite binary directory\n" send_user "\t--outdir \[name\]\t\tThe directory to put logs in\n" - send_user "\t--reboot \[name\]\t\tReboot the target (if supported)\n" + send_user "\t--reboot\t\tReboot the target (if supported)\n" send_user "\t--srcdir \[name\]\t\tThe test suite source code directory\n" send_user "\t--status\t\tSet the exit status to fail on Tcl errors\n" - send_user "\t--strace \[number\]\tSet expect tracing ON\n" + send_user "\t--strace \[number\]\tTurn on Expect tracing\n" send_user "\t--target \[triplet\]\tThe canonical triplet of the target board\n" send_user "\t--target_board \[name(s)\] The list of target boards to run tests on\n" send_user "\t--tool \[name(s)\]\tRun tests on these tools\n" @@ -394,7 +397,7 @@ send_user "\t--tool_opts \[options\]\tA list of additional options to pass to the tool\n" send_user "\t--verbose, -v\t\tProduce verbose output\n" send_user "\t--version, -V\t\tPrint all relevant version numbers\n" - send_user "\t--xml\[=name\], -x\tTurn on XML output generation\n" + send_user "\t--xml, -x\t\tWrite out an XML results file\n" send_user "\t--D\[0-1\]\t\tTcl debugger\n" send_user "\tscript.exp\[=arg(s)\]\tRun these tests only\n" if { [info exists tool] } { @@ -1166,7 +1169,6 @@ } "--x*" { - set xml_file_name $optarg set xml 1 verbose "XML logging turned on" continue @@ -1827,7 +1829,10 @@ # list of directories. Look for match on each item. set found 0 foreach directory $cmdline_dir_to_run { - if {[string match $directory $dir]} { + # Look for a directory that ends with the + # provided --directory name. + if {[string match "$directory" $dir] + || [string match "*/$directory" $dir]} { set found 1 break } diff -Nru dejagnu-1.6/testsuite/config/default.exp dejagnu-1.6.1/testsuite/config/default.exp --- dejagnu-1.6/testsuite/config/default.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/testsuite/config/default.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, -# 2001, 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/testsuite/lib/libsup.exp dejagnu-1.6.1/testsuite/lib/libsup.exp --- dejagnu-1.6/testsuite/lib/libsup.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/testsuite/lib/libsup.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, -# 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/testsuite/lib/util-defs.exp dejagnu-1.6.1/testsuite/lib/util-defs.exp --- dejagnu-1.6/testsuite/lib/util-defs.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/testsuite/lib/util-defs.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, -# 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/testsuite/libdejagnu/tunit.exp dejagnu-1.6.1/testsuite/libdejagnu/tunit.exp --- dejagnu-1.6/testsuite/libdejagnu/tunit.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/testsuite/libdejagnu/tunit.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, -# 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/testsuite/libdejagnu/unit.cc dejagnu-1.6.1/testsuite/libdejagnu/unit.cc --- dejagnu-1.6/testsuite/libdejagnu/unit.cc 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/testsuite/libdejagnu/unit.cc 2017-10-16 03:44:19.000000000 +0000 @@ -1,6 +1,5 @@ // unit.cc -- This is a test case for the dejagnu.h classes. -// Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, -// 2010 Free Software Foundation, Inc. +// Copyright (C) 2001-2016 Free Software Foundation, Inc. // This file is part of DejaGnu. diff -Nru dejagnu-1.6/testsuite/runtest.all/libs.exp dejagnu-1.6.1/testsuite/runtest.all/libs.exp --- dejagnu-1.6/testsuite/runtest.all/libs.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/testsuite/runtest.all/libs.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 -# Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # @@ -32,7 +31,26 @@ if [file exists $test] { verbose "Processing test $test" 2 - spawn -open [open "|$EXPECT $test $srcdir $subdir [pwd]" r] + set res [catch { + exec -ignorestderr \ + $EXPECT $test $srcdir $subdir [pwd] \ + > OUTPUT 2>ERROR + }] + if { $res } { + perror "$test failed" 0 + + set fp [open "OUTPUT" r] + set output [read $fp] + close $fp + puts "$test stdout: >$output<" + + set fp [open "ERROR" r] + set error [read $fp] + close $fp + puts "$test stderr: >$error<" + } + + spawn -open [open "|cat OUTPUT" r] expect { "No such file or directory" { perror "$test wouldn't run" 0 @@ -69,6 +87,7 @@ verbose "All Done" 3 } } + file delete OUTPUT ERROR } else { perror "$test doesn't exist" 0 } diff -Nru dejagnu-1.6/testsuite/runtest.all/options.exp dejagnu-1.6.1/testsuite/runtest.all/options.exp --- dejagnu-1.6/testsuite/runtest.all/options.exp 2016-04-15 12:08:54.000000000 +0000 +++ dejagnu-1.6.1/testsuite/runtest.all/options.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, -# 2001, 2002, 2003, 2016 Free Software Foundation, Inc. +# Copyright (C) 1992-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/testsuite/runtest.all/remote.test dejagnu-1.6.1/testsuite/runtest.all/remote.test --- dejagnu-1.6/testsuite/runtest.all/remote.test 2016-03-28 23:24:39.000000000 +0000 +++ dejagnu-1.6.1/testsuite/runtest.all/remote.test 2017-10-16 03:44:19.000000000 +0000 @@ -13,6 +13,11 @@ puts "ERROR: $srcdir/$subdir/default_procs.tcl doesn't exist" } +proc load_lib { lib } { + global srcdir + source "$srcdir/../lib/$lib" +} + set file $srcdir/../lib/remote.exp if [ file exists $file] { source $file @@ -48,170 +53,3 @@ # Test remote open. We try not to use any of the support procs in # target.exp to for isolation testing. "target" is the name of the # default array setup by the procs in target.exp. - -set timeout 100 -set errno "" - -# -# Force connection errors -# - -# force an rlogin error -if { [rlogin foobar.barfoo.com] < 0 } { - puts "PASSED: rlogin bogus host" -} else { - puts "FAILED: rlogin bogus" -} - -# force an rsh error -if { [rsh foobar.barfoo.com] < 0 } { - puts "PASSED: rsh bogus host" -} else { - puts "FAILED: rsh bogus" -} - -# force a telnet error -if { [telnet foobar.barfoo.com] < 0 } { - puts "PASSED: telnet bogus host" -} else { - puts "FAILED: telnet bogus" -} - -# -# Connect to localhost -# - -# localhost rlogin test -if { [rlogin localhost] < 0 } { - if [string match "*unencrypted connection" $errno] { - NOTTESTED "rlogin localhost" - } else { - puts "FAILED: rlogin localhost" - } -} else { - puts "PASSED: rlogin localhost" -} -catch "exp_send exit\n" -catch "close -i $spawn_id" -catch "wait -i $spawn_id" - -# localhost rsh test -if { [rsh localhost] < 0 } { - if [string match "*kinit" $errno] { - puts "NOTTESTED: rsh localhost" - } else { - puts "FAILED: rsh localhost" - } -} else { - puts "PASSED: rsh localhost" -} -catch "exp_send exit\n" -catch "close -i $spawn_id" -catch "wait -i $spawn_id" - -# localhost telnet test. In this case it will return -# an error cause we get prompted for a password or login. For -# now this is considered an error, as we usually only -# telnet to a terminal server. -if { [telnet localhost] < 0 } { - if [string match "*password." $errno] { - puts "NOTTESTED: telnet localhost" - } else { - puts "FAILED: telnet localhost" - } -} else { - puts "PASSED: telnet localhost" -} -catch "exp_send exit\n" -catch "close -i $spawn_id" -catch "wait -i $spawn_id" - -# -# Connect to the configured target -# -set target_info(target,netport) $target_info(idp,netport) -set target_info(target,target) localhost -set target_info(target,connect) rlogin -if { [rlogin target] < 0 } { - if [ string match "*kinit" $errno] { - puts "NOTTESTED: rlogin target" - } else { - puts "FAILED: rlogin target" - } -} else { - puts "PASSED: rlogin target" -} -catch "exp_send exit\n" -catch "close -i $spawn_id" -catch "wait -i $spawn_id" - -# test remote_open -if { [rsh target] < 0 } { - if [ string match "*kinit" $errno] { - puts "NOTTESTED: rsh target" - } else { - puts "FAILED: rsh target" - } -} else { - puts "PASSED: rsh target" -} -catch "exp_send exit\n" -catch "close -i $spawn_id" -catch "wait -i $spawn_id" - -# telnet to host -# FIXME: This won't work till we figure out how to telnet and -# not get a password prompt. - -# -# Connect to the configured host -# -set target_info(host,connect) rlogin -set target_info(host,netport) $target_info(idp,netport) -set target_info(host,target) localhost - -# rlogin to host -if { [rlogin host] < 0 } { - if [ string match "*kinit*" $errno] { - puts "NOTTESTED: rlogin host" - } else { - puts "FAILED: rlogin host" - } -} else { - puts "PASSED: rlogin host" -} -catch "exp_send exit\n" -catch "close -i $spawn_id" -catch "wait -i $spawn_id" - -# rsh to host -if { [rsh host] < 0 } { - if [ string match "*kinit*" $errno] { - puts "NOTTESTED: rsh host" - } else { - puts "FAILED: rsh host" - } -} else { - puts "PASSED: rsh host" -} -catch "exp_send exit\n" -catch "close -i $spawn_id" -catch "wait -i $spawn_id" - -# telnet to host -# FIXME: This won't work till we figure out how to telnet and -# not get a password prompt. - -# tip port -# remote_close args -# rcp_download src dest -# tip_download shell_id file -# kermit args -# download args - - - - - - - diff -Nru dejagnu-1.6/testsuite/runtest.all/stats.exp dejagnu-1.6.1/testsuite/runtest.all/stats.exp --- dejagnu-1.6/testsuite/runtest.all/stats.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/testsuite/runtest.all/stats.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 -# Free Software Foundation, Inc. +# Copyright (C) 1995-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/testsuite/runtest.all/stats-sub.exp dejagnu-1.6.1/testsuite/runtest.all/stats-sub.exp --- dejagnu-1.6/testsuite/runtest.all/stats-sub.exp 2016-04-02 05:30:27.000000000 +0000 +++ dejagnu-1.6.1/testsuite/runtest.all/stats-sub.exp 2017-10-16 03:44:19.000000000 +0000 @@ -1,5 +1,4 @@ -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 -# Free Software Foundation, Inc. +# Copyright (C) 1997-2016 Free Software Foundation, Inc. # # This file is part of DejaGnu. # diff -Nru dejagnu-1.6/testsuite/runtest.all/target.test dejagnu-1.6.1/testsuite/runtest.all/target.test --- dejagnu-1.6/testsuite/runtest.all/target.test 2016-03-28 23:24:39.000000000 +0000 +++ dejagnu-1.6.1/testsuite/runtest.all/target.test 2017-10-16 03:44:19.000000000 +0000 @@ -13,6 +13,11 @@ puts "ERROR: $srcdir/$subdir/default_procs.tcl doesn't exist" } +proc load_lib { lib } { + global srcdir + source "$srcdir/../lib/$lib" +} + set file $srcdir/../lib/target.exp if [ file exists $file] { source $file @@ -57,49 +62,9 @@ set target_info(mvme,netport) "localhost:23" set target_info(mvme,baud) "9600" -# Test remote open. We try not to use any of the support procs in -# target.exp to for isolation testing. "target" is the name of the -# default array setup by the procs in target.exp. - -set timeout 100 - -# test list_target - -if { [list_targets] == "idp mvme" } { - puts "PASSED: list_targets" -} else { - puts "FAILED: list_targets" -} +# test push_config target push_config target idp -set matches 0 if { $target_info(target,name) == "idp" } { - incr matches -} -if { $target_info(target,ldflags) == "-Tidp.ld" } { - incr matches -} -if { $target_info(target,config) == "m68k-unknown-aout" } { - incr matches -} -if { $target_info(target,cflags) == "" } { - incr matches -} -if { $target_info(target,connect) == "telnet" } { - incr matches -} -if { $target_info(target,target) == "s12" } { - incr matches -} -if { $target_info(target,serial) == "tstty12" } { - incr matches -} -if { $target_info(target,netport) == "localhost:23" } { - incr matches -} -if { $target_info(target,baud) == "9600" } { - incr matches -} -if { $matches == 9 } { puts "PASSED: push_config target" } else { puts "FAILED: push_config target" @@ -107,70 +72,14 @@ # test pop_config target pop_config target -set matches 0 -if { $target_info(target,name) == "" } { - incr matches -} -if { $target_info(target,ldflags) == "" } { - incr matches -} -if { $target_info(target,config) == "" } { - incr matches -} -if { $target_info(target,cflags) == "" } { - incr matches -} -if { $target_info(target,connect) == "" } { - incr matches -} -if { $target_info(target,target) == "" } { - incr matches -} -if { $target_info(target,serial) == "" } { - incr matches -} -if { $target_info(target,netport) == "" } { - incr matches -} -if { $target_info(target,baud) == "" } { - incr matches -} -if { $matches == 9 } { +if { ![info exists target_info(target,name)] } { puts "PASSED: pop_config target" } else { puts "FAILED: pop_config target" } push_config host idp -set matches 0 if { $target_info(host,name) == "idp" } { - incr matches -} -if { $target_info(host,ldflags) == "-Tidp.ld" } { - incr matches -} -if { $target_info(host,config) == "m68k-unknown-aout" } { - incr matches -} -if { $target_info(host,cflags) == "" } { - incr matches -} -if { $target_info(host,connect) == "telnet" } { - incr matches -} -if { $target_info(host,target) == "s12" } { - incr matches -} -if { $target_info(host,serial) == "tstty12" } { - incr matches -} -if { $target_info(host,netport) == "localhost:23" } { - incr matches -} -if { $target_info(host,baud) == "9600" } { - incr matches -} -if { $matches == 9 } { puts "PASSED: push_config target" } else { puts "FAILED: push_config target" @@ -178,70 +87,8 @@ # test pop_config host pop_config host -set matches 0 -if { $target_info(host,name) == "" } { - incr matches -} -if { $target_info(host,ldflags) == "" } { - incr matches -} -if { $target_info(host,config) == "" } { - incr matches -} -if { $target_info(host,cflags) == "" } { - incr matches -} -if { $target_info(host,connect) == "" } { - incr matches -} -if { $target_info(host,target) == "" } { - incr matches -} -if { $target_info(host,serial) == "" } { - incr matches -} -if { $target_info(host,netport) == "" } { - incr matches -} -if { $target_info(host,baud) == "" } { - incr matches -} -if { $matches == 9 } { - puts "PASSED: pop_config host" +if { ![info exists target_info(host,name)] } { + puts "PASSED: pop_config host" } else { puts "FAILED: pop_config host" } - -# test execute_anywhere for a native environment -set host_triplet i586-unknown-linux -set target_triplet i586-unknown-linux -set build_triplet i586-unknown-linux -if { [string match "*setval.tmp*" [execute_anywhere "ls"]] } { - puts "PASSED: execute_anywhere, native" -} else { - puts "FAILED: execute_anywhere, native" -} - -# test execute_anywhere for a normal cross -set target_triplet m68k-unknown-coff -if { [string match "*testsuite" [execute_anywhere "pwd"]] } { - puts "PASSED: execute_anywhere, normal cross" -} else { - puts "FAILED: execute_anywhere, normal cross" -} - -# test execute_anywhere for a canadian cross -set build_triplet m68k-test-test -set target_info(host,connect) rlogin -set target_info(host,netport) $target_info(idp,netport) -set target_info(host,target) localhost -if { [string match "*FooBar*" [execute_anywhere "echo FooBar"]] } { - puts "PASSED: execute_anywhere, canadian cross" -} else { - puts "FAILED: execute_anywhere, canadian cross" -} - -# compile arg -# archive arg -# ranlib arg -# link_objects arg