Explicitly request zmpi in module blacklist test.

This commit is contained in:
Michael Kuhn 2016-07-16 00:48:04 +02:00
parent 5ffc50732b
commit d61190c3ff

View File

@ -266,7 +266,7 @@ def test_alter_environment(self):
def test_blacklist(self):
spack.modules.CONFIGURATION = configuration_blacklist
spec = spack.spec.Spec('mpileaks')
spec = spack.spec.Spec('mpileaks ^zmpi')
content = self.get_modulefile_content(spec)
self.assertEqual(len([x for x in content if 'is-loaded' in x]), 1)
self.assertEqual(len([x for x in content if 'module load ' in x]), 1)