>>> "Ed" == Ed Hartnett <[EMAIL PROTECTED]> writes:

 Ed> check_PROGRAMS = tst_parallel
 Ed> TESTS = run_par_test.sh

 Ed> Where run_par_test.sh is:

 Ed> MP_TASKS_PER_NODE=4 MP_PROCS=4 poe ./tst_parallel

 Ed> This works, but is there a way to do this in the Makefile.am, and not
 Ed> use a shell script?

If you have only one test, you could always use check-local to
run whatever you want.

check_PROGRAMS = tst_parallel
check-local:
        MP_TASKS_PER_NODE=4 MP_PROCS=4 poe ./tst_parallel

I don't find this very convenient when there is more test.  I
generally prefer the extra shell script because it allows me to
run a single test easily.
-- 
Alexandre Duret-Lutz



Reply via email to