> is there a way to have automake execute complex commands as tests? For > example, currently I use something like: > > TESTS = numberAtoms input.sh > > But it would be nice to have, for instance, a command with arguments like > input.sh a b c > executed; is that possible, when yes, how? I've tried quoting so far > (TESTS = numberAtoms "input.sh a b c") but it doesn't work.
Hi, One simple way is to put the invocation commands into a built shell script for each test: TESTS = my_test.sh my_test.sh: echo "#!/bin/sh" > $@ echo "command arg1 arg2 arg3" >> $@ chmod +x $@ HTH David