From c8ebdb89fac8adb11c82a0142307db68fbaa8efc Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Thu, 23 Aug 2018 13:45:54 +0100 Subject: [PATCH] Testing: with MEMFS --- tests/bufr_dump.sh | 5 +++++ tests/bufr_dump_decode_C.sh | 5 +++++ tests/bufr_dump_encode_C.sh | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/tests/bufr_dump.sh b/tests/bufr_dump.sh index f6f864f89..d394e0b6a 100755 --- a/tests/bufr_dump.sh +++ b/tests/bufr_dump.sh @@ -13,6 +13,11 @@ #Define a common label for all the tmp files label="bufr_dump_test" +if [ $HAVE_MEMFS -eq 1 ]; then + unset ECCODES_DEFINITION_PATH + unset ECCODES_SAMPLES_PATH +fi + #Create log file fLog=${label}".log" rm -f $fLog diff --git a/tests/bufr_dump_decode_C.sh b/tests/bufr_dump_decode_C.sh index 0679da3b4..dab925418 100755 --- a/tests/bufr_dump_decode_C.sh +++ b/tests/bufr_dump_decode_C.sh @@ -13,6 +13,11 @@ #Define a common label for all the tmp files label="bufr_dump_decode_C_test" +if [ $HAVE_MEMFS -eq 1 ]; then + unset ECCODES_DEFINITION_PATH + unset ECCODES_SAMPLES_PATH +fi + #Create log file fLog=${label}".log" rm -f $fLog diff --git a/tests/bufr_dump_encode_C.sh b/tests/bufr_dump_encode_C.sh index ea947acdd..8f5d2abc9 100755 --- a/tests/bufr_dump_encode_C.sh +++ b/tests/bufr_dump_encode_C.sh @@ -13,6 +13,11 @@ #Define a common label for all the tmp files label="bufr_dump_encode_C_test" +if [ $HAVE_MEMFS -eq 1 ]; then + unset ECCODES_DEFINITION_PATH + unset ECCODES_SAMPLES_PATH +fi + #Create log file fLog=${label}".log" rm -f $fLog