2003-02-04 Michael Chastain <mec@shout.net>
* gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file. Call perror and then continue.
This commit is contained in:
parent
5ae7ca1d5b
commit
29518e1ebf
|
@ -1,3 +1,8 @@
|
||||||
|
2003-02-04 Michael Chastain <mec@shout.net>
|
||||||
|
|
||||||
|
* gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
|
||||||
|
Call perror and then continue.
|
||||||
|
|
||||||
2003-02-03 Michael Chastain <mec@shout.net>
|
2003-02-03 Michael Chastain <mec@shout.net>
|
||||||
|
|
||||||
* gdb.c++/pr-1023.cc: New file.
|
* gdb.c++/pr-1023.cc: New file.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Tests for anonymous union support.
|
# Tests for anonymous union support.
|
||||||
# Copyright 1998, 1999 Free Software Foundation, Inc.
|
# Copyright 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,7 +40,8 @@ set srcfile ${testfile}.cc
|
||||||
set binfile ${objdir}/${subdir}/${testfile}
|
set binfile ${objdir}/${subdir}/${testfile}
|
||||||
|
|
||||||
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug c++}] != "" } {
|
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug c++}] != "" } {
|
||||||
gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
|
perror "Testcase compile failed" 0
|
||||||
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
# Start with a fresh gdb
|
# Start with a fresh gdb
|
||||||
|
|
Loading…
Reference in New Issue