Added conditional skipIf to test_external_modules, darwin machines don't have tcl modules so skip this test and let user know why
This commit is contained in:
parent
69585cb6e3
commit
22ca72e7b9
@ -23,6 +23,7 @@
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
##############################################################################
|
||||
import spack
|
||||
import spack.architecture
|
||||
from spack.spec import Spec, CompilerSpec
|
||||
from spack.version import ver
|
||||
from spack.concretize import find_spec
|
||||
@ -252,7 +253,8 @@ def test_external_package(self):
|
||||
self.assertFalse('externalprereq' in spec)
|
||||
self.assertTrue(spec['externaltool'].compiler.satisfies('gcc'))
|
||||
|
||||
|
||||
@unittest.skipIf(spack.architecture.sys_type().name == 'darwin',
|
||||
"No tcl modules on darwin machines")
|
||||
def test_external_package_module(self):
|
||||
spec = Spec('externalmodule')
|
||||
spec.concretize()
|
||||
|
Loading…
Reference in New Issue
Block a user