def test_getDependencies6(self): #False positive try: tempDir = mdTestUtilities.copyDirToTempDir("cases/cmake/hello/hello1") dependencies = autoTools.getDependencies(tempDir, verbose=False) self.assertEquals(dependencies, None, "Wrong dependencies found in AutoTools project") finally: utilityFunctions.removeDir(tempDir)
def test_getDependencies4(self): try: tempDir = mdTestUtilities.copyDirToTempDir("cases/simpleGraphAutoTools/TestCaseD") success = autoTools.generateConfigureFiles(tempDir, "testCaseTarget", False) self.assertEquals(success, True, "Unable to generate build files.") dependencies = autoTools.getDependencies(tempDir, verbose=False) self.assertEquals(dependencies, [], "Wrong dependencies found in AutoTools project") finally: utilityFunctions.removeDir(tempDir)
def test_getDependencies6(self): #False positive try: tempDir = mdTestUtilities.copyDirToTempDir( "cases/cmake/hello/hello1") dependencies = autoTools.getDependencies(tempDir, verbose=False) self.assertEquals(dependencies, None, "Wrong dependencies found in AutoTools project") finally: utilityFunctions.removeDir(tempDir)
def test_getDependencies4(self): try: tempDir = mdTestUtilities.copyDirToTempDir( "cases/simpleGraphAutoTools/TestCaseD") success = autoTools.generateConfigureFiles(tempDir, "testCaseTarget", False) self.assertEquals(success, True, "Unable to generate build files.") dependencies = autoTools.getDependencies(tempDir, verbose=False) self.assertEquals(dependencies, [], "Wrong dependencies found in AutoTools project") finally: utilityFunctions.removeDir(tempDir)