From 868d85d2e567b0f5cfb49858eb0f2ac96f7d5749 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Sat, 10 Jun 2017 19:00:00 +0530 Subject: [PATCH] tests: Make SDL2 compulsory now that it's in the CI image --- test cases/frameworks/16 sdl2/meson.build | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/test cases/frameworks/16 sdl2/meson.build b/test cases/frameworks/16 sdl2/meson.build index 5a33f2dbf..c79bd46d7 100644 --- a/test cases/frameworks/16 sdl2/meson.build +++ b/test cases/frameworks/16 sdl2/meson.build @@ -1,9 +1,10 @@ project('sdl2 test', 'c') -sdl2_dep = dependency('sdl2', version : '>=2.0.0', required : false) +sdl2_dep = dependency('sdl2', version : '>=2.0.0') -if sdl2_dep.found() - e = executable('sdl2prog', 'sdl2prog.c', dependencies : sdl2_dep) +e = executable('sdl2prog', 'sdl2prog.c', dependencies : sdl2_dep) - test('sdl2test', e) -endif +test('sdl2test', e) + +# Ensure that we can find it with sdl2-config too +configdep = dependency('sdl2', method : 'sdlconfig')