forked from qt-creator/qt-creator
Merge branch 'master' of ssh://codereview.qt-project.org/qt-creator/qt-creator
This commit is contained in:
@@ -15,7 +15,7 @@ def verifyBuildAndRun():
|
||||
|
||||
# pick version 4.7.4 and then run project for debug and release
|
||||
def pickVersion474runVerify():
|
||||
availableConfigs = iterateBuildConfigs(1, 0, ".*4.7.4.*")
|
||||
availableConfigs = iterateBuildConfigs(1, 0)
|
||||
if not availableConfigs:
|
||||
test.fatal("Haven't found needed Qt version (Qt 4.7.4), quitting")
|
||||
invokeMenuItem("File", "Save All")
|
||||
|
@@ -14,7 +14,7 @@ def main():
|
||||
# open example project
|
||||
openQmakeProject(examplePath)
|
||||
# build and wait until finished - on all (except Qt 4.7.0 (would fail)) build configurations
|
||||
availableConfigs = iterateBuildConfigs(1, 0, "(?!.*4\.7\.0.*)")
|
||||
availableConfigs = iterateBuildConfigs(1, 0)
|
||||
if not availableConfigs:
|
||||
test.fatal("Haven't found a suitable Qt version (anything except Qt 4.7.0) - leaving without building.")
|
||||
for config in availableConfigs:
|
||||
|
@@ -7,7 +7,7 @@ def main():
|
||||
# create qt quick application
|
||||
createNewQtQuickApplication(tempDir(), "SampleApp")
|
||||
# build it - on all (except Qt 4.7.0 (would fail)) build configurations
|
||||
availableConfigs = iterateBuildConfigs(1, 0, "(?!.*4\.7\.0.*)")
|
||||
availableConfigs = iterateBuildConfigs(1, 0)
|
||||
if not availableConfigs:
|
||||
test.fatal("Haven't found a suitable Qt version (anything except Qt 4.7.0) - leaving without building.")
|
||||
for config in availableConfigs:
|
||||
|
@@ -17,7 +17,7 @@ def main():
|
||||
# save all
|
||||
invokeMenuItem("File", "Save All")
|
||||
# build it - on all (except Qt 4.7.0 (would fail)) build configurations
|
||||
availableConfigs = iterateBuildConfigs(1, 0, "(?!.*4\.7\.0.*)")
|
||||
availableConfigs = iterateBuildConfigs(1, 0)
|
||||
if not availableConfigs:
|
||||
test.fatal("Haven't found a suitable Qt version (anything except Qt 4.7.0) - leaving without building.")
|
||||
for config in availableConfigs:
|
||||
|
@@ -34,7 +34,7 @@ def main():
|
||||
if result:
|
||||
expectedBreakpointsOrder = [{"main.cpp":9}, {"main.qml":14}]
|
||||
# Only use 4.7.4 to work around QTBUG-25187
|
||||
availableConfigs = iterateBuildConfigs(1, 0, ".*4\.7\.4.*$(?<![Rr]elease)")
|
||||
availableConfigs = iterateBuildConfigs(1, 0, "Debug")
|
||||
if not availableConfigs:
|
||||
test.fatal("Haven't found a suitable Qt version (need Qt 4.7.4) - leaving without debugging.")
|
||||
for config in availableConfigs:
|
||||
|
@@ -21,7 +21,7 @@ def main():
|
||||
fancyToolButton = waitForObject(":*Qt Creator_Core::Internal::FancyToolButton")
|
||||
|
||||
qtVerPattern = re.compile("\d\.\d(\.\d+)?")
|
||||
availableConfigs = iterateBuildConfigs(1, 0, "(Desktop )?Qt.*Release")
|
||||
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:
|
||||
|
Reference in New Issue
Block a user