diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-09-11 18:53:51 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-09-15 15:57:51 +0300 |
commit | 28dd0798fa7508076a9da56d7d84a21e789315eb (patch) | |
tree | 9cdb4c32582f7fec3067296d8db8d598986ca4b0 /tests/meson.build | |
parent | e63b121c7a28d1d50f9b2d0d2dac27a7d339fa36 (diff) |
meson: Install test-list.txt
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tests/meson.build')
-rw-r--r-- | tests/meson.build | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/meson.build b/tests/meson.build index 6feaafe3..4f636352 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -270,7 +270,14 @@ executable('testdisplay', ['testdisplay.c', 'testdisplay_hotplug.c'], install : true) test_progs += 'testdisplay' -run_command('generate_testlist.sh', test_progs) +pkgdatadir = join_paths(get_option('prefix'), get_option('datadir'), 'intel-gpu-tools') + +gen_testlist = find_program('generate_testlist.sh') +custom_target('testlist', + output : 'test-list.txt', + command : [ gen_testlist, '@OUTPUT@', test_progs ], + install : true, + install_dir : pkgdatadir) test_script = find_program('igt_command_line.sh') foreach prog : test_progs |