summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2011-05-30 16:01:50 +0200
committerhjk <qthjk@ovi.com>2011-05-30 16:00:22 +0200
commitcf62837fab55331217b3c7eb87c9ca84d36117ad (patch)
treeb4b4a2d6062d93c6b0ef03c1ab6fcba35e072132 /tests
parent7295d50591be94a79bfd4c2ac5e159091fb2489c (diff)
downloadqt-creator-cf62837fab55331217b3c7eb87c9ca84d36117ad.tar.gz
debugger: implement an option to stop on qWarnings (gdb only)
Task-number: QTCREATORBUG-842 Change-Id: If1a7d0cd9dfaa5b6b4915fa67a150683cf6786b9 Reviewed-on: http://codereview.qt.nokia.com/226 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp b/tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp
index a81eeb51d3..c76c7fa54f 100644
--- a/tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp
+++ b/tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp
@@ -2612,6 +2612,13 @@ void testEigen()
#endif
}
+// http://bugreports.qt.nokia.com/browse/QTCREATORBUG-842
+void test842()
+{
+ qWarning("Test");
+ int x = 0;
+ ++x;
+}
// http://bugreports.qt.nokia.com/browse/QTCREATORBUG-4019
class A4019
@@ -2654,8 +2661,9 @@ void test4497()
int main(int argc, char *argv[])
{
- //test4497();
+ test842();
test4019();
+ //test4497();
testEigen();
testKR();
int *x = new int(32);