summaryrefslogtreecommitdiffstats
path: root/src/intel/dev/meson.build
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2019-04-11 12:12:38 +0100
committerLionel Landwerlin <[email protected]>2019-04-19 15:56:21 +0000
commit84e70556fbd4ed4d00067f732ea177f29e4a2ec1 (patch)
tree3da11e7b35896aa3e162ce40cec3adbfbcd0c1ec /src/intel/dev/meson.build
parent773e6aa9fd250479e2a89b376e5eda5a1d07fc5b (diff)
intel/devinfo: add basic sanity tests on device database
v2: #undef NDEBUG (Eric) Use inc_include & inc_src (Eric) Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Anuj Phogat [email protected]
Diffstat (limited to 'src/intel/dev/meson.build')
-rw-r--r--src/intel/dev/meson.build12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/intel/dev/meson.build b/src/intel/dev/meson.build
index 9027a3ef2b3..0d8543b6b1c 100644
--- a/src/intel/dev/meson.build
+++ b/src/intel/dev/meson.build
@@ -33,3 +33,15 @@ libintel_dev = static_library(
include_directories : [inc_common, inc_intel, inc_include],
c_args : [c_vis_args, no_override_init_args],
)
+
+if with_tests
+ test('gen_device_info_test',
+ executable(
+ 'gen_device_info_test',
+ 'gen_device_info_test.c',
+ include_directories : [inc_include, inc_src],
+ link_with : libintel_dev,
+ ),
+ suite : ['intel'],
+ )
+endif