Squish: Updated tst_build_speedcrunch

Change-Id: Ie5228fec880b3c9c1d5c24799973107677b724f3
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
This commit is contained in:
Robert Loehning
2012-07-24 14:20:35 +02:00
committed by Robert Löhning
parent 02d3fc9062
commit e0ffb2f6e0

View File

@@ -20,20 +20,10 @@ def main():
fancyToolButton = waitForObject(":*Qt Creator_Core::Internal::FancyToolButton")
qtVerPattern = re.compile("\d\.\d(\.\d+)?")
availableConfigs = iterateBuildConfigs(1, 0, "Release")
if not availableConfigs:
test.fatal("Haven't found a suitable Qt version (need Release build) - leaving without building.")
for config in availableConfigs:
qtVersion = qtVerPattern.search(config)
if qtVersion:
qtVersion = qtVersion.group()
if qtVersion >= "4.8":
test.log("Skipping config %s - this project needs Qt <= 4.7.x (got %s)" % (config, qtVersion))
continue
else:
test.warning("Could not determine Qt version for config '%s' - skipping..." % config)
continue
selectBuildConfig(1, 0, config)
buildConfig = buildConfigFromFancyToolButton(fancyToolButton)
if buildConfig != config: