summaryrefslogtreecommitdiffstats
path: root/tests/plugin_tests.sh
diff options
context:
space:
mode:
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