filecomp would fail because it couldn't find the input files, after
compilation failed due to missing includes.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
-INCLUDES = -I$(top_srcdir)/include
+INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src
AM_CFLAGS = $(X11_CFLAGS) $(CWARNFLAGS)
TESTS_ENVIRONMENT = $(SHELL)
rm -f "$log"
-compile basic.xkb
-compile named.xkb
-compile named.xkb de
-compile named.xkb us
-compile default.xkb
+compile $srcdir/basic.xkb
+compile $srcdir/named.xkb
+compile $srcdir/named.xkb de
+compile $srcdir/named.xkb us
+compile $srcdir/default.xkb
-failcompile basic.xkb foo
-failcompile named.xkb foo
-failcompile bad.xkb
+failcompile $srcdir/basic.xkb foo
+failcompile $srcdir/named.xkb foo
+failcompile $srcdir/bad.xkb