Squish: Some fixes in cmake test

Change-Id: I3b15c73ec725f35ca12388e9b59d4a6de21ce7bd
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
This commit is contained in:
Robert Loehning
2012-01-25 19:23:12 +01:00
committed by Robert Löhning
parent 08e4016886
commit ef979ae7f4

View File

@@ -5,10 +5,10 @@ BuildPath = tempDir()
def main():
if (which("cmake") == None):
test.warning("cmake not found in PATH - needed to run this test")
test.fatal("cmake not found in PATH - needed to run this test")
return
if (which("qmake") == None):
test.warning("qmake not found in PATH - needed to run this test")
test.fatal("qmake not found in PATH - needed to run this test")
return
if not neededFilePresent(SpeedCrunchPath):
return
@@ -17,7 +17,7 @@ def main():
result = openCmakeProject(SpeedCrunchPath, BuildPath)
if not result:
test.warning("Could not open/create cmake project - leaving test")
test.fatal("Could not open/create cmake project - leaving test")
invokeMenuItem("File", "Exit")
waitForCleanShutdown()
return