Verified Commit d9fe81ba authored by Marco Kurzynski's avatar Marco Kurzynski
Browse files

updated test_suite

parent e51b60ce
......@@ -31,7 +31,7 @@ RUN chmod -R 700 /root/.ssh
# Get source code.
RUN git clone --depth 1 -b m64_r20200617 git@gitlab.ssec.wisc.edu:aeri/ifg_ret.git
RUN git clone --depth 1 -b m64_r20210721 git@gitlab.ssec.wisc.edu:aeri/ifg_tools.git
RUN git clone --depth 1 -b m64_r20210927 git@gitlab.ssec.wisc.edu:cphillips/aeri_quality_control.git
RUN git clone --depth 1 -b marco git@gitlab.ssec.wisc.edu:cphillips/aeri_quality_control.git
RUN git clone --depth 1 -b m64_r20200630 git@gitlab.ssec.wisc.edu:cphillips/aeri_tools.git
RUN git clone --depth 1 -b py2to3 git@gitlab.ssec.wisc.edu:aeri/ifg_aeri.git
......
......@@ -37,7 +37,7 @@ cal_val () {
set -e
output_file="${TEST_DIR}/cal_val.log"
echo 'running cal_val...' | tee $output_file
bash -c "cd $TEST_DIR/cal_val/input_data; cal_val_plots.py . -o $TEST_DIR/cal_val/user_output -r '1 4' -vv" &>> $output_file
cal_val_plots.py $TEST_DIR/cal_val/input_data -o $TEST_DIR/cal_val/user_output -r '1 4' -vv &>> $output_file
echo 'running diff...'
compare.py $TEST_DIR/cal_val/user_output/ $TEST_DIR/cal_val/expected_output/ --ignore 'file:' --percent-error 0.05
......@@ -52,7 +52,7 @@ nli () {
set -e
output_file="${TEST_DIR}/nli.log"
echo 'running nli...' | tee $output_file
bash -c "cd $TEST_DIR/nli/input_data; nli.py -o $TEST_DIR/nli/user_output -a --plotall ." &>> $output_file
nli.py -o $TEST_DIR/nli/user_output -a --plotall $TEST_DIR/nli/input_data &>> $output_file
echo 'running diff...'
compare.py --percent-error 0.05 $TEST_DIR/nli/user_output/ $TEST_DIR/nli/expected_output/
......@@ -67,7 +67,7 @@ dmv_to_ncdf () {
set -e
output_file="${TEST_DIR}/dmv_to_ncdf.log"
echo 'running dmv to ncdf...' | tee $output_file
bash -c "cd $TEST_DIR/dmv_to_ncdf/input_data; dmv_to_ncdf.py . -o $TEST_DIR/dmv_to_ncdf/user_output -v" &>> $output_file
dmv_to_ncdf.py $TEST_DIR/dmv_to_ncdf/input_data -o $TEST_DIR/dmv_to_ncdf/user_output -v &>> $output_file
echo 'running diff...'
compare.py $TEST_DIR/dmv_to_ncdf/user_output $TEST_DIR/dmv_to_ncdf/expected_output --percent-error 0.05
......
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