summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/qa/run-bootstrap-tests37
-rwxr-xr-xshare/spack/spack-completion.bash6
2 files changed, 1 insertions, 42 deletions
diff --git a/share/spack/qa/run-bootstrap-tests b/share/spack/qa/run-bootstrap-tests
deleted file mode 100755
index 9532d2d801..0000000000
--- a/share/spack/qa/run-bootstrap-tests
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash -e
-#
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
-# Spack Project Developers. See the top-level COPYRIGHT file for details.
-#
-# SPDX-License-Identifier: (Apache-2.0 OR MIT)
-
-#
-# Description:
-# Checks that Spack shell integration with modules works correctly.
-#
-# Usage:
-# run-bootstrap-tests
-#
-. "$(dirname $0)/setup.sh"
-check_dependencies ${coverage} git hg svn
-
-# Fetch the sources in a mirror, and add it to Spack
-mkdir -p ~/.mirror
-bin/spack mirror add travis ~/.mirror
-bin/spack mirror create -D -d ~/.mirror environment-modules~X
-
-
-# Move to root directory of Spack
-# Allows script to be run from anywhere
-cd "$SPACK_ROOT"
-
-# Print compiler information
-spack config get compilers
-
-# Run some build smoke tests, potentially with code coverage
-${coverage_run} bin/spack bootstrap
-
-# Check module integration
-. "share/spack/setup-env.sh"
-module av || exit 1
-spack load tcl || exit 1
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash
index 4b730499d2..9017f4fe57 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -313,7 +313,7 @@ _spack() {
then
SPACK_COMPREPLY="-h --help -H --all-help --color -C --config-scope -d --debug --timestamp --pdb -e --env -D --env-dir -E --no-env --use-env-repo -k --insecure -l --enable-locks -L --disable-locks -m --mock -p --profile --sorted-profile --lines -v --verbose --stacktrace -V --version --print-shell-vars"
else
- SPACK_COMPREPLY="activate add arch blame bootstrap build build-env buildcache cd checksum ci clean clone commands compiler compilers concretize config configure containerize create deactivate debug dependencies dependents deprecate dev-build diy docs edit env extensions external fetch find flake8 gc gpg graph help info install license list load location log-parse maintainers mirror module patch pkg providers pydoc python reindex remove rm repo resource restage setup spec stage test uninstall unload upload-s3 url verify versions view"
+ SPACK_COMPREPLY="activate add arch blame build build-env buildcache cd checksum ci clean clone commands compiler compilers concretize config configure containerize create deactivate debug dependencies dependents deprecate dev-build diy docs edit env extensions external fetch find flake8 gc gpg graph help info install license list load location log-parse maintainers mirror module patch pkg providers pydoc python reindex remove rm repo resource restage setup spec stage test uninstall unload upload-s3 url verify versions view"
fi
}
@@ -348,10 +348,6 @@ _spack_blame() {
fi
}
-_spack_bootstrap() {
- SPACK_COMPREPLY="-h --help -j --jobs --keep-prefix --keep-stage -n --no-checksum -v --verbose --use-cache --no-cache --cache-only --clean --dirty"
-}
-
_spack_build() {
if $list_options
then