This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [libstdc++] Update comments in testsuite files, add dummy tool file.
- From: Phil Edwards <phil at jaj dot com>
- To: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- Cc: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Thu, 31 Jul 2003 20:49:10 -0400
- Subject: Re: [libstdc++] Update comments in testsuite files, add dummy tool file.
- References: <20030728040722.GA26829@disaster.jaj.com> <m3d6fv9el0.fsf@uniton.integrable-solutions.net> <20030728173325.GA3066@disaster.jaj.com>
On Mon, Jul 28, 2003 at 01:33:25PM -0400, Phil Edwards wrote:
> On Mon, Jul 28, 2003 at 11:37:47AM +0200, Gabriel Dos Reis wrote:
> > Phil Edwards <phil@jaj.com> writes:
> >
> > | * testsuite/lib/libstdc++-v3.exp: New file.
> >
> > Err, Phil, what you wanted is testsuite/lib/libstdc++-v3-dg.exp. It
> > just got the wrong file name.
>
> No, I think /we/ got the wrong file name, back when all this was put
> into place. Dejagnu doesn't append "-dg" to the tool name before trying
> to load anything. Recall that libstdc++-v3-dg.exp is explicitly loaded
> by name; it's not being picked up in the natural course of things.
>
> If people don't mind, sure, I'll rename it after the autotools transition.
Except that the transition is on hold. Renamed using the traditional method.
2003-07-31 Phil Edwards <pme@gcc.gnu.org>
* testsuite/lib/libstdc++-v3-dg.exp: Rename...
* testsuite/lib/libstdc++-v3.exp: ...to this.
* testsuite/libstdc++-v3.dg/dg.exp: No special case needed now.
Index: testsuite/libstdc++-v3.dg/dg.exp
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/libstdc++-v3.dg/dg.exp,v
retrieving revision 1.6
diff -u -3 -p -r1.6 dg.exp
--- testsuite/libstdc++-v3.dg/dg.exp 28 Jul 2003 17:12:16 -0000 1.6
+++ testsuite/libstdc++-v3.dg/dg.exp 1 Aug 2003 00:46:34 -0000
@@ -16,16 +16,13 @@
# libstdc++-v3 testsuite that uses the 'dg.exp' driver.
-# Load support procs.
-load_lib libstdc++-v3-dg.exp
-
# If a testcase doesn't have special options, use these.
global DEFAULT_CXXFLAGS
if ![info exists DEFAULT_CXXFLAGS] then {
set DEFAULT_CXXFLAGS "-D_GLIBCXX_ASSERT"
}
-# Initialize 'dg' last or dejagnu exits with an error...
+# Initialization.
dg-init
libstdc++-v3-init