Subversion Repositories HelenOS

Rev

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

Rev 2656 Rev 2785
Line 76... Line 76...
76
    return false;
76
    return false;
77
}
77
}
78
 
78
 
79
static void run_safe_tests(void)
79
static void run_safe_tests(void)
80
{
80
{
-
 
81
    test_t *test;
-
 
82
    int i = 0, n = 0;
-
 
83
 
-
 
84
    printf("\n*** Running all safe tests\n\n");
-
 
85
 
-
 
86
    for (test = tests; test->name != NULL; test++) {
-
 
87
        if (test->safe) {
-
 
88
            if (run_test(test))
-
 
89
                i++;
-
 
90
            else
-
 
91
                n++;
-
 
92
        }
-
 
93
    }
-
 
94
 
-
 
95
    printf("\nSafe tests completed, %d tests run, %d passed.\n\n", i + n, i);
81
}
96
}
82
 
97
 
83
static void list_tests(void)
98
static void list_tests(void)
84
{
99
{
85
    test_t *test;
100
    test_t *test;