At e742409f295fd5a2295aa0cbd5e67b518c0671c0, testoctave fails with octave-3.6.4: 2/3 Testing: testoctave 2/3 Test: testoctave Command: "/home/michael/dev/kde/cantor/src/backends/octave/testoctave.shell" Directory: /home/michael/dev/kde/cantor/src/backends/octave "testoctave" start time: Mar 06 05:36 EST Output: ---------------------------------------------------------- ********* Start testing of TestOctave ********* Config: Using QTest library 4.8.4, Qt 4.8.4 PASS : TestOctave::initTestCase() PASS : TestOctave::testSimpleCommand() PASS : TestOctave::testMultilineCommand() FAIL! : TestOctave::testPlot() 'e->result()!=0' returned FALSE. () Loc: [/home/michael/dev/kde/cantor/src/backends/octave/testoctave.cpp(73)] FAIL! : TestOctave::testInvalidSyntax() Compared values are not the same Loc: [/home/michael/dev/kde/cantor/src/backends/octave/testoctave.cpp(84)] PASS : TestOctave::cleanupTestCase() Totals: 4 passed, 2 failed, 0 skipped ********* Finished testing of TestOctave ********* <end of output> Test time = 12.57 sec
Currently testInvalidSyntax is working but testPlot is failing. :'( Below the output of testPlot in my computer: QDEBUG : TestOctave::testPlot() evaluateExpression: "cantor_plot2d('sin(x)', 'x', -10,10);" QDEBUG : TestOctave::testPlot() OctaveExpression construtor QDEBUG : TestOctave::testPlot() evaluate QDEBUG : TestOctave::testPlot() Executing a plot command QDEBUG : TestOctave::testPlot() runExpression QDEBUG : TestOctave::testPlot() readError QDEBUG : TestOctave::testPlot() "warning: print.m: epstool binary is not available.\nSome output formats are not available.\n" QDEBUG : TestOctave::testPlot() currentExpressionStatusChanged QDEBUG : TestOctave::testPlot() readError QDEBUG : TestOctave::testPlot() "libGL error: failed to open drm device: Permission denied\nlibGL error: failed to load driver: i965\n" QDEBUG : TestOctave::testPlot() currentExpressionStatusChanged QDEBUG : TestOctave::testPlot() readOutput QDEBUG : TestOctave::testPlot() readError QDEBUG : TestOctave::testPlot() finalize: "" QDEBUG : TestOctave::testPlot() true true FAIL! : TestOctave::testPlot() 'e->result()!=0' returned FALSE. ()
Now, all tests (6 tests) have passed, so I wil set this as fixed.