Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of cpputest by
Revision 3:9e8c8907d9ee, committed 2015-05-13
- Comitter:
- Kojto
- Date:
- Wed May 13 13:20:35 2015 +0000
- Parent:
- 2:82161d9e7b36
- Commit message:
- Rename console to mbed_cpputest_console (as in mbed testrunner)
Changed in this revision
| src/Platforms/armcc/UtestPlatform.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/src/Platforms/armcc/UtestPlatform.cpp Thu Jun 19 08:24:31 2014 +0100
+++ b/src/Platforms/armcc/UtestPlatform.cpp Wed May 13 13:20:35 2015 +0000
@@ -202,18 +202,18 @@
* Serial object connected to the console. */
#define NEED_TEST_REPORT_AS_CONSOLE_OUTPUT 1
#if NEED_TEST_REPORT_AS_CONSOLE_OUTPUT
- extern Serial console;
+ extern Serial mbed_cpputest_console;
#define NEED_LINE_FEED_IN_ADDITION_TO_NEWLINE 1
#if NEED_LINE_FEED_IN_ADDITION_TO_NEWLINE
/* CppUTest emits \n line terminators in its reports; some terminals
* need the linefeed (\r) in addition. */
if (c == '\n') {
- console.putc('\r');
+ mbed_cpputest_console.putc('\r');
}
#endif /* #if NEED_LINE_FEED_IN_ADDITION_TO_NEWLINE */
- return (console.putc(c));
+ return (mbed_cpputest_console.putc(c));
#else /* NEED_TEST_REPORT_AS_CONSOLE_OUTPUT */
return (0);
#endif /* NEED_TEST_REPORT_AS_CONSOLE_OUTPUT */
