summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2024-09-05 12:10:59 +0200
committerGitHub <noreply@github.com>2024-09-05 12:10:59 +0200
commit37ea9657cfef1e836b9c390f013c7b378c2d0dde (patch)
tree843e8fae88dc8209a0bc95b5677e00c00dd3e95a /lib
parent2107a88514d8afe8a72f879cbde1351ce65180f7 (diff)
downloadspack-37ea9657cfef1e836b9c390f013c7b378c2d0dde.tar.gz
spack-37ea9657cfef1e836b9c390f013c7b378c2d0dde.tar.bz2
spack-37ea9657cfef1e836b9c390f013c7b378c2d0dde.tar.xz
spack-37ea9657cfef1e836b9c390f013c7b378c2d0dde.zip
Remove `test_external_package_module` (#46218)
This test was possibly meant for the Cray platform, and currently is a no-op. Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/test/concretize.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/spack/spack/test/concretize.py b/lib/spack/spack/test/concretize.py
index 8e8e374fa8..b881241c42 100644
--- a/lib/spack/spack/test/concretize.py
+++ b/lib/spack/spack/test/concretize.py
@@ -648,20 +648,6 @@ class TestConcretize:
assert "externalprereq" not in spec
assert spec["externaltool"].compiler.satisfies("gcc")
- def test_external_package_module(self):
- # No tcl modules on darwin/linux machines
- # and Windows does not (currently) allow for bash calls
- # TODO: improved way to check for this.
- platform = spack.platforms.real_host().name
- if platform == "darwin" or platform == "linux" or platform == "windows":
- return
-
- spec = Spec("externalmodule")
- spec.concretize()
- assert spec["externalmodule"].external_modules == ["external-module"]
- assert "externalprereq" not in spec
- assert spec["externalmodule"].compiler.satisfies("gcc")
-
def test_nobuild_package(self):
"""Test that a non-buildable package raise an error if no specs
in packages.yaml are compatible with the request.