[Intel-gfx] [PATCH i-g-t] meson: Make syncobj tests build

Ville Syrjala ville.syrjala at linux.intel.com
Thu Oct 12 12:11:15 UTC 2017


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

Include igt_syncobj.c in libigt so that tests/syncobj_basic actually
builds, and let's also build tests/syncobj_wait.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 lib/meson.build   | 1 +
 tests/meson.build | 1 +
 2 files changed, 2 insertions(+)

diff --git a/lib/meson.build b/lib/meson.build
index 42919eef52a8..4fa6fcfeb220 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -54,6 +54,7 @@ lib_sources = [
 	'igt_primes.c',
 	'igt_rand.c',
 	'igt_stats.c',
+	'igt_syncobj.c',
 	'igt_sysfs.c',
 	'igt_vgem.c',
 	'instdone.c',
diff --git a/tests/meson.build b/tests/meson.build
index 85666f6d572e..835adc007e95 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -211,6 +211,7 @@ test_progs = [
 	'prime_vgem',
 	'sw_sync',
 	'syncobj_basic',
+	'syncobj_wait',
 	'template',
 	'tools_test',
 	'vgem_basic',
-- 
2.13.6



More information about the Intel-gfx mailing list