Skip to content

Commit 7578ac1

Browse files
authored
Merge pull request #301 from bridadan/fix-dev_null-test
Fixing dev_null test
2 parents 4241dea + 2aa7532 commit 7578ac1

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)