This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
[libstdc++] Update comments in testsuite files, add dummy tool file.
- From: Phil Edwards <phil at jaj dot com>
- To: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Mon, 28 Jul 2003 00:07:22 -0400
- Subject: [libstdc++] Update comments in testsuite files, add dummy tool file.
Should be all self-explanatory. The comments tripped me up a bit during
the autotools conversion work, and I've gotten a number of private
emails over the last two years asking about the tool init file warning.
Committed to trunk.
2003-07-28 Phil Edwards <pme@gcc.gnu.org>
* testsuite/22_locale/messages/members/char/1.cc,
testsuite/22_locale/messages/members/char/2.cc,
testsuite/22_locale/messages/members/char/3.cc,
testsuite/22_locale/messages_byname/1.cc: Update comment regarding
the origin of LOCALEDIR.
* testsuite/lib/libstdc++-v3.exp: New file.
Index: testsuite/22_locale/messages/members/char/1.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/22_locale/messages/members/char/1.cc,v
retrieving revision 1.4
diff -u -3 -p -r1.4 1.cc
--- testsuite/22_locale/messages/members/char/1.cc 24 Jul 2003 21:07:41 -0000 1.4
+++ testsuite/22_locale/messages/members/char/1.cc 28 Jul 2003 04:03:41 -0000
@@ -30,7 +30,7 @@ void test01()
typedef std::messages<char>::string_type string_type;
bool test = true;
- // This is exported through RUNTESTFLAGS in testsuite/Makefile.am.
+ // This is defined through CXXFLAGS in scripts/testsuite_flags[.in].
const char* dir = LOCALEDIR;
// basic construction
Index: testsuite/22_locale/messages/members/char/2.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/22_locale/messages/members/char/2.cc,v
retrieving revision 1.4
diff -u -3 -p -r1.4 2.cc
--- testsuite/22_locale/messages/members/char/2.cc 24 Jul 2003 21:07:41 -0000 1.4
+++ testsuite/22_locale/messages/members/char/2.cc 28 Jul 2003 04:03:41 -0000
@@ -30,7 +30,7 @@ void test02()
typedef std::messages<char>::string_type string_type;
bool test = true;
- // This is exported through RUNTESTFLAGS in testsuite/Makefile.am.
+ // This is defined through CXXFLAGS in scripts/testsuite_flags[.in].
const char* dir = LOCALEDIR;
// basic construction
Index: testsuite/22_locale/messages/members/char/3.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/22_locale/messages/members/char/3.cc,v
retrieving revision 1.4
diff -u -3 -p -r1.4 3.cc
--- testsuite/22_locale/messages/members/char/3.cc 24 Jul 2003 21:07:42 -0000 1.4
+++ testsuite/22_locale/messages/members/char/3.cc 28 Jul 2003 04:03:41 -0000
@@ -30,7 +30,7 @@ void test03()
typedef std::messages<char>::string_type string_type;
bool test = true;
- // This is exported through RUNTESTFLAGS in testsuite/Makefile.am.
+ // This is defined through CXXFLAGS in scripts/testsuite_flags[.in].
const char* dir = LOCALEDIR;
// basic construction
Index: testsuite/22_locale/messages_byname/1.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/22_locale/messages_byname/1.cc,v
retrieving revision 1.4
diff -u -3 -p -r1.4 1.cc
--- testsuite/22_locale/messages_byname/1.cc 24 Jul 2003 21:07:42 -0000 1.4
+++ testsuite/22_locale/messages_byname/1.cc 28 Jul 2003 04:03:41 -0000
@@ -31,7 +31,7 @@ void test01()
bool test = true;
string str;
- // This is exported through RUNTESTFLAGS in testsuite/Makefile.am.
+ // This is defined through CXXFLAGS in scripts/testsuite_flags[.in].
const char* dir = LOCALEDIR;
locale loc_c = locale::classic();
Index: testsuite/lib/libstdc++-v3.exp
===================================================================
RCS file: testsuite/lib/libstdc++-v3.exp
diff -N testsuite/lib/libstdc++-v3.exp
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ testsuite/lib/libstdc++-v3.exp 28 Jul 2003 04:03:42 -0000
@@ -0,0 +1,7 @@
+
+# This is the "tool init file" for libstdc++-v3. There's nothing here.
+# It's simply a placeholder for two reasons. First, to show where we would
+# put things, in case we ever want to take advantage of the tool init file.
+# Second, to make dejagnu shut up about "WARNING could not find tool init
+# file," which is harmless but tends to scare/confuse people.
+