aboutsummaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorClausKlein <claus.klein@arcormail.de>2020-03-13 08:44:22 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2020-03-19 19:11:10 +0200
commitf72c990bfd7416931508afd85a7b96d6049bada2 (patch)
treeccc80cdb3bad0416d45cb5e45bffe7aa1c8b7ce5 /test cases
parent12fa8d06e214223157ba281efea4e71dc5d0997e (diff)
downloadmeson-f72c990bfd7416931508afd85a7b96d6049bada2.zip
meson-f72c990bfd7416931508afd85a7b96d6049bada2.tar.gz
meson-f72c990bfd7416931508afd85a7b96d6049bada2.tar.bz2
Use os.path.normpath() for include paths
This make relative pathes shorter an too give a chance to de-duplicate -isystem flags just like -I flags. Fix common test case 203 for OSX build host too
Diffstat (limited to 'test cases')
-rw-r--r--test cases/common/203 function attributes/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/test cases/common/203 function attributes/meson.build b/test cases/common/203 function attributes/meson.build
index 69228e6..9ec948f 100644
--- a/test cases/common/203 function attributes/meson.build
+++ b/test cases/common/203 function attributes/meson.build
@@ -31,7 +31,6 @@ expected_result = not ['msvc', 'clang-cl', 'intel-cl'].contains(c.get_id())
# figure that out except by running the code we're trying to test.
attributes = [
'aligned',
- 'alloc_size',
'always_inline',
'cold',
'const',
@@ -65,6 +64,7 @@ endif
if host_machine.system() != 'darwin'
attributes += 'alias'
attributes += 'visibility'
+ attributes += 'alloc_size'
endif
if ['gcc', 'intel'].contains(c.get_id())