[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to run a test file with command line options...
From: |
Ralf Wildenhues |
Subject: |
Re: how to run a test file with command line options... |
Date: |
Mon, 20 Jun 2005 10:56:25 +0200 |
User-agent: |
Mutt/1.4.1i |
* Harald Dunkel wrote on Mon, Jun 20, 2005 at 10:11:05AM CEST:
> Ed Hartnett wrote:
> >
> > check_PROGRAMS = tst_parallel
> > TESTS = run_par_test.sh
> >
> > Where run_par_test.sh is:
> >
> > MP_TASKS_PER_NODE=4 MP_PROCS=4 poe ./tst_parallel
>
> Since Automake is based on Perl it should be pretty easy to do
> some cgi-style replacement, e.g.
>
> TESTS = MP_TASKS_PER_NODE=4%20MP_PROCS=4%20poe%20./tst_parallel
>
> Pretty ugly and error-prone, of course, but it would be more or
> less backward compatible, and better than nothing.
Ouch. If you admit to the hack of using environment variables, then do
this:
env MP_TASKS_PER_NODE=4 MP_PROCS=4 make -e check
Report make/Makefile.am combinations where this fails.
Regards,
Ralf