diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-09-08 17:14:47 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-09-20 19:25:58 +0300 |
commit | fd5aa6aac2dba154689c5350280d4cba9284eee5 (patch) | |
tree | 1de1ec2c1e14b12b6c3ddd710a0dd7fcdab5764c /tests/meson.build | |
parent | 1043c09ccbcba8e5c2ec5f2a358a442346348bd8 (diff) |
meson: align test-list.txt generation with automake
- I forgot the chamelium tests
- Order tests the same way in both build systems. Since testdisplay is
special, it's easier to put that at the end in meson, so adjusted
automake to suit.
With this you can diff the 2 test lists and end up with 0 differences,
which will be useful to CI meson vs. automake.
Signed-off-by: Daniel Vetter <daniel.vetter@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 | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/tests/meson.build b/tests/meson.build index 919ee50b..1c619179 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -218,6 +218,17 @@ test_progs = [ ] test_deps = [ igt_deps ] + +if libdrm_amdgpu.found() + # FIXME meson/ninja really doesn't like build targets with paths in them + test_progs += [ + 'amdgpu/amd_basic', + 'amdgpu/amd_cs_nop', + 'amdgpu/amd_prime', + ] + test_deps += libdrm_amdgpu +endif + if libdrm_nouveau.found() test_progs += [ 'prime_nv_api', @@ -238,14 +249,11 @@ if libdrm_vc4.found() test_deps += libdrm_vc4 endif -if libdrm_amdgpu.found() - # FIXME meson/ninja really doesn't like build targets with paths in them +if chamelium.found() test_progs += [ - 'amdgpu/amd_basic', - 'amdgpu/amd_cs_nop', - 'amdgpu/amd_prime', + 'chamelium', ] - test_deps += libdrm_amdgpu + test_deps += chamelium endif if alsa.found() and gsl.found() |