summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcheck10
1 files changed, 10 insertions, 0 deletions
diff --git a/check b/check
index 83fb46b..10dadd5 100755
--- a/check
+++ b/check
@@ -1,5 +1,15 @@
#!/bin/sh
+#
+# Run unit and integration tests.
set -eu
+python3 -m unittest discover -p '*tests.py'
+
+./cmdtest echo-tests
+
+./cmdtest sort-tests
+
+./cmdtest fail-tests && echo "fail-tests did not fail!" && exit 1
+
./cmdtest yarn.tests