summaryrefslogtreecommitdiffstats
path: root/tests/plugin_tests.sh
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-15 15:55:19 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-15 15:55:19 +0100
commit26227cfe53f8fd4bc1631d8e1b35031f589682dc (patch)
treed468ab14d8179c9a097c3d388ce29b8ab5747475 /tests/plugin_tests.sh
parentplugin tester links (diff)
downloadpyload-26227cfe53f8fd4bc1631d8e1b35031f589682dc.tar.xz
backend + api test case, nicer format for plugin tester
Diffstat (limited to 'tests/plugin_tests.sh')
-rwxr-xr-xtests/plugin_tests.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/plugin_tests.sh b/tests/plugin_tests.sh
index a0260b5bb..be06c0dc5 100755
--- a/tests/plugin_tests.sh
+++ b/tests/plugin_tests.sh
@@ -1,5 +1,7 @@
#!/usr/bin/env bash
NS=nosetests
which nosetests2 > /dev/null && NS=nosetests2
-$NS tests/HosterPluginTester.py tests/CrypterPluginTester.py -s --with-xunit --with-coverage --cover-erase --cover-package=module.plugins
+# must be executed within tests dir
+cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+$NS HosterPluginTester.py CrypterPluginTester.py -s --with-xunit --with-coverage --cover-erase --cover-package=module.plugins --with-id
coverage xml