-#!/bin/sh
+#!/usr/bin/env bash
+
+set -eu
fixed=0
success=0
tests=$(pluralize "test" $skipped)
echo "$skipped $tests skipped."
fi
+
+# Note that we currently do not consider skipped tests as failing the
+# build.
+
+if [ $success -gt 0 -a $fixed -eq 0 -a $failed -eq 0 ]
+then
+ exit 0
+else
+ exit 1
+fi