summaryrefslogtreecommitdiff
path: root/lib/tests/Makefile.am
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2014-10-31 11:38:02 +0000
committerThomas Wood <thomas.wood@intel.com>2014-11-06 11:39:02 +0000
commit03a4ad16d17b201ba719bc48d2fb2de341a1cf2f (patch)
tree5ae79f8ff394656db074352705908d7e5b2aae93 /lib/tests/Makefile.am
parent86bb6072a6e104e59ebbea2b41d4d86aeed134dc (diff)
lib/tests: fix tests and test list location
The igt_command_line.sh script was moved by commit 685e577 (Move library selftests to lib/tests), but the location of the tests and the test lists was not updated. Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'lib/tests/Makefile.am')
-rw-r--r--lib/tests/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/tests/Makefile.am b/lib/tests/Makefile.am
index 78279fb4..bab0fcb6 100644
--- a/lib/tests/Makefile.am
+++ b/lib/tests/Makefile.am
@@ -1,5 +1,9 @@
include Makefile.sources
+AM_TESTS_ENVIRONMENT = \
+ top_builddir=$(top_builddir) \
+ top_srcdir=$(top_srcdir)
+
EXTRA_DIST = $(check_SCRIPTS)
AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) \