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 10:32:26 +0000 (12:32 +0200)
commit01cc8aa9d5fbdc501199bd2353993ba27af04825
tree68a56c394395163c7bf355a35f26e16bef9184bd
parent9df75e8ef1db7f66ab10dbb9f9530f2f9b3d5245
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