summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
authorthb <thb@openoffice.org>2010-02-19 12:46:18 +0100
committerthb <thb@openoffice.org>2010-02-19 12:46:18 +0100
commit0755c94f9a36f7ccd23a52a58297033a05b10c80 (patch)
treeb024ba02a0b81f5a59eac8192f211b5a512ea513 /basegfx
parent7ffd813fd3f0c4ec1e6b6f168acf94a6c3246a58 (diff)
parentda2c680d23b67d4721aa29f740475fd6d40e2e08 (diff)
Merged with dev300_m71
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/test/basegfx2d.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/basegfx/test/basegfx2d.cxx b/basegfx/test/basegfx2d.cxx
index d8b574769554..24a488ddfbb4 100644
--- a/basegfx/test/basegfx2d.cxx
+++ b/basegfx/test/basegfx2d.cxx
@@ -283,8 +283,11 @@ public:
// depending on float precision and the getContinuity() implemetation using
// fTools::equal, linux and mac produce more 'C' than 'S' statements, while WIN32
// uses more 'S' statements (as it should be for circles)
- CPPUNIT_ASSERT_MESSAGE("exporting to circle does not produce the expected number of coordinates",
- nCount==67 || nCount==50);
+#ifdef S390X
+ CPPUNIT_ASSERT_MESSAGE("exporting to circle does not produce the expected number of coordinates", nCount==61 );
+#else
+ CPPUNIT_ASSERT_MESSAGE("exporting to circle does not produce the expected number of coordinates", nCount==67 || nCount==50 );
+#endif
const B2DPolygon aRect(
tools::createPolygonFromRect( B2DRange(0.0,0.0,4000.0,4000.0) ));