[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TAP support in automake
From: |
Stefano Lattarini |
Subject: |
Re: TAP support in automake |
Date: |
Sun, 01 Apr 2012 00:44:27 +0200 |
On 03/31/2012 11:47 PM, Bob Friesenhahn wrote:
>
> how does one re-execute just one test in order to see the details
> of how it failed?
>
With Automake, one shouldn't -- he should write his test to be verbose
enough so that a perusing of the logs is sufficient to reveal the reason
of the failure.
But of course, you might want now to ask this fully legitimate question
instead:
How does one re-execute just one test?
question which is answered below.
> In Automake I do this like
>
> make TESTS=mytest
>
I guess you actually do like this:
make check TESTS=mytest
> Using Perl's test driver I can execute one test like
>
> make TEST_VERBOSE=1 TEST_FILES=t/mytest.t test
>
> How will the Automake 1.12 TAP driver handle this common
> special case?
>
You mean running only a given test case in a given TAP test script, or all
the test cases in a given TAP test script? Currently, there is no transparent
way way to do the former (which is hardly surprising), but for the latter,
you would use the same interface you use for "simple" tests:
make check TESTS=granular.tap
or even:
make check TEST_LOGS=granular.log
Regards,
Stefano
- Re: automake 1.11.3 check-TESTS and command line length, Bob Friesenhahn, 2012/03/31
- Re: automake 1.11.3 check-TESTS and command line length, Bob Friesenhahn, 2012/03/31
- TAP support in automake (was: Re: automake 1.11.3 check-TESTS and command line length), Stefano Lattarini, 2012/03/31
- Re: TAP support in automake (was: Re: automake 1.11.3 check-TESTS and command line length), Bob Friesenhahn, 2012/03/31
- Re: TAP support in automake, Russ Allbery, 2012/03/31
- Re: TAP support in automake, Bob Friesenhahn, 2012/03/31
- Re: TAP support in automake, Russ Allbery, 2012/03/31
- Re: TAP support in automake,
Stefano Lattarini <=
- Re: TAP support in automake, Bob Friesenhahn, 2012/03/31
- Re: TAP support in automake, Russ Allbery, 2012/03/31
- Re: TAP support in automake, Bob Friesenhahn, 2012/03/31
- Re: TAP support in automake, Stefano Lattarini, 2012/03/31
- Re: TAP support in automake, Russ Allbery, 2012/03/31