testdisplay: Provide a full path when opening pngs

This way one doesn't have to be in tests/ for testsdisplay to be able to
open pass.png.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
Damien Lespiau
2013-09-06 11:44:41 +01:00
parent 5d99634913
commit 951b37e2d0
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -194,7 +194,10 @@ CLEANFILES = $(EXTRA_PROGRAMS)
AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) \
-I$(srcdir)/.. \
-I$(srcdir)/../lib
-I$(srcdir)/../lib \
-DIGT_DATADIR=\""$(abs_srcdir)"\" \
$(NULL)
LDADD = ../lib/libintel_tools.la $(PCIACCESS_LIBS) $(DRM_LIBS)
testdisplay_SOURCES = \