aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDaniel Santos <dansan@gcc.gnu.org>2017-08-22 18:52:10 +0000
committerDaniel Santos <dansan@gcc.gnu.org>2017-08-22 18:52:10 +0000
commitd35bcdd42ccc6f18d9da132365061f05c57e8d93 (patch)
tree1966819782c3f3029df9b0c0a3af74039aa4b8fb /gcc
parent4d68ff06e1072c26ad41d62d4789aff8180f151b (diff)
downloadgcc-d35bcdd42ccc6f18d9da132365061f05c57e8d93.zip
gcc-d35bcdd42ccc6f18d9da132365061f05c57e8d93.tar.gz
gcc-d35bcdd42ccc6f18d9da132365061f05c57e8d93.tar.bz2
docs: Explain how to use multiple file-name patterns in RUNTESTFLAGS
* doc/install.texi: Modify to add more details on running selected tests. From-SVN: r251289
Diffstat (limited to 'gcc')
-rw-r--r--gcc/doc/install.texi10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 7c9e2f2..da360da 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}.