Re: Launch bash script for functional testing with "make check" and "make distcheck"

2013-01-10 Thread Stefano Lattarini
On 01/10/2013 08:57 PM, Timothée Flutre wrote: > I updated M4, Autoconf and Automake to their latest version. In > Makefile.am, I'm added only this: > > AM_TESTS_ENVIRONMENT = \ > myprog_abspath='$(abs_srcdir)'/../src/myprog; \ > export myprog_abspath; > > And now "make check" wor

Re: Launch bash script for functional testing with "make check" and "make distcheck"

2013-01-10 Thread Timothée Flutre
I updated M4, Autoconf and Automake to their latest version. In Makefile.am, I'm added only this: AM_TESTS_ENVIRONMENT = \ myprog_abspath='$(abs_srcdir)'/../src/myprog; \ export myprog_abspath; And now "make check" works! However, "make distcheck" doesn't. This is due to the fact

Re: Launch bash script for functional testing with "make check" and "make distcheck"

2013-01-10 Thread Stefano Lattarini
On 01/09/2013 04:09 PM, Timothée Flutre wrote: > Thanks, I've added TESTS_ENVIRONMENT (tried with or without "AC_") > (it's "AM_" BTW) > in my test/Makefile.am and updated the rest like this: > > launch_functional_tests.bash: $(srcdir)/launch_functional_tests.in > sed -e 's,PATHTOMYPROG,$

Re: Launch bash script for functional testing with "make check" and "make distcheck"

2013-01-09 Thread Timothée Flutre
Thanks, I've added TESTS_ENVIRONMENT (tried with or without "AC_") in my test/Makefile.am and updated the rest like this: launch_functional_tests.bash: $(srcdir)/launch_functional_tests.in sed -e 's,PATHTOMYPROG,$(myprog_abspath),g' $(srcdir)/launch_functional_tests.in > launch_functional_

Re: Launch bash script for functional testing with "make check" and "make distcheck"

2013-01-09 Thread Stefano Lattarini
On 01/09/2013 05:41 AM, Timothée Flutre wrote: > Hello, > I am using Autotools for my C++ package. My package has a single > binary (let's call it "myprog"). I also wrote a bash script, > "launch_functional_tests.bash". This script has 4 steps: > (1) create input files, > (2) generate expected outp

Launch bash script for functional testing with "make check" and "make distcheck"

2013-01-08 Thread Timothée Flutre
Hello, I am using Autotools for my C++ package. My package has a single binary (let's call it "myprog"). I also wrote a bash script, "launch_functional_tests.bash". This script has 4 steps: (1) create input files, (2) generate expected output files (by launching something like "R --file=functional_