It took me a while to figure out how to do this so I figured that it should be in the docs. OK for trunk?
* doc/install.texi: Add more details on selecting multiple tests. Thanks, Daniel Signed-off-by: Daniel Santos <daniel.san...@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..6aefd213901 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 +tick marks 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