Test updates

This commit is contained in:
Shahram Najm 2016-09-15 16:44:39 +01:00
parent ff93aa9724
commit ff36ec4db1
6 changed files with 28 additions and 2 deletions

View File

@ -60,7 +60,7 @@ do
# Generate C code from BUFR file
${tools_dir}bufr_dump -DC $filePath > $tempSrc
# Too large
# Too large for this test
if [ "$file" = "ias1_240.bufr" ]; then
continue
fi

View File

@ -61,6 +61,12 @@ do
# Generate F90 code from BUFR file
${tools_dir}bufr_dump -Dfortran ${filePath} > $tempSrc
# Too large for this test
if [ "$file" = "ias1_240.bufr" ]; then
continue
fi
# Very long lines
if [ "$file" = "emsg_189.bufr" ]; then
continue
fi

View File

@ -30,6 +30,11 @@ do
inputBufr=${data_dir}/bufr/$file
tempSrc=$label.$file.py
# Too large for this test
if [ "$file" = "ias1_240.bufr" ]; then
continue
fi
# Generate Python code from BUFR file
${tools_dir}bufr_dump -Dpython $inputBufr > $tempSrc

View File

@ -60,6 +60,11 @@ do
# Generate C code from BUFR file
${tools_dir}bufr_dump -EC ${data_dir}/bufr/$file > $tempSrc
# Too large for this test
if [ "$file" = "ias1_240.bufr" ]; then
continue
fi
# Compile
if [ $COMPILE_AND_RUN -eq 1 ]; then
# TODO: eccodes.h and the generated eccodes_version.h need to be pointed to

View File

@ -59,7 +59,12 @@ do
# Generate F90 code from BUFR file
${tools_dir}bufr_dump -Efortran ${data_dir}/bufr/$file > $tempSrc
# Too large for this test
if [ "$file" = "ias1_240.bufr" ]; then
continue
fi
# Compile
if [ $COMPILE_AND_RUN -eq 1 ]; then
$COMPILER -o $tempExe $tempSrc $FLAGS_COMPILER $FLAGS_LINKER

View File

@ -29,6 +29,11 @@ do
inputBufr=${data_dir}/bufr/$file
tempSrc=$label.$file.py
# Too large for this test
if [ "$file" = "ias1_240.bufr" ]; then
continue
fi
# Generate Python code from BUFR file
${tools_dir}bufr_dump -Epython $inputBufr > $tempSrc
# The python code always creates an output file called outfile.bufr