2014-03-31 16:15:20 +00:00
|
|
|
CMAKE_INCLUDE_FILE=include.ctest.sh
|
|
|
|
if [ -f "$CMAKE_INCLUDE_FILE" ]; then
|
|
|
|
# This is the config file for Cmake tests
|
|
|
|
. ./$CMAKE_INCLUDE_FILE
|
2013-03-25 12:04:10 +00:00
|
|
|
|
2014-03-31 16:15:20 +00:00
|
|
|
else
|
2018-08-15 11:00:07 +00:00
|
|
|
set -eax
|
2014-03-31 16:15:20 +00:00
|
|
|
echo
|
|
|
|
echo "TEST: $0"
|
2013-03-25 12:04:10 +00:00
|
|
|
|
2014-03-31 16:15:20 +00:00
|
|
|
cpath=$TOPBUILDDIR
|
2015-01-23 22:47:51 +00:00
|
|
|
ECCODES_DEFINITION_PATH=$cpath/definitions
|
|
|
|
export ECCODES_DEFINITION_PATH
|
|
|
|
ECCODES_SAMPLES_PATH=$cpath/samples
|
|
|
|
export ECCODES_SAMPLES_PATH
|
2017-02-03 14:21:24 +00:00
|
|
|
tools_dir=$cpath/tools
|
2014-03-31 16:15:20 +00:00
|
|
|
examples_dir=$cpath/examples/python
|
|
|
|
data_dir=$cpath/data
|
2015-10-16 17:17:30 +00:00
|
|
|
examples_src=$examples_dir
|
2013-03-25 12:04:10 +00:00
|
|
|
|
2014-03-31 16:15:20 +00:00
|
|
|
PYTHONPATH=$cpath/python:$cpath/python/.libs:$PYTHONPATH
|
|
|
|
export PYTHONPATH
|
2013-03-25 12:04:10 +00:00
|
|
|
|
2020-02-20 17:20:35 +00:00
|
|
|
HAVE_MEMFS=0
|
|
|
|
ECCODES_ON_WINDOWS=0
|
|
|
|
|
2014-04-24 14:00:03 +00:00
|
|
|
# Download the data needed for tests
|
|
|
|
${data_dir}/download.sh "${data_dir}"
|
|
|
|
|
2014-03-31 16:15:20 +00:00
|
|
|
set -u
|
2013-03-25 12:04:10 +00:00
|
|
|
|
2014-03-31 16:15:20 +00:00
|
|
|
fi
|