diff --git a/src/testprogs/testprogs_version.json b/src/testprogs/testprogs_version.json index 48887148b0efa656f93095654e267fcfb67b9c8f..3426d687a327f98e812f8c3c0be6a4d7cb2e60e1 100644 --- a/src/testprogs/testprogs_version.json +++ b/src/testprogs/testprogs_version.json @@ -1,9 +1,9 @@ { "testing": { - "ice_adjust":"19ee594", - "rain_ice":"19ee594", - "rain_ice_old":"8046717", - "turb":"19ee594", - "shallow":"19ee594" + "ice_adjust":"25bf25f", + "rain_ice":"25bf25f", + "rain_ice_old":"25bf25f", + "turb":"25bf25f", + "shallow":"25bf25f" } } diff --git a/tools/testing.sh b/tools/testing.sh index 035e8bb74974efbc1a73a56b4d47fad9e053db19..c49e1f5c3fabf772eeee549c85b13a84e9c5c313 100755 --- a/tools/testing.sh +++ b/tools/testing.sh @@ -177,9 +177,16 @@ function get_cases { function send_mail { message="$1" if [ "$MAIL" != "" ]; then - mail -s "$context" "$MAIL" <<EOF + if command -v mail; then + mail -s "$context" "$MAIL" <<EOF $(echo -e ${message}) EOF + else + sendmail "$MAIL" <<EOF +Subject: $context +$(echo -e ${message}) +EOF + fi fi }