Re: Automake TESTS question

2008-05-19 Thread John Calcote
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Ralf, Ralf Wildenhues wrote: > > You can use > check_SCRIPTS = greptest.sh > This is what I finally settled on, based on your answers, and a little digging... - - - - - - - - - - - - - - - - - check_SCRIPTS = greptest.sh TESTS = $(check_SCRIPTS

Re: Automake TESTS question

2008-05-18 Thread Ralf Wildenhues
* John Calcote wrote on Fri, May 16, 2008 at 11:00:40PM CEST: > EXTRA_DIST = greptest.sh > TESTS = greptest.sh > > But this requires me to: > > 1) Actually HAVE a one-line script file called "greptest.sh" as part of > my package. > > 2) Use the EXTRA_DIST line. Why is this? Can't Automake tell f

Automake TESTS question

2008-05-16 Thread John Calcote
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've got a simple unit test scenario - I want to run my program and verify some text on its single output line. In a makefile, I might do this: check: myprog | grep "myprog text" @echo PASSED! In Automake, what's the simplest way to d