Bug 316186 - cantor fails testoctave
Summary: cantor fails testoctave
Status: RESOLVED FIXED
Alias: None
Product: cantor
Classification: Applications
Component: octave-backend (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Rieder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-05 18:46 UTC by stupor_scurvy343
Modified: 2018-04-27 20:05 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stupor_scurvy343 2013-03-05 18:46:35 UTC
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
Comment 1 Filipe Saraiva 2016-05-26 19:43:17 UTC
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. ()
Comment 2 Nikita Sirgienko 2018-04-27 20:05:58 UTC
Now, all tests (6 tests) have passed, so I wil set this as fixed.