tests/mem_alloc: improve newlib nano detection

The test now uses CONFIG_HAS_NEWLIB_LIBC_NANO rather than
toolchain_allow to determine if newlib nano is available.

Signed-off-by: Martin Åberg <martin.aberg@gaisler.com>
This commit is contained in:
Martin Åberg 2020-12-11 17:51:41 +01:00 committed by Anas Nashif
parent 4604c45541
commit 108a669813

View file

@ -13,6 +13,5 @@ tests:
tags: clib newlib userspace
libraries.libc.newlibnano:
extra_args: CONF_FILE=prj_newlibnano.conf
toolchain_allow: gnuarmemb
filter: CONFIG_HAS_NEWLIB_LIBC_NANO
tags: clib newlib userspace
filter: TOOLCHAIN_HAS_NEWLIB == 1