LCOV - code coverage report
Current view: directory - src/trusted/debug_stub - test.cc (source / functions) Found Hit Coverage
Test: coverage.lcov Lines: 13 13 100.0 %
Date: 2014-09-25 Functions: 0 0 -

       1                 : /*
       2                 :  * Copyright (c) 2010 The Native Client Authors. All rights reserved.
       3                 :  * Use of this source code is governed by a BSD-style license that can be
       4                 :  * found in the LICENSE file.
       5                 :  */
       6                 : 
       7                 : #include <stdarg.h>
       8                 : #include <stdio.h>
       9                 : #include <stdlib.h>
      10                 : #include <string.h>
      11                 : 
      12                 : #include "native_client/src/trusted/debug_stub/platform.h"
      13                 : #include "native_client/src/trusted/debug_stub/test.h"
      14                 : 
      15               1 : int main(int argc, const char *argv[]) {
      16               1 :   int errs = 0;
      17                 : 
      18                 :   (void) argc;
      19                 :   (void) argv;
      20                 : 
      21               1 :   printf("Testing Utils.\n");
      22               1 :   errs += TestUtil();
      23                 : 
      24               1 :   printf("Testing ABI.\n");
      25               1 :   errs += TestAbi();
      26                 : 
      27               1 :   printf("Testing Packets.\n");
      28               1 :   errs += TestPacket();
      29                 : 
      30               1 :   printf("Testing Session.\n");
      31               1 :   errs += TestSession();
      32                 : 
      33               1 :   if (errs) printf("FAILED with %d errors.\n", errs);
      34               1 :   return errs;
      35               1 : }
      36                 : 

Generated by: LCOV version 1.7