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
This commit is contained in:
Dylan Noblesmith 2012-06-15 22:44:28 +00:00
parent c394b75958
commit b486e3aba5
11 changed files with 13 additions and 12 deletions

View file

@ -36,9 +36,9 @@
#include <stdio.h>
#include <sys/epoll.h>
#include "../src/wayland-private.h"
#include "wayland-private.h"
#include "test-runner.h"
#include "../src/wayland-os.h"
#include "wayland-os.h"
static int fall_back;