This checks that dependency generation is correct even when the sources and outputs have spaces in them.pull/1253/head
parent
f024114c29
commit
2f5943d34d
2 changed files with 15 additions and 0 deletions
@ -0,0 +1,3 @@ |
||||
int main(int argc, char *argv[]) { |
||||
return 0; |
||||
} |
@ -0,0 +1,12 @@ |
||||
project('dep file gen', 'c') |
||||
|
||||
cc_id = meson.get_compiler('c').get_id() |
||||
if cc_id == 'intel' |
||||
# ICC does not escape spaces in paths in the dependency file, so Ninja |
||||
# (correctly) thinks that the rule has multiple outputs and errors out: |
||||
# 'depfile has multiple output paths' |
||||
error('MESON_SKIP_TEST: Skipping test with Intel compiler because it generates broken dependency files') |
||||
endif |
||||
|
||||
e = executable('main file', 'main .c') |
||||
test('test it', e) |
Loading…
Reference in new issue