Re: Repeating a test suite with a different executable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2007-10-14 at 21:03 -0600, Eric Blake wrote:

> According to Braden McDaniel on 10/14/2007 8:33 PM:
> > Is there something clever I could do to repeat a series of tests (in
> > testsuite.at) with different executables? The tests consist of a series
> > of input files.
> 
> Autotest is built on top of m4sugar, which is a macro preprocessor, so it
> sounds like you would just write a macro that takes one parameter (the
> test you are running) and expands into the text that tests everything
> using the parameter in place of the program name.  Autoconf's own
> tests/local.at shows a good example of writing macros that make it easier
> to factor out the repetitive parts of tests into higher-level macros
> conditionalized on the one part of the family of tests that differs
> between tests.  Or consider tests/autotest.m4, where the macro AT_CHECK_AT
> expands into the entire AT_SETUP/AT_DATA/AT_CHECK/AT_CLEANUP sequence.

Thanks for the pointers. Looks like I should be able to cook something
up.

-- 
Braden McDaniel                           e-mail: <braden@xxxxxxxxxxxxx>
<http://endoframe.com>                    Jabber: <braden@xxxxxxxxxx>




_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux