From 43be74cf81b2dcb51c46d1ef44d649286d1d703e Mon Sep 17 00:00:00 2001 From: makise-homura Date: Wed, 21 Mar 2018 16:43:04 +0300 Subject: Skipping PCH unit test for lcc compiler --- test cases/common/13 pch/meson.build | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test cases/common/13 pch/meson.build b/test cases/common/13 pch/meson.build index 9ed6512..e144aa5 100644 --- a/test cases/common/13 pch/meson.build +++ b/test cases/common/13 pch/meson.build @@ -1,4 +1,10 @@ project('pch test', 'c') +cc = meson.get_compiler('c') +cc_id = cc.get_id() +if cc_id == 'lcc' + error('MESON_SKIP_TEST: Elbrus compiler does not support PCH.') +endif + exe = executable('prog', 'prog.c', c_pch : ['pch/prog_pch.c', 'pch/prog.h']) -- cgit v1.1