diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2004-03-23 20:41:49 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2004-03-23 20:41:49 +0000 |
commit | b8a9d586e0e0dd6f0ef493a9f4b5d1ea4899629c (patch) | |
tree | aef40174f05f6a8687b8346eb2b72689a784b93a /gdb/testsuite/gdb.base/environ.exp | |
parent | 68fbf4c956dd44db14d1155048e25d2874736f9f (diff) | |
download | gdb-b8a9d586e0e0dd6f0ef493a9f4b5d1ea4899629c.tar.gz |
merge mainline changes into branchezannoni_pie-20030916-branchcvs/ezannoni_pie-20030916-branch
Diffstat (limited to 'gdb/testsuite/gdb.base/environ.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/environ.exp | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.base/environ.exp b/gdb/testsuite/gdb.base/environ.exp index 55ff0a0b779..b00052ba00d 100644 --- a/gdb/testsuite/gdb.base/environ.exp +++ b/gdb/testsuite/gdb.base/environ.exp @@ -1,5 +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 # it under the terms of the GNU General Public License as published by @@ -39,11 +38,19 @@ if ![istarget "hppa*-*-hpux*"] then { set testfile "break" set srcfile ${testfile}.c +set srcfile1 ${testfile}1.c set binfile ${objdir}/${subdir}/${testfile} +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 "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - 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_exit |