Subversion Repositories HelenOS

Rev

Rev 3386 | Rev 4263 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3386 Rev 4153
Line 54... Line 54...
54
#include "ipc/send_async.def"
54
#include "ipc/send_async.def"
55
#include "ipc/send_sync.def"
55
#include "ipc/send_sync.def"
56
#include "ipc/answer.def"
56
#include "ipc/answer.def"
57
#include "ipc/hangup.def"
57
#include "ipc/hangup.def"
58
#include "devmap/devmap1.def"
58
#include "devmap/devmap1.def"
-
 
59
#include "loop/loop1.def"
59
#include "vfs/vfs1.def"
60
#include "vfs/vfs1.def"
-
 
61
#include "console/console1.def"
-
 
62
#include "stdio/stdio1.def"
-
 
63
#include "stdio/stdio2.def"
60
    {NULL, NULL, NULL}
64
    {NULL, NULL, NULL}
61
};
65
};
62
 
66
 
63
static bool run_test(test_t *test)
67
static bool run_test(test_t *test)
64
{
68
{
Line 131... Line 135...
131
        if ((c >= 'a') && (c <= 'z')) {
135
        if ((c >= 'a') && (c <= 'z')) {
132
            for (test = tests; test->name != NULL; test++, c--)
136
            for (test = tests; test->name != NULL; test++, c--)
133
                if (c == 'a')
137
                if (c == 'a')
134
                    break;
138
                    break;
135
           
139
           
136
            if (c > 'a')
140
            if (test->name == NULL)
137
                printf("Unknown test\n\n");
141
                printf("Unknown test\n\n");
138
            else
142
            else
139
                run_test(test);
143
                run_test(test);
140
        } else if (c == '*') {
144
        } else if (c == '*') {
141
            run_safe_tests();
145
            run_safe_tests();
Line 145... Line 149...
145
        } else {
149
        } else {
146
            printf("Invalid test\n\n");
150
            printf("Invalid test\n\n");
147
        }
151
        }
148
           
152
           
149
    }
153
    }
-
 
154
 
-
 
155
    return 0;
150
}
156
}
151
 
157
 
152
/** @}
158
/** @}
153
 */
159
 */