summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/system/suite_debugger/tst_debug_empty_main/test.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/system/suite_debugger/tst_debug_empty_main/test.py b/tests/system/suite_debugger/tst_debug_empty_main/test.py
index 0d5c68a260..4e27c6caf2 100644
--- a/tests/system/suite_debugger/tst_debug_empty_main/test.py
+++ b/tests/system/suite_debugger/tst_debug_empty_main/test.py
@@ -95,8 +95,6 @@ def __handleAppOutputWaitForDebuggerFinish__():
waitFor("str(appOutput.plainText).endswith('Debugging has finished')", 5000)
def performDebugging(workingDir, projectName, checkedTargets):
- # for checking if it's a plain C application (as project names are set to match project type)
- sampleC = re.compile("SampleC\d{3}")
for kit, config in iterateBuildConfigs(len(checkedTargets), "Debug"):
test.log("Selecting '%s' as build config" % config)
selectBuildConfig(len(checkedTargets), kit, config)
@@ -117,10 +115,7 @@ def performDebugging(workingDir, projectName, checkedTargets):
invokeMenuItem("Debug", "Toggle Breakpoint")
clickButton(waitForObject(":*Qt Creator.Start Debugging_Core::Internal::FancyToolButton"))
handleDebuggerWarnings(config, isMsvc)
- # on Mac the breakpoint won't get hit if it's a C++ based application and the breakpoint is
- # set to an empty code line inside an empty main
- if platform.system() != "Darwin" or sampleC.match(projectName):
- clickButton(waitForObject(":*Qt Creator.Continue_Core::Internal::FancyToolButton"))
+ clickButton(waitForObject(":*Qt Creator.Continue_Core::Internal::FancyToolButton"))
__handleAppOutputWaitForDebuggerFinish__()
removeOldBreakpoints()
deleteAppFromWinFW(workingDir, projectName, False)