Index: dap4_test/test_parse.sh --- dap4_test/test_parse.sh.orig +++ dap4_test/test_parse.sh @@ -20,16 +20,16 @@ for f in $F ; do echo "testing: $f" ${VG} ${execdir}/test_parse ${DMRTESTFILES}/${f}.dmr > ./results_test_parse/${f}.d4p if test "x${TEST}" = x1 ; then - diff -wBb ${BASELINE}/${f}.d4p ./results_test_parse/${f}.d4p + gdiff -wBb ${BASELINE}/${f}.d4p ./results_test_parse/${f}.d4p elif test "x${DIFF}" = x1 ; then - echo "diff -wBb ${DMRTESTFILES}/${f}.dmr ./results_test_parse/${f}.d4p" + echo "gdiff -wBb ${DMRTESTFILES}/${f}.dmr ./results_test_parse/${f}.d4p" rm -f ./tmp cat ./results_test_parse/${f}.d4p \ | sed -e '//d' -e '/'/d -e '/'/d -e '/'/d \ | sed -e '/<\/Dimensions>/d' -e '/<\/Types>'/d -e '/<\/Variables>'/d -e '/<\/Groups>'/d \ | sed -e '/_edu.ucar.opaque.size/,+2d' \ | cat > ./tmp - diff -wBb ${DMRTESTFILES}/${f}.dmr ./tmp + gdiff -wBb ${DMRTESTFILES}/${f}.dmr ./tmp elif test "x${RESET}" = x1 ; then echo "${f}:" cp ./results_test_parse/${f}.d4p ${BASELINE}/${f}.d4p