This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] testsuite/gdb.base/fileio.exp: Change run criteria


Hi,

currently running the fileio.exp test is not run, if either the
nointerrupts or the noinferiorio flags are set in the board description.
This is rather intrusive or better, not appropriate.  The FileIO
capability is not the same as having no inferiorio or, even worse,
no interrupt handling.  It's an entirely different thing.  So, I'd
like to propose to create a new board flag "nofileio", which handles
if a board can handle these tests or not.  This can be easily configured
locally if necessary.

Ok.


Andrew

	* gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
	Don't run tests if nofileio flag is given.

Index: gdb.base/fileio.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/fileio.exp,v
retrieving revision 1.4
diff -u -p -r1.4 fileio.exp
--- gdb.base/fileio.exp 27 Jul 2003 21:24:09 -0000 1.4
+++ gdb.base/fileio.exp 3 Nov 2003 17:10:02 -0000
@@ -1,4 +1,4 @@
-# Copyright 2002
+# Copyright 2002, 2003
# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
@@ -20,14 +20,9 @@
# This file was written by Corinna Vinschen <vinschen@redhat.com>
-if [target_info exists gdb,nointerrupts] {
- verbose "Skipping interrupt.exp because of nointerrupts."
+if [target_info exists gdb,nofileio] {
+ verbose "Skipping fileio.exp because of no fileio capabilities."
continue
-}
-
-if [target_info exists gdb,noinferiorio] {
- verbose "Skipping interrupt.exp because of noinferiorio."
- return
}
if $tracelevel then {


-- Corinna Vinschen Cygwin Developer Red Hat, Inc.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]