Browse Source

run testapp for all apps one after another

Rafał Pitoń 10 years ago
parent
commit
6e3647e01f
1 changed files with 14 additions and 0 deletions
  1. 14 0
      testapps

+ 14 - 0
testapps

@@ -0,0 +1,14 @@
+#!/bin/bash
+APPS_WITH_TESTS=./misago/*/tests/__init__.py
+for f in $APPS_WITH_TESTS
+do
+  APP=${f:9:${#f}-27}
+  if [ "$1" == "md" ] ; then
+    echo "* [ ] **$APP**"
+    ./testapp $APP md
+  else
+    echo $APP
+    echo "========================"
+    ./testapp $APP
+  fi
+done