From 5a1333e5abf5c1a6de73f3a3db90dcae8191862a Mon Sep 17 00:00:00 2001 From: Hugues Kamba Date: Wed, 11 Sep 2019 09:44:19 +0100 Subject: [PATCH] minimal-printf: Add capability to run floating point tests manually --- TESTS/mbed_platform/minimal-printf/compliance/README.md | 2 +- .../minimal-printf/compliance/test_config.json | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 TESTS/mbed_platform/minimal-printf/compliance/test_config.json diff --git a/TESTS/mbed_platform/minimal-printf/compliance/README.md b/TESTS/mbed_platform/minimal-printf/compliance/README.md index ee63ed63fd..420f1251b3 100644 --- a/TESTS/mbed_platform/minimal-printf/compliance/README.md +++ b/TESTS/mbed_platform/minimal-printf/compliance/README.md @@ -6,6 +6,6 @@ This document describes how to run minimal-printf tests. You can use the following command to run tests: -`mbed test -m K64F -t GCC_ARM -n *printf* -v -c` +`mbed test -m K64F -t GCC_ARM -n *printf* -v -c --app-config TESTS/mbed_platform/minimal-printf/compliance/test_config.json` Do not use --profile minimal-printf so minimal-printf is not compared with itself. diff --git a/TESTS/mbed_platform/minimal-printf/compliance/test_config.json b/TESTS/mbed_platform/minimal-printf/compliance/test_config.json new file mode 100644 index 0000000000..084d441e0d --- /dev/null +++ b/TESTS/mbed_platform/minimal-printf/compliance/test_config.json @@ -0,0 +1,7 @@ +{ + "target_overrides": { + "*": { + "platform.minimal-printf-enable-floating-point": true + } + } +}