summaryrefslogtreecommitdiff
path: root/test/suite.spec
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2018-07-15 23:23:24 +0300
committerDominik Ritter <dritter03@googlemail.com>2018-07-16 08:33:31 +0300
commit21f2d1a377294c5adea3a8a225e04cabc4cc4797 (patch)
treed45a8849d7b8b3fe7bc98dd1c884a8aada847dca /test/suite.spec
parent6c4a3e8a1b2ef2f9227594a4198e8588032926d7 (diff)
Test all *.spec files on travis
Diffstat (limited to 'test/suite.spec')
-rwxr-xr-xtest/suite.spec15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/suite.spec b/test/suite.spec
new file mode 100755
index 00000000..7e139889
--- /dev/null
+++ b/test/suite.spec
@@ -0,0 +1,15 @@
+#!/usr/bin/env zsh
+#vim:ft=zsh ts=2 sw=2 sts=2 et fenc=utf-8
+
+local failed=false
+
+for test in **/*.spec; do
+ if [[ "${test}" == "test/suite.spec" ]]; then
+ continue;
+ fi
+ ./${test} || failed=true
+done
+
+if [[ "${failed}" == "true" ]]; then
+ exit 1
+fi \ No newline at end of file