diff options
author | Robert Loehning <robert.loehning@qt.io> | 2020-04-22 14:27:00 +0200 |
---|---|---|
committer | Robert Loehning <robert.loehning@qt.io> | 2020-05-05 15:12:26 +0000 |
commit | 20dc69c45dddf1672b0a2beca27d8dbc3ba2ad00 (patch) | |
tree | 37e134151135dd3260774654523e501d6624e831 /tests/system | |
parent | ae5466f3b1e52163a5fa12fd533acdb2db6a687d (diff) |
Squish: Try stabilizing CLI output
Change-Id: I0ff6aaaa62b9596487a279cdf5e597a3b7c83679
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests/system')
-rw-r--r-- | tests/system/suite_debugger/tst_cli_output_console/test.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/system/suite_debugger/tst_cli_output_console/test.py b/tests/system/suite_debugger/tst_cli_output_console/test.py index 9774ea59b2..3f996241af 100644 --- a/tests/system/suite_debugger/tst_cli_output_console/test.py +++ b/tests/system/suite_debugger/tst_cli_output_console/test.py @@ -39,12 +39,15 @@ def main(): mainEditor = waitForObject(":Qt Creator_CppEditor::Internal::CPPEditorWidget") replaceEditorContent(mainEditor, "") typeLines(mainEditor, ["#include <QDebug>", + "#include <QThread>", "#include <iostream>", + "struct Waiter:public QThread{Waiter(){QThread::sleep(2);}};", "int main(int, char *argv[])", "{", 'std::cout << \"' + outputStdOut + '\" << std::endl;', 'std::cerr << \"' + outputStdErr + '\" << std::endl;', - 'qDebug() << \"' + outputQDebug + '\";']) + 'qDebug() << \"' + outputQDebug + '\";', + 'Waiter();']) # Rely on code completion for closing bracket invokeMenuItem("File", "Save All") openDocument(project + "." + project + "\\.pro") |