This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Limit run tests
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: François Dumont <frs dot dumont at gmail dot com>
- Cc: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
- Date: Tue, 6 Sep 2011 20:13:23 +0100
- Subject: Re: Limit run tests
- References: <4E666CBB.2070604@gmail.com>
On 6 September 2011 19:55, François Dumont wrote:
> Hi
>
> ? ?I have already done such a request but now that pretty printers tests has
> been added to the 'make check' command I am even more interested in a
> command that would allow me to only run tests from the testsuite without abi
> and pretty printers ones. When I only have 1 line in my testsuite_files file
> I would like it to run fast and without losing too much power as I work
> mostly on libstdc++ on an unplugged laptop.
>
> ? ?Is there a command that would let me run only the tests in
> testsuite_files ? Otherwise I will try to find a solution by myself even if
> it will take time as I am not familiar with autoconf/automake/make tools. I
> wonder if 'check' target could not be limited to testing the content of
> testsuite_files if it exists, abi and prettyprinters would be bypass then
> The easiest solution would be of course to add a 'check-normal' target, for
> consistency with 'check-debug' and 'check-parallel', to do the job.
make check RUNTESTFLAGS=conformance.exp will skip the abi.exp tests
make check RUNTESTFLAGS=conformance.exp=23_containers/vector/range*.cc
will only run matching tests (in this example that's a single file)