Add mercurial package, used as test dependency

This commit is contained in:
Adam J. Stewart
2016-08-23 11:13:02 -05:00
parent 1fc14fd7ed
commit 7f9d098c2f
5 changed files with 78 additions and 7 deletions

View File

@@ -20,6 +20,7 @@ SPACK_ROOT="$QA_DIR/../../.."
# Array of dependencies
deps=(
coverage
hg
)
# Check for dependencies
@@ -28,6 +29,10 @@ deps=(
# Add Spack to the PATH.
export PATH="$SPACK_ROOT/bin:$PATH"
# Move to root directory of Spack
# Allows script to be run from anywhere
cd "$SPACK_ROOT"
# Array of directories containing core Spack framework
core_dirs=(
bin
@@ -57,4 +62,4 @@ spack config get compilers
spack install -v libdwarf
# Run unit tests with code coverage
coverage run spack test "$@"
coverage run bin/spack test "$@"