diff options
Diffstat (limited to 'service/go')
-rwxr-xr-x | service/go | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -17,10 +17,11 @@ function resolveNumOfCores { function setuppy { echo "Installing Pixelated User Agent." + pip install -r develop_requirements.txt pip install -r test_requirements.txt python setup.py develop $* pip uninstall -y scrypt; pip install scrypt - pip uninstall -y gnupg; pip install gnupg==1.2.5 + pip uninstall -y gnupg; pip install gnupg==2.0.2 echo "Done." } @@ -43,6 +44,10 @@ function runIntegrationTests { function runUnitTests { echo "Executing Unit Tests." + if [ -f ~/.config/leap/events/zmq_certificates/public_keys/server.key ] ; then + echo "Removing zmq server.key before running tests." + rm ~/.config/leap/events/zmq_certificates/public_keys/server.key + fi trial --reporter=text $* test.unit echo "Done." } @@ -77,7 +82,7 @@ function runCoverageIntegration { getTrialAbsolutePath coverage run -p --source=pixelated $TRIAL_PATH --reporter=text $* test.integration coverage combine - coverage html + coverage html --ignore-errors echo "Done." } |