LTP GCOV extension - code coverage report
Current view: directory - GCD/GNU-way - GCDrunner.c
Test: gcd.info
Date: 2007-03-14 Instrumented lines: 11
Code covered: 90.9 % Executed lines: 10

       1                 : // Defines the entry point for the console application.
       2                 : //
       3                 : 
       4                 : 
       5                 : #include <CUnit/CUnit.h>
       6                 : #include <CUnit/Automated.h>
       7                 : 
       8                 : 
       9                 : int RunAllTests(void)
      10               1 : {
      11                 : 
      12               1 :   CU_pSuite pSuite = NULL;
      13                 : 
      14                 :   /* initialize the CUnit test registry */
      15               1 :   if (CUE_SUCCESS != CU_initialize_registry())
      16               0 :     return CU_get_error();
      17                 :   
      18               1 :   pSuite = getGCDSuite();
      19                 :   /* Run all tests using the CUnit Basic interface */
      20                 :   
      21               1 :   CU_set_output_filename("GCD");
      22                 :   
      23               1 :   CU_automated_run_tests();
      24               1 :   CU_cleanup_registry();
      25               1 :   return CU_get_error();
      26                 : }
      27                 : 
      28                 : 
      29                 : int main(int argc, char* argv[])
      30               1 : {
      31               1 :   return RunAllTests();
      32                 : }
      33                 : 

Generated by: LTP GCOV extension version 1.5