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>
Sat, 21 Sep 2013 13:16:45 +0000 (15:16 +0200)
commita5acf8ad9d879091cab81ebbb8c6b77eaa6af525
treed32001be12bc5adfa3ff86642995dbcda557543f
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/error1.c
tests/error2.c
tests/gobject1.c
tests/gobject2.c
tests/gobject3.c
tests/tests.c