tests/py-eccodes: convert to new stand-alone test process (#38346)
This commit is contained in:
parent
e642c2ea28
commit
ef42fd7a2f
@ -38,12 +38,7 @@ def setup_dependent_build_environment(self, env, dependent_spec):
|
||||
def setup_dependent_run_environment(self, env, dependent_spec):
|
||||
self.setup_build_environment(env)
|
||||
|
||||
def test(self):
|
||||
super(PyEccodes, self).test()
|
||||
|
||||
self.run_test(
|
||||
self.spec["python"].command.path,
|
||||
["-m", "eccodes", "selfcheck"],
|
||||
purpose="checking system setup",
|
||||
work_dir="spack-test",
|
||||
)
|
||||
def test_selfcheck(self):
|
||||
"""checking system setup"""
|
||||
python = self.spec["python"].command
|
||||
python("-m", "eccodes", "selfcheck")
|
||||
|
Loading…
Reference in New Issue
Block a user