summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetri Latvala <petri.latvala@intel.com>2017-12-12 12:50:07 +0200
committerPetri Latvala <petri.latvala@intel.com>2017-12-21 11:21:43 +0200
commitcda167bb6aeffd25eef2990a77d6737fa57b6a36 (patch)
tree0077faa50d724fa36f3c35e30f3a65844c8f1fe7
parent9e0ba879e2e19f0d7d8549b928929678afc06ff3 (diff)
meson: Install test-list.txt to libexecdir
Piglit needs test-list.txt to be in the same directory as the test binaries. The corresponding change to autotools was done in commit commit 23b7c99c8f6b2da9f624d4f0c40fe1355d5a2dcc Author: Petri Latvala <petri.latvala@intel.com> Date: Fri Aug 25 13:13:51 2017 +0300 tests/Makefile.am: Install test-list*.txt to libexecdir Piglit expects test-list*.txt files to be in the same directory as the test binaries. Installing non-executable files to libexecdir requires going around some of autotools' sanity checks. Same reasoning for the install directory applies. v2: Expand commit message to explain the reason. Signed-off-by: Petri Latvala <petri.latvala@intel.com> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> #v1
-rw-r--r--tests/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/meson.build b/tests/meson.build
index 191ac4ce..45517a59 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -285,7 +285,7 @@ test_list = custom_target('testlist',
output : 'test-list.txt',
command : [ gen_testlist, '@OUTPUT@', test_progs ],
install : true,
- install_dir : pkgdatadir)
+ install_dir : libexecdir)
test_script = find_program('igt_command_line.sh')
foreach prog : test_progs