tests: fix make check for out-of-tree builds
authorDylan Noblesmith <nobled@dreamwidth.org>
Fri, 15 Jun 2012 22:44:28 +0000 (22:44 +0000)
committerDylan Noblesmith <nobled@dreamwidth.org>
Sat, 30 Jun 2012 19:58:37 +0000 (19:58 +0000)
commitb486e3aba5c7618b7f6311e82b5fdb2c93f2beab
treed7d7f9c09a2bd1914041ef28010e794099ded471
parentc394b759586e2c20b249d6c48e2435388114d6da
tests: fix make check for out-of-tree builds

It was failing with missing include files.

While here, destroy the ugly "../src/..." include
paths used in the tests that was just hacking around
this problem in the Makefile:

sed -i s/..\\/src\\/// tests/*.c
tests/Makefile.am
tests/array-test.c
tests/client-test.c
tests/connection-test.c
tests/event-loop-test.c
tests/fixed-benchmark.c
tests/fixed-test.c
tests/list-test.c
tests/map-test.c
tests/os-wrappers-test.c
tests/sanity-test.c