forked from qt-creator/qt-creator
debugger: add manual test
Task-number: QTCREATORBUG-7770 Change-Id: Iecfd25e11748622afaebc320ea29d633f9e08638 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
@@ -675,6 +675,23 @@ namespace catchthrow {
|
|||||||
} // namespace catchthrow
|
} // namespace catchthrow
|
||||||
|
|
||||||
|
|
||||||
|
namespace undefined {
|
||||||
|
|
||||||
|
void testUndefined()
|
||||||
|
{
|
||||||
|
int *i = new int;
|
||||||
|
delete i;
|
||||||
|
BREAK_HERE;
|
||||||
|
// Manual: Uncomment the following line. Step.
|
||||||
|
// On Linux, a SIGABRT should be received.
|
||||||
|
//delete i;
|
||||||
|
// Continue.
|
||||||
|
dummyStatement(&i);
|
||||||
|
}
|
||||||
|
|
||||||
|
} // namespace undefined
|
||||||
|
|
||||||
|
|
||||||
namespace qdatetime {
|
namespace qdatetime {
|
||||||
|
|
||||||
void testQDate()
|
void testQDate()
|
||||||
@@ -6545,6 +6562,7 @@ int main(int argc, char *argv[])
|
|||||||
text::testText();
|
text::testText();
|
||||||
io::testIO();
|
io::testIO();
|
||||||
catchthrow::testCatchThrow();
|
catchthrow::testCatchThrow();
|
||||||
|
undefined::testUndefined();
|
||||||
plugin::testPlugin();
|
plugin::testPlugin();
|
||||||
valgrind::testValgrind();
|
valgrind::testValgrind();
|
||||||
namespc::testNamespace();
|
namespc::testNamespace();
|
||||||
|
Reference in New Issue
Block a user