This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] make -j10 check TESTS=gdb.foo/*.exp


On Thu, Feb 13, 2014 at 12:29 PM, Doug Evans <dje@google.com> wrote:
> Yao Qi writes:
>  > On 02/13/2014 09:25 AM, Doug Evans wrote:
>  > > This patch implements this idea.
>  > >
>  > > E.g.,
>  > > bash$ make -j10 check TESTS="gdb.server/*.exp gdb.threads/*.exp"
>  >
>  > This is good.  I am using RUNTESTFLAGS='--directory=gdb.server', but
>  > impossible to specify two directories in one run.  We also need to
>  > update README in testsuite directory to document it.
>
> This patch improves things a little bit.
> It makes TESTS=foo work for non-parallel mode as well,
> and handles the "no matching tests found" case a little cleaner.
> [At some point I think one can get carried away with polishing
> up this stuff, but I'm happy to take it this far.]
>
> 2014-02-13  Doug Evans  <dje@google.com>
>
>         * Makefile.in (TESTS): New variable.
>         (expanded_tests, expanded_tests_or_none): New variables
>         (check-single): Pass $(expanded_tests_or_none) to runtest.
>         (check-parallel): Only run tests in $(TESTS) if non-empty.
>         (check/no-matching-tests-found): New rule.
>         * README: Document TESTS makefile variable.

I've committed this.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]