[Top][All Lists]

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

Re: Complex commands in TESTS

From: David Fang
Subject: Re: Complex commands in TESTS
Date: Thu, 30 Mar 2006 17:16:53 -0500 (EST)

> is there a way to have automake execute complex commands as tests?  For
> example, currently I use something like:
> TESTS = numberAtoms
> But it would be nice to have, for instance, a command with arguments like
> a b c
> executed; is that possible, when yes, how?  I've tried quoting so far
> (TESTS = numberAtoms " a b c") but it doesn't work.

        One simple way is to put the invocation commands into a built
shell script for each test:

        echo "#!/bin/sh" > $@
        echo "command arg1 arg2 arg3" >> $@
        chmod +x $@



reply via email to

[Prev in Thread] Current Thread [Next in Thread]