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>
This commit is contained in:
parent
2107a88514
commit
37ea9657cf
@ -648,20 +648,6 @@ def test_external_package(self):
|
|||||||
assert "externalprereq" not in spec
|
assert "externalprereq" not in spec
|
||||||
assert spec["externaltool"].compiler.satisfies("gcc")
|
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):
|
def test_nobuild_package(self):
|
||||||
"""Test that a non-buildable package raise an error if no specs
|
"""Test that a non-buildable package raise an error if no specs
|
||||||
in packages.yaml are compatible with the request.
|
in packages.yaml are compatible with the request.
|
||||||
|
Loading…
Reference in New Issue
Block a user