diff options
author | makise-homura <akemi_homura@kurisa.ch> | 2018-03-21 16:43:04 +0300 |
---|---|---|
committer | makise-homura <akemi_homura@kurisa.ch> | 2018-03-21 16:43:04 +0300 |
commit | 43be74cf81b2dcb51c46d1ef44d649286d1d703e (patch) | |
tree | 7c0c127f15c2906372a424c8fedbd60cb983725b | |
parent | 546f81e0f943022e27b4aeaea3edd7bc8549093d (diff) | |
download | meson-43be74cf81b2dcb51c46d1ef44d649286d1d703e.zip meson-43be74cf81b2dcb51c46d1ef44d649286d1d703e.tar.gz meson-43be74cf81b2dcb51c46d1ef44d649286d1d703e.tar.bz2 |
Skipping PCH unit test for lcc compiler
-rw-r--r-- | test cases/common/13 pch/meson.build | 6 |
1 files changed, 6 insertions, 0 deletions
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']) |