build: warn of faulty check version
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Mon, 27 Jul 2020 10:24:57 +0000 (12:24 +0200)
committerJongmin Lee <jm105.lee@samsung.com>
Tue, 28 Jul 2020 22:24:35 +0000 (07:24 +0900)
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D12067

meson.build

index 934aecd..6b82d60 100644 (file)
@@ -596,6 +596,10 @@ subdir(join_paths('data'))
 if get_option('build-tests')
   check = dependency('check')
 
+  if (check.version() == '0.15.1')
+    error('There is a bug in check@0.15.1 which does not allow efl to be compiled with it. Please downgrade / upgrade or disable tests')
+  endif
+
   test_env = environment()
   test_env.set('EFL_RUN_IN_TREE', '1')