LCOV - code coverage report
Current view: top level - common/utils - revision.c (source / functions) Hit Total Coverage
Test: coverage.info Lines: 2 2 100.0 %
Date: 2021-10-13 02:24:04 Functions: 1 1 100.0 %

          Line data    Source code
       1             : /*
       2             :  * This Source Code Form is subject to the terms of the Mozilla Public
       3             :  * License, v. 2.0.  If a copy of the MPL was not distributed with this
       4             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       5             :  *
       6             :  * Copyright 1997 - July 2008 CWI, August 2008 - 2021 MonetDB B.V.
       7             :  */
       8             : 
       9             : #include "monetdb_config.h"
      10             : #include "monetdb_hgversion.h"
      11             : #include <string.h>
      12             : #include "mutils.h"
      13             : 
      14             : static const char revision[] =
      15             : #ifdef MERCURIAL_ID
      16             :         MERCURIAL_ID
      17             : #else
      18             :         "Unknown"
      19             : #endif
      20             :         ;
      21             : 
      22             : const char *
      23        1332 : mercurial_revision(void)
      24             : {
      25        1332 :         return revision;
      26             : }

Generated by: LCOV version 1.14