Making check in src
make[1]: Entrando no diretório `/opt/inkscape-svn/src'
VER_PREFIX="0.46+devel"; \
if test -x "./.svn" -a ! -z `which svn`; then \
VER_SVNREV=" r`LANG=en svn info . | sed -n -e '/^Revision:/s/Revision: \(.*\)/\1/p'`"; \
if test ! -z "`svn status -q .`"; then \
VER_CUSTOM=" custom"; \
fi; \
fi; \
VERSION="$VER_PREFIX$VER_SVNREV$VER_CUSTOM"; \
echo "namespace Inkscape { " \
"char const *version_string = \"$VERSION\"; " \
"}" > inkscape-version.new.cpp; \
if cmp -s inkscape-version.new.cpp inkscape-version.cpp; then \
rm inkscape-version.new.cpp; \
else \
mv inkscape-version.new.cpp inkscape-version.cpp; \
fi; \
echo $VERSION
svn: warning: cannot set LC_CTYPE locale
svn: warning: environment variable LANG is en
svn: warning: please check that your locale name is correct
0.46+devel r22575
make cxxtests
make[2]: Entrando no diretório `/opt/inkscape-svn/src'
VER_PREFIX="0.46+devel"; \
if test -x "./.svn" -a ! -z `which svn`; then \
VER_SVNREV=" r`LANG=en svn info . | sed -n -e '/^Revision:/s/Revision: \(.*\)/\1/p'`"; \
if test ! -z "`svn status -q .`"; then \
VER_CUSTOM=" custom"; \
fi; \
fi; \
VERSION="$VER_PREFIX$VER_SVNREV$VER_CUSTOM"; \
echo "namespace Inkscape { " \
"char const *version_string = \"$VERSION\"; " \
"}" > inkscape-version.new.cpp; \
if cmp -s inkscape-version.new.cpp inkscape-version.cpp; then \
rm inkscape-version.new.cpp; \
else \
mv inkscape-version.new.cpp inkscape-version.cpp; \
fi; \
echo $VERSION
svn: warning: cannot set LC_CTYPE locale
svn: warning: environment variable LANG is en
svn: warning: please check that your locale name is correct
0.46+devel r22575
make[2]: Saindo do diretório `/opt/inkscape-svn/src'
make check-TESTS
make[2]: Entrando no diretório `/opt/inkscape-svn/src'
VER_PREFIX="0.46+devel"; \
if test -x "./.svn" -a ! -z `which svn`; then \
VER_SVNREV=" r`LANG=en svn info . | sed -n -e '/^Revision:/s/Revision: \(.*\)/\1/p'`"; \
if test ! -z "`svn status -q .`"; then \
VER_CUSTOM=" custom"; \
fi; \
fi; \
VERSION="$VER_PREFIX$VER_SVNREV$VER_CUSTOM"; \
echo "namespace Inkscape { " \
"char const *version_string = \"$VERSION\"; " \
"}" > inkscape-version.new.cpp; \
if cmp -s inkscape-version.new.cpp inkscape-version.cpp; then \
rm inkscape-version.new.cpp; \
else \
mv inkscape-version.new.cpp inkscape-version.cpp; \
fi; \
echo $VERSION
svn: warning: cannot set LC_CTYPE locale
svn: warning: environment variable LANG is en
svn: warning: please check that your locale name is correct
0.46+devel r22575
Running 177 tests
In AttributesTest::testAttributes:
./attributes-test.h:514: Warning: "Attribute string with enum 177 {flood-color} not handled"
./attributes-test.h:514: Warning: "Attribute string with enum 178 {flood-opacity} not handled"
./attributes-test.h:519: Error: Assertion failed: !found
./attributes-test.h:524: Error: Test failed: "Enum round-trip through string {flood-color} failed."
./attributes-test.h:524: Error: Expected (index == postLookup), found (177 != 311)
./attributes-test.h:524: Error: Test failed: "Enum round-trip through string {flood-opacity} failed."
./attributes-test.h:524: Error: Expected (index == postLookup), found (178 != 312)
..........
In PreferencesTest::testStartingState:
./preferences-test.h:42: Error: Expected (prefs->isWritable() == false), found (true != false)
.............
In VerbsTest::testFetch:
./verbs-test.h:47: Error: Test failed: "Verb# 224"
./verbs-test.h:47: Error: Expected (verb->get_code() == static_cast<unsigned int>(i)), found (226 != 224)
./verbs-test.h:52: Error: Test failed: "Verb# 224"
./verbs-test.h:52: Error: Assertion failed: verb->get_name()
./verbs-test.h:59: Error: Test failed: "Verb# 224"
./verbs-test.h:59: Error: Expected (bounced->get_code() == static_cast<unsigned int>(i)), found (226 != 224)
./verbs-test.h:44: Error: Test failed: "Verb# 225"
./verbs-test.h:44: Error: Assertion failed: verb
.
In CurveTest::testNodesInPath:
./display/curve-test.h:108: Error: Expected (curve.nodes_in_path() == 12u), found (11 != 12)
..
In CurveTest::testLastFirstSegment:
./display/curve-test.h:140: Error: Expected (SPCurve(pv).first_segment() != (void*)0), found ({ 00 00 00 00 })
./display/curve-test.h:141: Error: Expected (SPCurve(pv).last_segment() != (void*)0), found ({ 00 00 00 00 })
..
In CurveTest::testLastPoint:
./display/curve-test.h:204: Error: Expected (*(SPCurve(Geom::PathVector(1, path1)).last_point()) == Geom::Point(0,0)), found ({ 00 00 00 00 00 00 F0 3F ... } != { 00 00 00 00 00 00 00 00 ... })
.
In CurveTest::testPenultimatePoint:
./display/curve-test.h:236: Error: Expected (*(SPCurve(Geom::PathVector(1, path2)).penultimate_point()) == Geom::Point(3,0)), found ({ 00 00 00 00 00 00 00 40 ... } != { 00 00 00 00 00 00 08 40 ... })
./display/curve-test.h:245: Error: Expected (*(SPCurve(pv).penultimate_point()) == Geom::Point(8,4)), found ({ 00 00 00 00 00 00 08 40 ... } != { 00 00 00 00 00 00 20 40 ... })
........................................................................................
In SvgAffineTest::testWriteTranslate:
./svg/svg-affine-test.h:131: Error: Expected streq_rel( str, write_translate_tests[i].str ), found !streq_rel( translate(1,0), translate(1) )
In SvgAffineTest::testWriteScale:
./svg/svg-affine-test.h:140: Error: Expected streq_rel( str, write_scale_tests[i].str ), found !streq_rel( scale(0,0), scale(0) )
In SvgAffineTest::testWriteRotate:
./svg/svg-affine-test.h:149: Error: Expected streq_rel( str, write_rotate_tests[i].str ), found !streq_rel( matrix(0.97437006,0.22495105,-0.22495105,0.97437006,0,0), rotate(13) )
./svg/svg-affine-test.h:149: Error: Expected streq_rel( str, write_rotate_tests[i].str ), found !streq_rel( matrix(0.97437006,-0.22495105,0.22495105,0.97437006,-2.2950521,1.8565867), rotate(-13,7,11) )
In SvgAffineTest::testWriteSkew:
./svg/svg-affine-test.h:158: Error: Expected streq_rel( str, write_skew_tests[i].str ), found !streq_rel( matrix(1,0,0.57735027,1,0,0), skewX(30) )
./svg/svg-affine-test.h:158: Error: Expected streq_rel( str, write_skew_tests[i].str ), found !streq_rel( matrix(1,0,-0.57735027,1,0,0), skewX(-30) )
./svg/svg-affine-test.h:158: Error: Expected streq_rel( str, write_skew_tests[i].str ), found !streq_rel( matrix(1,0.57735027,0,1,0,0), skewY(390) )
.
In SvgAffineTest::testReadFailures:
./svg/svg-affine-test.h:179: Error: Test failed: matrix(1,2,3,4,5,6,)
./svg/svg-affine-test.h:179: Error: Assertion failed: !sp_svg_transform_read(read_fail_tests[i], &cm)
./svg/svg-affine-test.h:179: Error: Test failed: matrix(1,2,3,4,5e6-3)
./svg/svg-affine-test.h:179: Error: Assertion failed: !sp_svg_transform_read(read_fail_tests[i], &cm)
./svg/svg-affine-test.h:179: Error: Test failed: matrix(1,2,3,4,5e6.3)
./svg/svg-affine-test.h:179: Error: Assertion failed: !sp_svg_transform_read(read_fail_tests[i], &cm)
./svg/svg-affine-test.h:179: Error: Test failed: translate(1,)
./svg/svg-affine-test.h:179: Error: Assertion failed: !sp_svg_transform_read(read_fail_tests[i], &cm)
./svg/svg-affine-test.h:179: Error: Test failed: translate(1,6,)
./svg/svg-affine-test.h:179: Error: Assertion failed: !sp_svg_transform_read(read_fail_tests[i], &cm)
...
In SvgLengthTest::testRead:
./svg/svg-length-test.h:51: Error: Test failed: 123 px
./svg/svg-length-test.h:51: Error: Assertion failed: !len.read(fail_tests[i])
In SvgLengthTest::testReadOrUnset:
./svg/svg-length-test.h:75: Error: Test failed: 123 px
./svg/svg-length-test.h:75: Error: Expected (len.unit == SVGLength::INCH), found ({ 00 00 00 00 } != { 06 00 00 00 })
./svg/svg-length-test.h:77: Error: Test failed: 123 px
./svg/svg-length-test.h:77: Error: Expected (len.computed == 456), found (123.0000 != 456)
In SvgLengthTest::testReadAbsolute:
./svg/svg-length-test.h:96: Error: Test failed: 123 px
./svg/svg-length-test.h:96: Error: Assertion failed: !len.readAbsolute(fail_tests[i])
....
In SvgPathGeomTest::testReadRectanglesAbsoluteClosed:
./svg/svg-path-geom-test.h:582: Trace: An HLineSegment and a LineSegment have been considered equal. Subpath: 0, segment: 0
./svg/svg-path-geom-test.h:598: Trace: A VLineSegment and a LineSegment have been considered equal. Subpath: 0, segment: 1
./svg/svg-path-geom-test.h:582: Trace: An HLineSegment and a LineSegment have been considered equal. Subpath: 0, segment: 2
.
In SvgPathGeomTest::testReadRectanglesRelativeClosed:
./svg/svg-path-geom-test.h:582: Trace: An HLineSegment and a LineSegment have been considered equal. Subpath: 0, segment: 0
./svg/svg-path-geom-test.h:598: Trace: A VLineSegment and a LineSegment have been considered equal. Subpath: 0, segment: 1
./svg/svg-path-geom-test.h:582: Trace: An HLineSegment and a LineSegment have been considered equal. Subpath: 0, segment: 2
.
In SvgPathGeomTest::testReadRectanglesAbsoluteOpen:
./svg/svg-path-geom-test.h:582: Trace: An HLineSegment and a LineSegment have been considered equal. Subpath: 0, segment: 0
./svg/svg-path-geom-test.h:598: Trace: A VLineSegment and a LineSegment have been considered equal. Subpath: 0, segment: 1
./svg/svg-path-geom-test.h:582: Trace: An HLineSegment and a LineSegment have been considered equal. Subpath: 0, segment: 2
./svg/svg-path-geom-test.h:598: Trace: A VLineSegment and a LineSegment have been considered equal. Subpath: 0, segment: 3
.
In SvgPathGeomTest::testReadRectanglesRelativeOpen:
./svg/svg-path-geom-test.h:582: Trace: An HLineSegment and a LineSegment have been considered equal. Subpath: 0, segment: 0
./svg/svg-path-geom-test.h:598: Trace: A VLineSegment and a LineSegment have been considered equal. Subpath: 0, segment: 1
./svg/svg-path-geom-test.h:582: Trace: An HLineSegment and a LineSegment have been considered equal. Subpath: 0, segment: 2
./svg/svg-path-geom-test.h:598: Trace: A VLineSegment and a LineSegment have been considered equal. Subpath: 0, segment: 3
.
In SvgPathGeomTest::testReadRectanglesAbsoluteClosed2:
./svg/svg-path-geom-test.h:582: Trace: An HLineSegment and a LineSegment have been considered equal. Subpath: 0, segment: 0
./svg/svg-path-geom-test.h:598: Trace: A VLineSegment and a LineSegment have been considered equal. Subpath: 0, segment: 1
./svg/svg-path-geom-test.h:582: Trace: An HLineSegment and a LineSegment have been considered equal. Subpath: 0, segment: 2
./svg/svg-path-geom-test.h:598: Trace: A VLineSegment and a LineSegment have been considered equal. Subpath: 0, segment: 3
.
In SvgPathGeomTest::testReadRectanglesRelativeClosed2:
./svg/svg-path-geom-test.h:582: Trace: An HLineSegment and a LineSegment have been considered equal. Subpath: 0, segment: 0
./svg/svg-path-geom-test.h:598: Trace: A VLineSegment and a LineSegment have been considered equal. Subpath: 0, segment: 1
./svg/svg-path-geom-test.h:582: Trace: An HLineSegment and a LineSegment have been considered equal. Subpath: 0, segment: 2
./svg/svg-path-geom-test.h:598: Trace: A VLineSegment and a LineSegment have been considered equal. Subpath: 0, segment: 3
...
In SvgPathGeomTest::testReadImplicitMoveto:
./svg/svg-path-geom-test.h:162: Warning: Currently lib2geom (/libnr) has no way of specifying the difference between 'M 0,0 ... z M 0,0 L 1,0' and 'M 0,0 ... z L 1,0', the SVG specification does state that these should be handled differently with respect to markers however, see the description of the 'orient' attribute of the 'marker' element.
....
In SvgPathGeomTest::testReadErrorUnrecognizedCharacter:
./svg/svg-path-geom-test.h:426: Error: Test failed: Right subpath is closed, left subpath is open. Subpath: 0
./svg/svg-path-geom-test.h:263: Error: Test failed: M 1,2 4,2 4,8 1,8 z&m 13,15
./svg/svg-path-geom-test.h:263: Error: Assertion failed: bpathEqual(pv,rectanglepvclosed)
........................
Failed 16 of 177 tests
Success rate: 90%
FAIL: cxxtests
##### Extension Tests #####
>> Testing addnodes
.
----------------------------------------------------------------------
Ran 1 test in 0.012s
OK
>> Testing chardataeffect
.
----------------------------------------------------------------------
Ran 1 test in 0.003s
OK
>> Testing coloreffect
.
----------------------------------------------------------------------
Ran 1 test in 0.003s
OK
>> Testing dots
.
----------------------------------------------------------------------
Ran 1 test in 0.003s
OK
>> Testing draw_from_triangle
.
----------------------------------------------------------------------
Ran 1 test in 0.004s
OK
>> Testing dxf_outlines
.
----------------------------------------------------------------------
Ran 1 test in 0.003s
OK
>> Testing edge3d
.
----------------------------------------------------------------------
Ran 1 test in 0.003s
OK
>> Testing embedimage
.
----------------------------------------------------------------------
Ran 1 test in 0.003s
OK
>> Testing eqtexsvg
E
======================================================================
ERROR: test_run_without_parameters (__main__.EQTEXSVGBasicTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "eqtexsvg.test.py", line 22, in test_run_without_parameters
e.affect( args, False )
File "/opt/inkscape-svn/share/extensions/inkex.py", line 207, in affect
self.effect()
File "../eqtexsvg.py", line 105, in effect
create_equation_tex(latex_file, self.options.formula)
File "../eqtexsvg.py", line 41, in create_equation_tex
tex.write(equation)
TypeError: argument 1 must be string or read-only character buffer, not float
----------------------------------------------------------------------
Ran 1 test in 0.003s
FAILED (errors=1)
>> Testing extractimage
.
----------------------------------------------------------------------
Ran 1 test in 0.003s
OK
>> Testing extrude
Need 2 paths selected
.
----------------------------------------------------------------------
Ran 1 test in 0.003s
OK
>> Testing flatten
.
----------------------------------------------------------------------
Ran 1 test in 0.003s
OK
>> Testing foldablebox
.
----------------------------------------------------------------------
Ran 1 test in 0.004s
OK
>> Testing fractalize
.
----------------------------------------------------------------------
Ran 1 test in 0.003s
OK
>> Testing funcplot
.
----------------------------------------------------------------------
Ran 1 test in 0.003s
OK
>> Testing gears
.
----------------------------------------------------------------------
Ran 1 test in 0.004s
OK
>> Testing gimp_xcf
No matching node for expression: /svg:svg/@sodipodi:docname
E
======================================================================
ERROR: test_run_without_parameters (__main__.MyEffectBasicTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "gimp_xcf.test.py", line 22, in test_run_without_parameters
e.affect( args, False )
File "/opt/inkscape-svn/share/extensions/inkex.py", line 207, in affect
self.effect()
File "../gimp_xcf.py", line 37, in effect
docname = self.xpathSingle('/svg:svg/@sodipodi:docname')[:-4]
TypeError: 'NoneType' object is unsubscriptable
----------------------------------------------------------------------
Ran 1 test in 0.003s
FAILED (errors=1)
>> Testing grid_cartesian
.
----------------------------------------------------------------------
Ran 1 test in 0.008s
OK
>> Testing grid_polar
.
----------------------------------------------------------------------
Ran 1 test in 0.006s
OK
>> Testing guides_creator
E
======================================================================
ERROR: test_run_without_parameters (__main__.Guides_CreatorBasicTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "guides_creator.test.py", line 22, in test_run_without_parameters
e.affect( args, False )
File "/opt/inkscape-svn/share/extensions/inkex.py", line 207, in affect
self.effect()
File "../guides_creator.py", line 171, in effect
nv = self.document.xpath('/svg:svg/sodipodi:namedview',namespaces=inkex.NSS)[0]
IndexError: list index out of range
----------------------------------------------------------------------
Ran 1 test in 0.005s
FAILED (errors=1)
>> Testing handles
.
----------------------------------------------------------------------
Ran 1 test in 0.003s
OK
>> Testing hpgl_output
.
----------------------------------------------------------------------
Ran 1 test in 0.005s
OK
>> Testing inkwebeffect
.
----------------------------------------------------------------------
Ran 1 test in 0.003s
OK
>> Testing interp_att_g
There is no selection to interpolate
.
----------------------------------------------------------------------
Ran 1 test in 0.003s
OK
>> Testing interp
.
----------------------------------------------------------------------
Ran 1 test in 0.003s
OK
>> Testing lindenmayer
.
----------------------------------------------------------------------
Ran 1 test in 0.019s
OK
>> Testing lorem_ipsum
.
----------------------------------------------------------------------
Ran 1 test in 0.003s
OK
>> Testing markers_strokepaint
No matching node for expression: /svg:svg//svg:defs
.
----------------------------------------------------------------------
Ran 1 test in 0.003s
OK
>> Testing measure
.
----------------------------------------------------------------------
Ran 1 test in 0.003s
OK
>> Testing motion
.
----------------------------------------------------------------------
Ran 1 test in 0.003s
OK
>> Testing pathmodifier
.
----------------------------------------------------------------------
Ran 1 test in 0.003s
OK
>> Testing perfectboundcover
.
----------------------------------------------------------------------
Ran 1 test in 0.003s
OK
>> Testing perspective
This extension requires two selected paths.
E
======================================================================
ERROR: test_run_without_parameters (__main__.ProjectBasicTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "perspective.test.py", line 22, in test_run_without_parameters
e.affect( args, False )
File "/opt/inkscape-svn/share/extensions/inkex.py", line 207, in affect
self.effect()
File "../perspective.py", line 62, in effect
exit()
File "/usr/lib/python2.5/site.py", line 247, in __call__
raise SystemExit(code)
SystemExit: None
----------------------------------------------------------------------
Ran 1 test in 0.004s
FAILED (errors=1)
>> Testing polyhedron_3d
E
======================================================================
ERROR: test_run_without_parameters (__main__.Poly_3DBasicTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "polyhedron_3d.test.py", line 22, in test_run_without_parameters
e.affect( args, False )
File "/opt/inkscape-svn/share/extensions/inkex.py", line 207, in affect
self.effect()
File "../polyhedron_3d.py", line 466, in effect
poly_name = obj.name+':'+make_rotation_log(so)
File "../polyhedron_3d.py", line 195, in make_rotation_log
options.r3_ax+str('%.2f'%options.r6_ang)
TypeError: unsupported operand type(s) for +: 'int' and 'str'
----------------------------------------------------------------------
Ran 1 test in 0.006s
FAILED (errors=1)
>> Testing printing-marks
File "printing-marks.test.py", line 13
from printing-marks import *
^
SyntaxError: invalid syntax
>> Testing radiusrand
.
----------------------------------------------------------------------
Ran 1 test in 0.003s
OK
>> Testing render_alphabetsoup
.
----------------------------------------------------------------------
Ran 1 test in 0.132s
OK
>> Testing render_barcode
Invalid format for barcode:
Unable to make barcode with: {'text': '', 'type': '', 'ids': [], 'height': 30}
.
----------------------------------------------------------------------
Ran 1 test in 0.003s
OK
>> Testing restack
.
----------------------------------------------------------------------
Ran 1 test in 0.003s
OK
>> Testing rtree
.
----------------------------------------------------------------------
Ran 1 test in 0.042s
OK
>> Testing spirograph
E
======================================================================
ERROR: test_run_without_parameters (__main__.SpirographBasicTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "spirograph.test.py", line 22, in test_run_without_parameters
e.affect( args, False )
File "/opt/inkscape-svn/share/extensions/inkex.py", line 207, in affect
self.effect()
File "../spirograph.py", line 56, in effect
if(self.options.gearplacement.strip(' ').lower().startswith('outside')):
AttributeError: 'float' object has no attribute 'strip'
----------------------------------------------------------------------
Ran 1 test in 0.003s
FAILED (errors=1)
>> Testing straightseg
.
----------------------------------------------------------------------
Ran 1 test in 0.003s
OK
>> Testing summersnight
This extension requires two selected paths.
The second path must be exactly four nodes long.
E
======================================================================
ERROR: test_run_without_parameters (__main__.ProjectBasicTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "summersnight.test.py", line 22, in test_run_without_parameters
e.affect( args, False )
File "/opt/inkscape-svn/share/extensions/inkex.py", line 207, in affect
self.effect()
File "../summersnight.py", line 37, in effect
exit()
File "/usr/lib/python2.5/site.py", line 247, in __call__
raise SystemExit(code)
SystemExit: None
----------------------------------------------------------------------
Ran 1 test in 0.004s
FAILED (errors=1)
>> Testing svg_and_media_zip_output
.
----------------------------------------------------------------------
Ran 1 test in 0.009s
OK
>> Testing svgcalendar
..........
----------------------------------------------------------------------
Ran 10 tests in 0.192s
OK
>> Testing triangle
.
----------------------------------------------------------------------
Ran 1 test in 0.003s
OK
>> Testing whirl
.
----------------------------------------------------------------------
Ran 1 test in 0.003s
OK
Failed 8 of 47 extension tests:
- eqtexsvg
- gimp_xcf
- guides_creator
- perspective
- polyhedron_3d
- printing-marks
- spirograph
- summersnight
FAIL: ../share/extensions/test/run-all-extension-tests
===================
2 of 2 tests failed
===================
make[2]: ** [check-TESTS] Erro 1
make[2]: Saindo do diretório `/opt/inkscape-svn/src'
make[1]: ** [check-am] Erro 2
make[1]: Saindo do diretório `/opt/inkscape-svn/src'
make: ** [check-recursive] Erro 1
ERROR