tests/206: Fix intel vs intel-cl expectations

pull/5331/head
Dylan Baker 6 years ago
parent 73d6bde9b6
commit 7d4e3d2589
  1. 10
      test cases/common/206 argument syntax/meson.build

@ -5,16 +5,10 @@ project(
cc = meson.get_compiler('c') cc = meson.get_compiler('c')
if ['gcc', 'lcc', 'clang'].contains(cc.get_id()) if ['gcc', 'lcc', 'clang', 'intel'].contains(cc.get_id())
expected = 'gcc' expected = 'gcc'
elif ['msvc', 'clang-cl'].contains(cc.get_id()) elif ['msvc', 'clang-cl', 'intel-cl'].contains(cc.get_id())
expected = 'msvc' expected = 'msvc'
elif cc.get_id() == 'intel'
if host_machine.system() == 'windows'
expected = 'msvc'
else
expected = 'gcc'
endif
else else
# It's possible that other compilers end up here that shouldn't # It's possible that other compilers end up here that shouldn't
expected = 'other' expected = 'other'

Loading…
Cancel
Save