Skip to content

Commit f0ede8b

Browse files
committed
libm/test: Support 'skip_math_test' cross property
This property allows the cross compile control file to specify a list of multilib configurations for which the math tests should not be run. Signed-off-by: Keith Packard <[email protected]>
1 parent dda0d14 commit f0ede8b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

newlib/libm/test/meson.build

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,14 @@ endif
146146

147147
# 'dcvt.c',
148148

149+
skip_math_test = meson.get_cross_property('skip_math_test', [])
150+
149151
foreach target : targets
152+
153+
if target in skip_math_test
154+
continue
155+
endif
156+
150157
value = get_variable('target_' + target)
151158

152159
libs = [get_variable('lib_c' + target)]

0 commit comments

Comments
 (0)