tests/unittests/c/testRd.sh
raw| 1 | #!/bin/sh |
| 2 | file=`echo ${0##*/} | sed 's/\(^.*\)_Rd\.sh[ne]\{0,1\}$/\1/'` |
| 3 | # file=`basename $0 | sed 's/\.sh.\{0,1\}$//g'` |
| 4 | she=`basename $0 | sed 's/^.*\(.\)$/\1/'` |
| 5 | output=/dev/null && test "x${OUTPUT}" = "xyes" && output=${file}.out |
| 6 | ${CHECKER} ${EXECDIR}/${file} > ${output} 2>&1 && ( test "x${she}" = "xe" && rm ${BUILDDIR}/current.med || true ) |