Commit ee456768 authored by Gall, Daniel's avatar Gall, Daniel
Browse files

my first test

parent 36a6a58b
*/output*
#!/bin/bash
echo "starting cdo tests"
module load cdo
rc=$?
if [[ $? -eq 0 ]]; then
echo "got cdo module"
module list |& grep cdo
else
echo"no cdo module found"
exit 1
fi
echo "using cdo:"
which cdo
tests=`ls -1 tests`
cd ./tests
rc=1
while read -r test; do
echo $test
./$test
rc=$?
if [[ $rc -ne 0 ]]; then
cat ../output/$test
break
fi
done <<< "$tests"
cd ..
echo "ending cdo tests"
exit $rc
#!/bin/bash
cdo -f nc copy ../input_files/cdo_nc_copy_grib2.grb2 ../output_files/cdo_nc_copy_grib2.nc &>../output/cdo_nc_copy_grib2.sh
exit $?
#!/bin/bash
echo "starting application integration tests"
tests=`ls -1`
rc=1
while read -r test; do
if [[ -d $test ]]; then
echo $test
cd $test
./test.sh
rc=$?
if [[ $rc -ne 0 ]]; then
break
fi
cd ..
fi
done <<< "$tests"
echo "ending application integration tests"
exit $rc
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment