[PATCH i-g-t 2/5] tests: Build gem_concurrent_all with meson
Arkadiusz Hiler
arek at hiler.eu
Thu Mar 25 18:59:12 UTC 2021
...and add it to test-list-full.txt just like we do when building with
autotools.
Signed-off-by: Arkadiusz Hiler <arek at hiler.eu>
---
tests/meson.build | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/tests/meson.build b/tests/meson.build
index 54a1a3c7..8e3cd390 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -402,6 +402,19 @@ test_list_target = custom_target('testlist',
install : true,
install_dir : libexecdir)
+test_executables += executable('gem_concurrent_all', 'i915/gem_concurrent_all.c',
+ dependencies : test_deps + [ libatomic ],
+ install_dir : libexecdir,
+ install_rpath : libexecdir_rpathdir,
+ install : true)
+test_list += 'gem_concurrent_all'
+
+test_list_full_target = custom_target('testlist-full',
+ output : 'test-list-full.txt',
+ command : [ gen_testlist, '@OUTPUT@', test_list ],
+ install : true,
+ install_dir : libexecdir)
+
test_script = find_program('igt_command_line.sh')
foreach prog : test_list
test('testcase check ' + prog, test_script, args : prog)
--
2.31.0
More information about the dri-devel
mailing list