Changes in uspace/app/tester/tester.c [9e953bda:19f857a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/tester.c
r9e953bda r19f857a 51 51 #include "print/print3.def" 52 52 #include "print/print4.def" 53 #include "print/print5.def"54 53 #include "console/console1.def" 55 54 #include "stdio/stdio1.def" … … 60 59 #include "vfs/vfs1.def" 61 60 #include "ipc/ping_pong.def" 61 #include "ipc/register.def" 62 #include "ipc/connect.def" 62 63 #include "loop/loop1.def" 63 64 #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"68 65 {NULL, NULL, NULL, false} 69 66 }; … … 113 110 } 114 111 115 unsigned int _len = (unsigned int) len; 116 if ((_len != len) || (((int) _len) < 0)) { 117 printf("Command length overflow\n"); 118 return; 119 } 112 for (test = tests; test->name != NULL; test++) 113 printf("%-*s %s%s\n", len, test->name, test->desc, (test->safe ? "" : " (unsafe)")); 120 114 121 for (test = tests; test->name != NULL; test++) 122 printf("%-*s %s%s\n", _len, test->name, test->desc, 123 (test->safe ? "" : " (unsafe)")); 124 125 printf("%-*s Run all safe tests\n", _len, "*"); 115 printf("%-*s Run all safe tests\n", len, "*"); 126 116 } 127 117
Note:
See TracChangeset
for help on using the changeset viewer.