From f4422dc165b37b8dbad0af31dd0a3d24671a1e49 Mon Sep 17 00:00:00 2001 From: alalazo Date: Sat, 30 Jul 2016 18:10:33 +0200 Subject: qa : fixes #1370 (no flake8 on python 2.6, coveralls only python 2.7) --- share/spack/qa/run-unit-tests | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 share/spack/qa/run-unit-tests (limited to 'share') diff --git a/share/spack/qa/run-unit-tests b/share/spack/qa/run-unit-tests new file mode 100755 index 0000000000..33fb1bfae2 --- /dev/null +++ b/share/spack/qa/run-unit-tests @@ -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 -- cgit v1.2.3-60-g2f50