diff options
author | <kellyt@MENE.localdomain> | 2016-08-01 20:50:28 -0600 |
---|---|---|
committer | <kellyt@MENE.localdomain> | 2016-08-01 20:50:28 -0600 |
commit | ba11f19efcec5b5581bb804fb91768205c5488af (patch) | |
tree | f0c4162eb3a2f4481fc13ccec1eff97bf56b1346 /share | |
parent | 6c80b152208e8f2154db6c658475fe18a9c9f8bc (diff) | |
parent | bb5dd49206e98f066d211b6a0f5a408b209ef2aa (diff) | |
download | spack-ba11f19efcec5b5581bb804fb91768205c5488af.tar.gz spack-ba11f19efcec5b5581bb804fb91768205c5488af.tar.bz2 spack-ba11f19efcec5b5581bb804fb91768205c5488af.tar.xz spack-ba11f19efcec5b5581bb804fb91768205c5488af.zip |
Merge remote-tracking branch 'upstream/develop' into gktplus3-deps
Diffstat (limited to 'share')
-rwxr-xr-x | share/spack/qa/run-unit-tests | 20 |
1 files changed, 20 insertions, 0 deletions
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 |