mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 22:07:58 +08:00
2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/sect-cmd.exp: Handle compiling test case from multiple source files.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
|
||||||
|
|
||||||
|
* gdb.base/sect-cmd.exp: Handle compiling test case from multiple
|
||||||
|
source files.
|
||||||
|
|
||||||
2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
|
2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
|
||||||
|
|
||||||
* gdb.base/environ.exp: Handle compiling test case from multiple
|
* gdb.base/environ.exp: Handle compiling test case from multiple
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1997, 1998, 1999 Free Software Foundation, Inc.
|
# Copyright 1997, 1998, 1999, 2003 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -40,8 +40,18 @@ if ![istarget "hppa*-*-hpux*"] then {
|
|||||||
|
|
||||||
set testfile "break"
|
set testfile "break"
|
||||||
set srcfile ${testfile}.c
|
set srcfile ${testfile}.c
|
||||||
|
set srcfile1 ${testfile}1.c
|
||||||
set binfile ${objdir}/${subdir}/${testfile}
|
set binfile ${objdir}/${subdir}/${testfile}
|
||||||
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
|
|
||||||
|
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}0.o" object {debug additional_flags=-w}] != "" } {
|
||||||
|
gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
|
||||||
|
}
|
||||||
|
|
||||||
|
if { [gdb_compile "${srcdir}/${subdir}/${srcfile1}" "${binfile}1.o" object {debug additional_flags=-w}] != "" } {
|
||||||
|
gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
|
||||||
|
}
|
||||||
|
|
||||||
|
if { [gdb_compile "${binfile}0.o ${binfile}1.o" "${binfile}" executable {debug additional_flags=-w}] != "" } {
|
||||||
gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
|
gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user