Skip to content

Commit 2aa7532

Browse files
committed
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.
1 parent 364818f commit 2aa7532

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

TESTS/mbed_drivers/dev_null/main.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,8 @@ int main() {
4444
printf("{{to_null;printf redirected to /null}}\n");
4545
printf("MBED: this printf is already redirected to /null\n");
4646
}
47-
GREENTEA_TESTSUITE_RESULT(false);
47+
48+
while(1) {
49+
// Success is determined by the host test at this point, so busy wait
50+
}
4851
}

0 commit comments

Comments
 (0)