aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/configure
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2014-02-08 20:54:57 +0800
committerYao Qi <yao@codesourcery.com>2014-02-10 09:51:10 +0800
commit7026a7c16ee82d39e84823f8cc3097a9a940ddb2 (patch)
tree469f720d60aa38a7c1ae36c50d201e9a46b845bb /gdb/testsuite/configure
parentac020ec5aef0e104cfe5b511ce90420950b44a90 (diff)
downloadbinutils-7026a7c16ee82d39e84823f8cc3097a9a940ddb2.zip
binutils-7026a7c16ee82d39e84823f8cc3097a9a940ddb2.tar.gz
binutils-7026a7c16ee82d39e84823f8cc3097a9a940ddb2.tar.bz2
Fix PR16543
Tests in gdb.gdb fail because directory gdb/testsuite/gdb.gdb doesn't exist in build tree. This patch appends gdb.gdb/Makefile in AC_OUTPUT, and adds new Makefile.in in gdb.gdb, so that directory gdb.gdb can be created during configure. With this patch applied, tests under gdb.gdb can be run, $ make check RUNTESTFLAGS='--directory=gdb.gdb' Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using ../../../../git/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file. Running ../../../../git/gdb/testsuite/gdb.gdb/complaints.exp ... Running ../../../../git/gdb/testsuite/gdb.gdb/observer.exp ... Running ../../../../git/gdb/testsuite/gdb.gdb/python-interrupts.exp ... FAIL: gdb.gdb/python-interrupts.exp: signal SIGINT Running ../../../../git/gdb/testsuite/gdb.gdb/python-selftest.exp ... FAIL: gdb.gdb/python-selftest.exp: call catch_command_errors(execute_command, "python print 5", 0, RETURN_MASK_ALL) Running ../../../../git/gdb/testsuite/gdb.gdb/selftest.exp ... Running ../../../../git/gdb/testsuite/gdb.gdb/xfullpath.exp ... === gdb Summary === gdb/testsuite: 2014-02-10 Yao Qi <yao@codesourcery.com> PR testsuite/16543 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT. * configure: Regenerated. * Makefile.in: New file.
Diffstat (limited to 'gdb/testsuite/configure')
-rwxr-xr-xgdb/testsuite/configure3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/configure b/gdb/testsuite/configure
index 94542a6..aa08add 100755
--- a/gdb/testsuite/configure
+++ b/gdb/testsuite/configure
@@ -3448,7 +3448,7 @@ done
-ac_config_files="$ac_config_files Makefile gdb.ada/Makefile gdb.arch/Makefile gdb.asm/Makefile gdb.base/Makefile gdb.btrace/Makefile gdb.cell/Makefile gdb.cp/Makefile gdb.disasm/Makefile gdb.dwarf2/Makefile gdb.dlang/Makefile gdb.fortran/Makefile gdb.go/Makefile gdb.server/Makefile gdb.java/Makefile gdb.hp/Makefile gdb.hp/gdb.objdbg/Makefile gdb.hp/gdb.base-hp/Makefile gdb.hp/gdb.aCC/Makefile gdb.hp/gdb.compat/Makefile gdb.hp/gdb.defects/Makefile gdb.linespec/Makefile gdb.mi/Makefile gdb.modula2/Makefile gdb.multi/Makefile gdb.objc/Makefile gdb.opencl/Makefile gdb.opt/Makefile gdb.pascal/Makefile gdb.perf/Makefile gdb.python/Makefile gdb.reverse/Makefile gdb.stabs/Makefile gdb.threads/Makefile gdb.trace/Makefile gdb.xml/Makefile"
+ac_config_files="$ac_config_files Makefile gdb.ada/Makefile gdb.arch/Makefile gdb.asm/Makefile gdb.base/Makefile gdb.btrace/Makefile gdb.cell/Makefile gdb.cp/Makefile gdb.disasm/Makefile gdb.dwarf2/Makefile gdb.dlang/Makefile gdb.fortran/Makefile gdb.gdb/Makefile gdb.go/Makefile gdb.server/Makefile gdb.java/Makefile gdb.hp/Makefile gdb.hp/gdb.objdbg/Makefile gdb.hp/gdb.base-hp/Makefile gdb.hp/gdb.aCC/Makefile gdb.hp/gdb.compat/Makefile gdb.hp/gdb.defects/Makefile gdb.linespec/Makefile gdb.mi/Makefile gdb.modula2/Makefile gdb.multi/Makefile gdb.objc/Makefile gdb.opencl/Makefile gdb.opt/Makefile gdb.pascal/Makefile gdb.perf/Makefile gdb.python/Makefile gdb.reverse/Makefile gdb.stabs/Makefile gdb.threads/Makefile gdb.trace/Makefile gdb.xml/Makefile"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
@@ -4160,6 +4160,7 @@ do
"gdb.dwarf2/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.dwarf2/Makefile" ;;
"gdb.dlang/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.dlang/Makefile" ;;
"gdb.fortran/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.fortran/Makefile" ;;
+ "gdb.gdb/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.gdb/Makefile" ;;
"gdb.go/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.go/Makefile" ;;
"gdb.server/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.server/Makefile" ;;
"gdb.java/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.java/Makefile" ;;