Changeset b5e68c8 in mainline for uspace/app/tester/tester.c
- Timestamp:
- 2011-05-12T16:49:44Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f36787d7
- Parents:
- e80329d6 (diff), 750636a (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
re80329d6 rb5e68c8 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" … … 59 60 #include "vfs/vfs1.def" 60 61 #include "ipc/ping_pong.def" 61 #include "ipc/register.def"62 #include "ipc/connect.def"63 62 #include "loop/loop1.def" 64 63 #include "mm/malloc1.def" 64 #include "mm/malloc2.def" 65 #include "hw/serial/serial1.def" 66 #include "hw/misc/virtchar1.def" 67 #include "devs/devman1.def" 65 68 {NULL, NULL, NULL, false} 66 69 }; … … 110 113 } 111 114 115 unsigned int _len = (unsigned int) len; 116 if ((_len != len) || (((int) _len) < 0)) { 117 printf("Command length overflow\n"); 118 return; 119 } 120 112 121 for (test = tests; test->name != NULL; test++) 113 printf("%-*s %s%s\n", len, test->name, test->desc, (test->safe ? "" : " (unsafe)")); 122 printf("%-*s %s%s\n", _len, test->name, test->desc, 123 (test->safe ? "" : " (unsafe)")); 114 124 115 printf("%-*s Run all safe tests\n", len, "*");125 printf("%-*s Run all safe tests\n", _len, "*"); 116 126 } 117 127
Note:
See TracChangeset
for help on using the changeset viewer.