Commit 257c3ef2 authored by Alexander Semke's avatar Alexander Semke
Browse files

[python] Adding some more debug output to understand the test failure on CI.

parent 1a821474
Pipeline #152776 passed with stage
in 5 minutes and 20 seconds
......@@ -310,9 +310,11 @@ void TestPython3::testInterrupt()
auto* e = evalExp(QLatin1String("2+2"));
QVERIFY(e != nullptr);
qDebug()<<"### expression status 1 " << e->status();
if (session()->status() == Cantor::Session::Running)
waitForSignal(session(), SIGNAL(statusChanged(Cantor::Session::Status)));
qDebug()<<"### expression status 2 " << e->status();
QCOMPARE(e->status(), Cantor::Expression::Done);
QVERIFY(e->result());
QCOMPARE(e->result()->data().toString(), QLatin1String("4"));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment