This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] [docs] Explain how to use multiple file-name patterns in RUNTESTFLAGS
- From: Daniel Santos <daniel dot santos at pobox dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>, Mike Stump <mikestump at comcast dot net>, Martin Sebor <msebor at gmail dot com>
- Cc: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>, Sandra Loosemore <sandra at codesourcery dot com>, Gerald Pfeifer <gerald at pfeifer dot com>, Joseph Myers <joseph at codesourcery dot com>
- Date: Tue, 22 Aug 2017 12:44:16 -0500
- Subject: [PATCH] [docs] Explain how to use multiple file-name patterns in RUNTESTFLAGS
- Authentication-results: sourceware.org; auth=none
- References: <1BE62799-4F62-4477-9EF7-2DE5BA22316B@comcast.net>
OK, how's this one?
* doc/install.texi: Modify to add more details on running
selected tests.
Thanks,
Daniel
Signed-off-by: Daniel Santos <daniel.santos@pobox.com>
---
gcc/doc/install.texi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 7c9e2f25d44..da360da1c50 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -2737,6 +2737,16 @@ the testsuite with filenames matching @samp{9805*}, you would use
make check-g++ RUNTESTFLAGS="old-deja.exp=9805* @var{other-options}"
@end smallexample
+The file-matching expression following @var{filename}@command{.exp=} is treated
+as a series of whitespace-delimited glob expressions so that multiple patterns
+may be passed, although any whitespace must either be escaped or surrounded by
+single quotes if multiple expressions are desired. For example,
+
+@smallexample
+make check-g++ RUNTESTFLAGS="old-deja.exp=9805*\ virtual2.c @var{other-options}"
+make check-g++ RUNTESTFLAGS="'old-deja.exp=9805* virtual2.c' @var{other-options}"
+@end smallexample
+
The @file{*.exp} files are located in the testsuite directories of the GCC
source, the most important ones being @file{compile.exp},
@file{execute.exp}, @file{dg.exp} and @file{old-deja.exp}.
--
2.13.3