Changeset 047aa46 in mainline for uspace/app/tester/tester.c


Ignore:
Timestamp:
2008-03-26T22:47:55Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e190a89b
Parents:
e13daa5d
Message:

Finish run_safe_tests() in app/tester (contributed by Tim Post).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/tester.c

    re13daa5d r047aa46  
    7979static void run_safe_tests(void)
    8080{
     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);
    8196}
    8297
Note: See TracChangeset for help on using the changeset viewer.