summaryrefslogtreecommitdiff
path: root/sd/qa/unit/export-tests-ooxml3.cxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2022-08-30 16:28:38 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2022-08-30 20:04:33 +0200
commit8ca13426ca50a9466f552ac1e2f062920003d5ea (patch)
treebaf9c3c1ae1efd24ec80ba0296c09c1dc8fb2c3e /sd/qa/unit/export-tests-ooxml3.cxx
parentcb38ff2ea917c5f7440f3d421a707cb53c1aa068 (diff)
Workaround interdependency of tests
CppunitTest_vcl_text failed for me on Windows: [_RUN_____] VclTextTest::testSimpleText C:/lo/src/core/vcl/qa/cppunit/text.cxx:198:VclTextTest::testSimpleText double equality assertion failed - Expected: 28 - Actual : -1 - Delta : 4 This turned out to depend on test order; the minimal failing command was make CppunitTest_vcl_text CPPUNIT_TEST_NAME="testArabic testSimpleText" and running testArabic before testSimpleText made the latter to render white text on white background, and thus being unable to get resulting height of the painted text. Changing how the complex tests obtain their virtusl devices fixes this for me. I have no idea how and why the previous complex test code affected following tests. Windows buildbots were unaffected maybe because they had HAVE_MORE_FONTS undefined. Change-Id: If079e21e6b986fed5407295a71f9b121cf8de0b8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139047 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sd/qa/unit/export-tests-ooxml3.cxx')
0 files changed, 0 insertions, 0 deletions