projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Create revision 2.5.1
[bertos.git]
/
bertos
/
mware
/
sprintf_test.c
diff --git
a/bertos/mware/sprintf_test.c
b/bertos/mware/sprintf_test.c
index 6aaeef91c34c0225e0ae95832127a0454f15729b..eba0da66e58d2ce572e499ab9d6484f602d60c92 100644
(file)
--- a/
bertos/mware/sprintf_test.c
+++ b/
bertos/mware/sprintf_test.c
@@
-30,6
+30,8
@@
*
* -->
*
*
* -->
*
+ * notest: avr
+ * notest: arm
* \brief sprintf() implementation based on _formatted_write()
*
* \version $Id$
* \brief sprintf() implementation based on _formatted_write()
*
* \version $Id$
@@
-64,7
+66,7
@@
int sprintf_testRun(void)
if (strcmp(buf, test_string) != 0)
return 1;
if (strcmp(buf, test_string) != 0)
return 1;
- snprintf(buf, sizeof buf, "%S", (wchar_t *)test_string_pgm);
+ snprintf(buf, sizeof buf, "%S", (
const
wchar_t *)test_string_pgm);
if (strcmp(buf, test_string_pgm) != 0)
return 2;
if (strcmp(buf, test_string_pgm) != 0)
return 2;
@@
-110,7
+112,4
@@
int sprintf_testTearDown(void)
return 0;
}
return 0;
}
-#if UNIT_TEST
- TEST_MAIN(sprintf);
-#endif /* UNIT_TEST */
-
+TEST_MAIN(sprintf);