summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-11-28 10:05:36 +0200
committerLars Wirzenius <liw@liw.fi>2019-11-28 10:36:11 +0200
commit138d3d3d800f72ef24ed105cc6a2ec9f6476ba80 (patch)
tree1709ec14fdd6fdd27169ff318231385a5c297b4b
parent3d999b0948b07b0ba2213f7904b241725e682c16 (diff)
downloadcmdtest-138d3d3d800f72ef24ed105cc6a2ec9f6476ba80.tar.gz
Change: check to run more tests
Thanks: Antonio Terceiro <terceiro@debian.org>
-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