summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-17 18:47:34 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-17 18:47:34 +0000
commit1e6011849811e5aa133e9f7039cbdb5c3c20794d (patch)
tree4e841649499ae0fe78055b48c24a8ba8828a853d /libstdc++-v3
parentc823bf17bdb5935ad42233ad9ca008ee0d8656f5 (diff)
downloadgcc-1e6011849811e5aa133e9f7039cbdb5c3c20794d.tar.gz
2001-07-17 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/README: Add notes on naming test cases. * testsuite/22_locale/members.cc: Mark as xfail. * testsuite/22_locale/numpunct_char_members.cc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44076 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/testsuite/README10
1 files changed, 6 insertions, 4 deletions
diff --git a/libstdc++-v3/testsuite/README b/libstdc++-v3/testsuite/README
index c21634ce824..11c7f548421 100644
--- a/libstdc++-v3/testsuite/README
+++ b/libstdc++-v3/testsuite/README
@@ -5,8 +5,8 @@ use the new style DejaGnu framework. Eventually, we'll abandon
// 1: Thoughts on naming test cases, and structuring them.
The testsuite directory has been divided into 11 directories, directly
correlated to the relevant chapters in the standard. For example, the
-directory testsuite/21_strings contains tests related to chapter 21,
-Strings library in the C++ standard.
+directory testsuite/21_strings contains tests related to "Chapter 21,
+Strings library" in the C++ standard.
So, the first step in making a new test case is to choose the correct
directory. The second item is seeing if a test file exists that tests
@@ -18,9 +18,11 @@ after the section headings in ISO 14882, the C++ standard. For instance,
Has a related test case:
21_strings/inserters_extractors.cc
-Not so hard. Some time, the works "ctor" and "dtor" are used instead
+Not so hard. Some time, the words "ctor" and "dtor" are used instead
of "construct", "constructor", "cons", "destructor", etc. Other than
-that, the naming seems mostly consistent.
+that, the naming seems mostly consistent. If the file exists, add a
+test to it. If it does not, then create a new file. All files are
+copyright the FSF, and GPL'd: this is very important.
Inside a test file, the plan is to test the relevant parts of the
standard, and then add specific regressions as additional test