/usr/share/doc/libgrib-api-dev/examples/include.sh is in libgrib-api-dev 1.25.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | CMAKE_INCLUDE_FILE=include.ctest.sh
if [ -f "$CMAKE_INCLUDE_FILE" ]; then
# This is the config file for Cmake tests
. ./$CMAKE_INCLUDE_FILE
else
set -ea
echo
echo "TEST: $0"
# If this environment variable is set, then become verbose
# so one can see why and how a test failed
if test "x$GRIB_API_TEST_VERBOSE_OUTPUT" != "x"; then
set -x
fi
cpath=$TOPBUILDDIR
GRIB_DEFINITION_PATH=$cpath/definitions
export GRIB_DEFINITION_PATH
GRIB_SAMPLES_PATH=$cpath/samples
export GRIB_SAMPLES_PATH
tools_dir=$cpath/tools/
examples_dir=$cpath/examples/python
data_dir=$cpath/data
examples_src=$examples_dir
PYTHONPATH=$cpath/python:$cpath/python/.libs:$PYTHONPATH
export PYTHONPATH
# Download the data needed for tests
${data_dir}/download.sh "${data_dir}"
set -u
fi
|