From 2aa7532bbd9b003cd911841012dbaa7e407c1817 Mon Sep 17 00:00:00 2001 From: Brian Daniels Date: Sat, 11 Jun 2016 13:06:23 +0100 Subject: [PATCH] Fixing dev_null test The dev null test was returning failure from the device even though the device can't determine the success of its own test. Therefore I've removed this line. The device now lets the host test determines the success of the test. --- TESTS/mbed_drivers/dev_null/main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/TESTS/mbed_drivers/dev_null/main.cpp b/TESTS/mbed_drivers/dev_null/main.cpp index 22940d026f..5513ca64fc 100644 --- a/TESTS/mbed_drivers/dev_null/main.cpp +++ b/TESTS/mbed_drivers/dev_null/main.cpp @@ -44,5 +44,8 @@ int main() { printf("{{to_null;printf redirected to /null}}\n"); printf("MBED: this printf is already redirected to /null\n"); } - GREENTEA_TESTSUITE_RESULT(false); + + while(1) { + // Success is determined by the host test at this point, so busy wait + } }