Adding test for external modules
This commit is contained in:
		@@ -253,6 +253,13 @@ def test_external_package(self):
 | 
			
		||||
        self.assertTrue(spec['externaltool'].compiler.satisfies('gcc'))
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def test_external_package_module(self):
 | 
			
		||||
        spec = Spec('externalmodule')
 | 
			
		||||
        spec.concretize()
 | 
			
		||||
        self.assertEqual(spec['externalmodule'].external_module, 'external-module')
 | 
			
		||||
        self.assertFalse('externalprereq' in spec)
 | 
			
		||||
        self.assertTrue(spec['externalmodule'].compiler.satisfies('gcc'))
 | 
			
		||||
 | 
			
		||||
    def test_nobuild_package(self):
 | 
			
		||||
        got_error = False
 | 
			
		||||
        spec = Spec('externaltool%clang')
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user