mirror of https://github.com/ecmwf/eccodes.git
Testing: add env var to allow verbose output
This commit is contained in:
parent
f00fb337cd
commit
409c7ff468
|
@ -15,3 +15,9 @@ test_dir=@CMAKE_BINARY_DIR@/tests
|
||||||
samp_dir="${proj_dir}/samples"
|
samp_dir="${proj_dir}/samples"
|
||||||
ECCODES_SAMPLES_PATH=${samp_dir}
|
ECCODES_SAMPLES_PATH=${samp_dir}
|
||||||
export ECCODES_SAMPLES_PATH
|
export ECCODES_SAMPLES_PATH
|
||||||
|
|
||||||
|
# If this environment variable is set, then become verbose
|
||||||
|
# so one can see why and how a test failed
|
||||||
|
if test "x$ECCODES_TEST_VERBOSE_OUTPUT" != "x"; then
|
||||||
|
set -x
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue