1
1
 
#! /bin/sh
2
2
 
#
3
3
 
# Copyright by The HDF Group.
4
4
 
# Copyright by the Board of Trustees of the University of Illinois.
5
5
 
# All rights reserved.
6
6
 
#
7
7
 
# This file is part of HDF5.  The full HDF5 copyright notice, including
8
8
 
# terms governing use, modification, and redistribution, is contained in
9
 
-
# the files COPYING and Copyright.html.  COPYING can be found at the root
10
 
-
# of the source code distribution tree; Copyright.html can be found at the
11
 
-
# root level of an installed copy of the electronic HDF5 document set and
12
 
-
# is linked from the top-level documents page.  It can also be found at
13
 
-
# http://hdfgroup.org/HDF5/doc/Copyright.html.  If you do not have
14
 
-
# access to either file, you may request a copy from help@hdfgroup.org.
 
9
+
# the COPYING file, which can be found at the root of the source code
 
10
+
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
 
11
+
# If you do not have access to either file, you may request a copy from
 
12
+
# help@hdfgroup.org.
15
13
 
16
14
 
# A script to generate coverage files for HDF5 using gcov.
17
15
 
# Configures, builds, and runs tests in-place; the output files will be placed
18
16
 
# in a directory called gcov_logs.
19
17
 
# Must be invoked from the root hdf5 directory.
20
18
 
# This script has been tested on kagiso.
21
19
 
22
20
 
CFLAGS="$CFLAGS -ftest-coverage -fprofile-arcs"
23
21
 
export CFLAGS
24
22
 
LDFLAGS="$LDFLAGS -lgcov"