Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: v0.2.0
Fetching contributors…

Cannot retrieve contributors at this time

executable file 23 lines (19 sloc) 0.466 kB
#!/bin/sh
num_pass=0
num_fail=0
for i in `find ./tests -name '*.kt' -print | sort`; do
OUT_EXTENSION=".out"
OUT_POSTFIX=":"
/bin/echo -n "$i$OUT_POSTFIX "
./src/kite $i | diff - $i$OUT_EXTENSION >/dev/null 2>&1
if [ $? != 0 ]; then
num_fail=$((num_fail + 1))
echo FAIL
else
num_pass=$((num_pass + 1))
echo pass
fi
done;
echo "$num_pass passed, $num_fail failed."
if [ $num_fail -gt 0 ]; then exit 1
fi
Jump to Line
Something went wrong with that request. Please try again.