qa : fixes #1370 (no flake8 on python 2.6, coveralls only python 2.7)

This commit is contained in:
alalazo
2016-07-30 18:10:33 +02:00
parent e04662f84f
commit f4422dc165
2 changed files with 34 additions and 11 deletions

20
share/spack/qa/run-unit-tests Executable file
View File

@@ -0,0 +1,20 @@
#!/usr/bin/env bash
#
# This script runs Spack unit tests.
#
# It should be executed from the top-level directory of the repo,
# e.g.:
#
# share/spack/qa/run-unit-tests
#
# To run it, you'll need to have the Python coverage installed locally.
#
# Regular spack setup and tests
. ./share/spack/setup-env.sh
spack compilers
spack config get compilers
spack install -v libdwarf
# Run unit tests with code coverage
coverage run bin/spack test