Changeset ab3a851 in mainline for uspace/app/tester/tester.c
- Timestamp:
- 2010-11-30T00:50:25Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1b2981aa
- Parents:
- 178673c (diff), 41a7f62 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/tester.c
r178673c rab3a851 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" … … 63 64 #include "loop/loop1.def" 64 65 #include "mm/malloc1.def" 66 #include "hw/serial/serial1.def" 65 67 {NULL, NULL, NULL, false} 66 68 }; … … 110 112 } 111 113 114 unsigned int _len = (unsigned int) len; 115 if ((_len != len) || (((int) _len) < 0)) { 116 printf("Command length overflow\n"); 117 return; 118 } 119 112 120 for (test = tests; test->name != NULL; test++) 113 printf("%-*s %s%s\n", len, test->name, test->desc, (test->safe ? "" : " (unsafe)")); 121 printf("%-*s %s%s\n", _len, test->name, test->desc, 122 (test->safe ? "" : " (unsafe)")); 114 123 115 printf("%-*s Run all safe tests\n", len, "*");124 printf("%-*s Run all safe tests\n", _len, "*"); 116 125 } 117 126
Note:
See TracChangeset
for help on using the changeset viewer.