1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119 | autopkgtest [00:17:10]: test testsuite: [-----------------------
make -j1 test ARGS\+=-j1
Running tests...
/usr/bin/ctest --force-new-ctest-process -j1
Test project /tmp/autopkgtest.BDSOEm/build.D1M/cantor-16.12.1/obj-x86_64-linux-gnu
Start 1: testmaxima
1/5 Test #1: testmaxima ....................... Passed 0.83 sec
Start 2: testoctave
2/5 Test #2: testoctave .......................***Failed 0.74 sec
********* Start testing of TestOctave *********
Config: Using QtTest library 5.7.1, Qt 5.7.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 6.3.0 20170124)
QDEBUG : TestOctave::initTestCase() dir: "/usr/lib/x86_64-linux-gnu/qt5/plugins/cantor/backends"
QDEBUG : TestOctave::initTestCase() Error while loading plugin: "."
QDEBUG : TestOctave::initTestCase() Error while loading plugin: ".."
QDEBUG : TestOctave::initTestCase() Creating MaximaBackend
QDEBUG : TestOctave::initTestCase() Creating NullBackend
QDEBUG : TestOctave::initTestCase()
QDEBUG : TestOctave::initTestCase() Creating PythonBackend
QDEBUG : TestOctave::initTestCase() Creating PythonBackend
QDEBUG : TestOctave::initTestCase() Creating RBackend
QDEBUG : TestOctave::initTestCase() Creating SageBackend
QDEBUG : TestOctave::initTestCase() dir: "/tmp/autopkgtest.BDSOEm/build.D1M/cantor-16.12.1/obj-x86_64-linux-gnu/src/backends/octave/cantor/backends"
QDEBUG : TestOctave::initTestCase()
QDEBUG : TestOctave::initTestCase() OctaveSession(0x5631ce53b0c0) QObject(0x5631ce54fb80, name = "VariableManagementExtension")
QDEBUG : TestOctave::initTestCase() "/usr/share/cantor/octavebackend/"
QDEBUG : TestOctave::initTestCase() login
QDEBUG : TestOctave::initTestCase() ("/usr/bin/octave-cli", "--silent", "--interactive", "--persist", "--eval", "addpath /usr/share/cantor/octavebackend/;", "--eval", "graphics_toolkit gnuplot;", "--eval", "set (0, \"defaultfigurevisible\",\"off\");", "--eval", "suppress_verbose_help_message(1);", "--eval", "____TMP_DIR____ = tempdir")
QDEBUG : TestOctave::initTestCase() readOutput
QDEBUG : TestOctave::initTestCase() Got temporary file dir: "/tmp/"
QDEBUG : TestOctave::initTestCase() readOutput
QDEBUG : TestOctave::initTestCase() Found Octave prompt: "octave:1> "
PASS : TestOctave::initTestCase()
QDEBUG : TestOctave::testSimpleCommand() evaluateExpression: "2+2"
QDEBUG : TestOctave::testSimpleCommand() OctaveExpression construtor
QDEBUG : TestOctave::testSimpleCommand() evaluate
QDEBUG : TestOctave::testSimpleCommand() runExpression
QDEBUG : TestOctave::testSimpleCommand() readOutput
QDEBUG : TestOctave::testSimpleCommand() parseOutput: "ans = "
QDEBUG : TestOctave::testSimpleCommand() settting result to a type 1 result
QDEBUG : TestOctave::testSimpleCommand() readOutput
QDEBUG : TestOctave::testSimpleCommand() parseOutput: " 4\n"
QDEBUG : TestOctave::testSimpleCommand() settting result to a type 1 result
QDEBUG : TestOctave::testSimpleCommand() readError
QDEBUG : TestOctave::testSimpleCommand() finalize: "ans = 4\n"
QDEBUG : TestOctave::testSimpleCommand() "ans = 4"
QDEBUG : TestOctave::testSimpleCommand() false false
QDEBUG : TestOctave::testSimpleCommand() currentExpressionStatusChanged
PASS : TestOctave::testSimpleCommand()
QDEBUG : TestOctave::testMultilineCommand() evaluateExpression: "a = 2+2, b = 3+3"
QDEBUG : TestOctave::testMultilineCommand() OctaveExpression construtor
QDEBUG : TestOctave::testMultilineCommand() evaluate
QDEBUG : TestOctave::testMultilineCommand() runExpression
QDEBUG : TestOctave::testMultilineCommand() readOutput
QDEBUG : TestOctave::testMultilineCommand() parseOutput: "a = 4\nb = 6\n"
QDEBUG : TestOctave::testMultilineCommand() settting result to a type 1 result
QDEBUG : TestOctave::testMultilineCommand() readError
QDEBUG : TestOctave::testMultilineCommand() finalize: "a = 4\nb = 6\n"
QDEBUG : TestOctave::testMultilineCommand() "a = 4"
QDEBUG : TestOctave::testMultilineCommand() "b = 6"
QDEBUG : TestOctave::testMultilineCommand() false false
QDEBUG : TestOctave::testMultilineCommand() currentExpressionStatusChanged
PASS : TestOctave::testMultilineCommand()
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() readOutput
QDEBUG : TestOctave::testPlot() readError
QDEBUG : TestOctave::testPlot() finalize: ""
QDEBUG : TestOctave::testPlot() true false
QDEBUG : TestOctave::testPlot() parsePlotFile
QDEBUG : TestOctave::testPlot() OctaveExpression::parsePlotFile: "/tmp/c-ob-QeC6tg.eps"
QDEBUG : TestOctave::testPlot() settting result to a type 2 result
QDEBUG : TestOctave::testPlot() currentExpressionStatusChanged
FAIL! : TestOctave::testPlot() '!e->result()->data().isNull()' returned FALSE. ()
Loc: [/tmp/autopkgtest.BDSOEm/build.D1M/cantor-16.12.1/src/backends/octave/testoctave.cpp(78)]
QDEBUG : TestOctave::testInvalidSyntax() evaluateExpression: "2+2*+."
QDEBUG : TestOctave::testInvalidSyntax() OctaveExpression construtor
QDEBUG : TestOctave::testInvalidSyntax() evaluate
QDEBUG : TestOctave::testInvalidSyntax() runExpression
QDEBUG : TestOctave::testInvalidSyntax() readOutput
QDEBUG : TestOctave::testInvalidSyntax() readError
QDEBUG : TestOctave::testInvalidSyntax() finalize: ""
QDEBUG : TestOctave::testInvalidSyntax() false false
QDEBUG : TestOctave::testInvalidSyntax() currentExpressionStatusChanged
QDEBUG : TestOctave::testInvalidSyntax() readError
QDEBUG : TestOctave::testInvalidSyntax() "parse error:\n\n syntax error\n\n>>> 2+2*+.\n ^\n\n"
QDEBUG : TestOctave::testInvalidSyntax() currentExpressionStatusChanged
PASS : TestOctave::testInvalidSyntax()
QDEBUG : TestOctave::cleanupTestCase() logout
QDEBUG : TestOctave::cleanupTestCase() readOutput
QDEBUG : TestOctave::cleanupTestCase() parseOutput: "\n"
PASS : TestOctave::cleanupTestCase()
Totals: 5 passed, 1 failed, 0 skipped, 0 blacklisted, 716ms
********* Finished testing of TestOctave *********
Start 3: testsage
3/5 Test #3: testsage ......................... Passed 0.04 sec
Start 4: testpython2
4/5 Test #4: testpython2 ...................... Passed 0.08 sec
Start 5: testpython3
5/5 Test #5: testpython3 ...................... Passed 0.25 sec
80% tests passed, 1 tests failed out of 5
Total Test time (real) = 1.95 sec
The following tests FAILED:
2 - testoctave (Failed)
Errors while running CTest
Makefile:108: recipe for target 'test' failed
make: *** [test] Error 8
dh_auto_test: make -j1 test ARGS+=-j1 returned exit code 2
autopkgtest [00:17:13]: test testsuite: -----------------------]
autopkgtest [00:17:14]: test testsuite: - - - - - - - - - - results - - - - - - - - - -
testsuite FAIL non-zero exit status 2
autopkgtest [00:17:15]: @@@@@@@@@@@@@@@@@@@@ summary
testsuite FAIL non-zero exit status 2
|