aboutsummaryrefslogtreecommitdiff
path: root/tests/check.sh
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-08-18 00:07:56 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-08-18 00:07:56 +0300
commit33fcf676128426f2ac9a4730d63fa481bb351518 (patch)
treefb8553e58fb3553e1b1da334b5a4d54e254f2340 /tests/check.sh
parent0d4e9292d85a169f881926556992d4ae12dcb6f4 (diff)
downloadek-33fcf676128426f2ac9a4730d63fa481bb351518.tar.gz
ek-33fcf676128426f2ac9a4730d63fa481bb351518.zip
make check works again
Diffstat (limited to 'tests/check.sh')
-rwxr-xr-xtests/check.sh36
1 files changed, 0 insertions, 36 deletions
diff --git a/tests/check.sh b/tests/check.sh
deleted file mode 100755
index 397d36d..0000000
--- a/tests/check.sh
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/sh
-
-echo > check.log
-
-tests=0
-passed=0
-failed=0
-
-for file in $(echo check/*.cu)
-do
- testcase=$(echo "$file" | cut -f 1 -d '.')
- expected="$testcase".ok
- args=$(test -e "$testcase".args && cat "$testcase".args)
-
- echo -n testing "$testcase"...
-
- cmd="./cu "$args" "$file" -o check/run && ./check/run"
-
- tests=$((tests + 1))
- if test "$output" = "$expected"
- then
- passed=$((passed + 1))
- echo ok
- else
- failed=$((failed + 1))
- echo fail
- fi;
-
- if test -n "$VERBOSE"
- then
- echo "$cmd"
- fi
-done
-
-echo
-echo tests "$tests", passed "$passed", failed "$failed"