Changeset 855e0d8 in mainline for uspace/app/tester/tester.c
- Timestamp:
- 2010-11-26T01:10:11Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5587cf7
- Parents:
- d16fc78
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/tester.c
rd16fc78 r855e0d8 51 51 #include "print/print3.def" 52 52 #include "print/print4.def" 53 #include "print/print5.def" 53 54 #include "console/console1.def" 54 55 #include "stdio/stdio1.def" … … 110 111 } 111 112 113 unsigned int _len = (unsigned int) len; 114 if ((_len != len) || (((int) _len) < 0)) { 115 printf("Command length overflow\n"); 116 return; 117 } 118 112 119 for (test = tests; test->name != NULL; test++) 113 printf("%-*s %s%s\n", len, test->name, test->desc, (test->safe ? "" : " (unsafe)")); 120 printf("%-*s %s%s\n", _len, test->name, test->desc, 121 (test->safe ? "" : " (unsafe)")); 114 122 115 printf("%-*s Run all safe tests\n", len, "*");123 printf("%-*s Run all safe tests\n", _len, "*"); 116 124 } 117 125
Note:
See TracChangeset
for help on using the changeset viewer.