This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: Limit run tests


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)


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