tests: Make the output file locations more predictable
authorEmanuele Aina <emanuele.aina@collabora.com>
Sat, 21 Sep 2013 10:25:06 +0000 (12:25 +0200)
committerEmanuele Aina <emanuele.aina@collabora.com>
Sun, 22 Sep 2013 13:37:20 +0000 (15:37 +0200)
commit6b2db76209e4905a743939dacd087d37ef89fd18
treefb3b1a5149f484b133551ecea1f3f55abb53764d
parent5cc6084618a99ff7494a8ae97d1974144270dd71
tests: Make the output file locations more predictable

With libtool 2.4.2 argv[0] is "lt-$program" and not just "$program"
which causes the tests to fail as they are unable to find the right
reference file.

Write the log file to "$TESTS_BUILD_DIR/$program.out" to also make it
easier to run the tests executables from a read-only location.
tests/Makefile.am
tests/error1.c
tests/error2.c
tests/gobject1.c
tests/gobject2.c
tests/gobject3.c
tests/tests.c