Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 23 lines (19 sloc) 0.466 kb
c2eb9aa Mooneer Salem Added basic test harness and fixed top-level codegen to match Kite metho...
authored
1 #!/bin/sh
2
3 num_pass=0
4 num_fail=0
5
70d06c2 Mooneer Salem Added unary operations on object forms of native types.
authored
6 for i in `find ./tests -name '*.kt' -print | sort`; do
c2eb9aa Mooneer Salem Added basic test harness and fixed top-level codegen to match Kite metho...
authored
7 OUT_EXTENSION=".out"
8 OUT_POSTFIX=":"
3d47ebf Mooneer Salem Added initial code in preparation for moving the logic from src/apps/kit...
authored
9 /bin/echo -n "$i$OUT_POSTFIX "
520dee4 Mooneer Salem Test suite now runs with "make check".
authored
10 ./src/kite $i | diff - $i$OUT_EXTENSION >/dev/null 2>&1
c2eb9aa Mooneer Salem Added basic test harness and fixed top-level codegen to match Kite metho...
authored
11 if [ $? != 0 ]; then
12 num_fail=$((num_fail + 1))
13 echo FAIL
14 else
15 num_pass=$((num_pass + 1))
16 echo pass
17 fi
18 done;
19
20 echo "$num_pass passed, $num_fail failed."
21 if [ $num_fail -gt 0 ]; then exit 1
22 fi
Something went wrong with that request. Please try again.