mirror of https://github.com/ecmwf/eccodes.git
Testing: use temp prefix for temporary output files
This commit is contained in:
parent
2b90bf09e1
commit
6b844c4623
|
@ -19,10 +19,10 @@ if [ $HAVE_MEMFS -eq 1 ]; then
|
|||
fi
|
||||
|
||||
# Create log file
|
||||
fLog=${label}".log"
|
||||
fLog=temp.${label}".log"
|
||||
rm -f $fLog
|
||||
|
||||
tempDir=${label}.dir
|
||||
tempDir=temp.${label}.dir
|
||||
rm -rf $tempDir
|
||||
mkdir -p $tempDir
|
||||
|
||||
|
@ -55,8 +55,8 @@ fi
|
|||
|
||||
for file in ${bufr_files}
|
||||
do
|
||||
tempSrc=$label.$file.c
|
||||
tempExe=$label.$file.exe
|
||||
tempSrc=temp.$label.$file.c
|
||||
tempExe=temp.$label.$file.exe
|
||||
filePath=${data_dir}/bufr/$file
|
||||
|
||||
# Generate C code from BUFR file
|
||||
|
|
|
@ -17,12 +17,12 @@ cd ${data_dir}/bufr
|
|||
label="bufr_dump_decode_filter_test"
|
||||
|
||||
# Create log file
|
||||
fLog=${label}".log"
|
||||
fLog=temp.${label}".log"
|
||||
rm -f $fLog
|
||||
touch $fLog
|
||||
|
||||
# Define filter rules file
|
||||
fRules=${label}.filter
|
||||
fRules=temp.${label}.filter
|
||||
|
||||
#-----------------------------------------------------------
|
||||
# NOTE: not all of our BUFR files pass this test. bufr_filter is limited
|
||||
|
|
|
@ -14,11 +14,11 @@
|
|||
label="bufr_dump_decode_fortran_test"
|
||||
|
||||
# Create log file
|
||||
fLog=${label}".log"
|
||||
fLog=temp.${label}".log"
|
||||
rm -f $fLog
|
||||
|
||||
tempBufr=outfile.bufr
|
||||
tempDir=${label}.dir
|
||||
tempDir=temp.${label}.dir
|
||||
rm -rf $tempDir
|
||||
mkdir -p $tempDir
|
||||
|
||||
|
@ -51,8 +51,8 @@ fi
|
|||
|
||||
for file in ${bufr_files}
|
||||
do
|
||||
tempSrc=$label.$file.f90
|
||||
tempExe=$label.$file.exe
|
||||
tempSrc=temp.$label.$file.f90
|
||||
tempExe=temp.$label.$file.exe
|
||||
filePath=${data_dir}/bufr/$file
|
||||
|
||||
# Generate F90 code from BUFR file
|
||||
|
|
|
@ -14,10 +14,10 @@
|
|||
label="bufr_dump_decode_python_test"
|
||||
|
||||
# Create log file
|
||||
fLog=${label}".log"
|
||||
fLog=temp.${label}".log"
|
||||
rm -f $fLog
|
||||
|
||||
tempDir=${label}.dir
|
||||
tempDir=temp.${label}.dir
|
||||
mkdir -p $tempDir
|
||||
cd $tempDir
|
||||
|
||||
|
@ -28,7 +28,7 @@ bufr_files=`cat ${data_dir}/bufr/bufr_data_files.txt`
|
|||
for file in ${bufr_files}
|
||||
do
|
||||
inputBufr=${data_dir}/bufr/$file
|
||||
tempSrc=$label.$file.py
|
||||
tempSrc=temp.$label.$file.py
|
||||
|
||||
# Too large for this test
|
||||
if [ "$file" = "ias1_240.bufr" ]; then
|
||||
|
|
|
@ -19,11 +19,11 @@ if [ $HAVE_MEMFS -eq 1 ]; then
|
|||
fi
|
||||
|
||||
# Create log file
|
||||
fLog=${label}".log"
|
||||
fLog=temp.${label}".log"
|
||||
rm -f $fLog
|
||||
|
||||
tempBufr=outfile.bufr
|
||||
tempDir=${label}.dir
|
||||
tempDir=temp.${label}.dir
|
||||
rm -rf $tempDir
|
||||
mkdir -p $tempDir
|
||||
|
||||
|
@ -64,7 +64,7 @@ fi
|
|||
|
||||
for file in ${bufr_files}
|
||||
do
|
||||
tempSrc=$label.$file.c
|
||||
tempSrc=temp.$label.$file.c
|
||||
tempExe=$label.$file.exe
|
||||
|
||||
# Generate C code from BUFR file
|
||||
|
|
|
@ -17,15 +17,15 @@ cd ${data_dir}/bufr
|
|||
label="bufr_dump_encode_filter_test"
|
||||
|
||||
# Create log file
|
||||
fLog=${label}".log"
|
||||
fLog=temp.${label}".log"
|
||||
rm -f $fLog
|
||||
touch $fLog
|
||||
|
||||
# Define tmp bufr file
|
||||
fBufrTmp=${label}".bufr.tmp"
|
||||
fBufrTmp=temp.${label}".bufr"
|
||||
|
||||
# Define filter rules file
|
||||
fRules=${label}.filter
|
||||
fRules=temp.${label}.filter
|
||||
|
||||
#-----------------------------------------------------------
|
||||
# NOTE: not all of our BUFR files pass this test. bufr_filter is limited
|
||||
|
|
|
@ -14,11 +14,11 @@
|
|||
label="bufr_dump_encode_fortran_test"
|
||||
|
||||
# Create log file
|
||||
fLog=${label}".log"
|
||||
fLog=temp.${label}".log"
|
||||
rm -f $fLog
|
||||
|
||||
tempBufr=outfile.bufr
|
||||
tempDir=${label}.dir
|
||||
tempDir=temp.${label}.dir
|
||||
rm -rf $tempDir
|
||||
mkdir -p $tempDir
|
||||
|
||||
|
@ -51,7 +51,7 @@ fi
|
|||
|
||||
for file in ${bufr_files}
|
||||
do
|
||||
tempSrc=$label.$file.f90
|
||||
tempSrc=temp.$label.$file.f90
|
||||
tempExe=$label.$file.exe
|
||||
|
||||
# Generate F90 code from BUFR file
|
||||
|
|
|
@ -14,11 +14,11 @@
|
|||
label="bufr_dump_encode_python_test"
|
||||
|
||||
# Create log file
|
||||
fLog=${label}".log"
|
||||
fLog=temp.${label}".log"
|
||||
rm -f $fLog
|
||||
|
||||
tempBufr=outfile.bufr
|
||||
tempDir=${label}.dir
|
||||
tempDir=temp.${label}.dir
|
||||
mkdir -p $tempDir
|
||||
cd $tempDir
|
||||
|
||||
|
@ -27,7 +27,7 @@ bufr_files=`cat ${data_dir}/bufr/bufr_data_files.txt`
|
|||
for file in ${bufr_files}
|
||||
do
|
||||
inputBufr=${data_dir}/bufr/$file
|
||||
tempSrc=$label.$file.py
|
||||
tempSrc=temp.$label.$file.py
|
||||
|
||||
# Too large for this test
|
||||
if [ "$file" = "ias1_240.bufr" ]; then
|
||||
|
|
Loading…
Reference in New Issue