[Libreoffice-commits] core.git: chart2/CppunitTest_chart2_export.mk

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Wed Jun 12 07:07:02 UTC 2019


 chart2/CppunitTest_chart2_export.mk |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 5b793450008e4b5a2be0da920c1b7e2f3a818611
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Apr 16 15:48:44 2019 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Jun 12 09:05:50 2019 +0200

    Add missing test dependency on instdir/share/config/images_*.zip
    
    ...without which `make clean && make CppunitTest_chart2_export` would fire
    
    > cppunittester: vcl/source/gdi/bmpacc.cxx:39: BitmapInfoAccess::BitmapInfoAccess(Bitmap &, BitmapAccessMode): Assertion `xImpBmp && "Forbidden Access to empty bitmap!"' failed.
    
    at
    
    > __GI___assert_fail at /usr/src/debug/glibc-2.28-95-g7423da211d/assert/assert.c:101
    > BitmapInfoAccess::BitmapInfoAccess(Bitmap&, BitmapAccessMode) at vcl/source/gdi/bmpacc.cxx:39
    > BitmapReadAccess::BitmapReadAccess(Bitmap&, BitmapAccessMode) at vcl/source/gdi/bmpacc.cxx:88
    > BitmapWriteAccess::BitmapWriteAccess(Bitmap&) at vcl/source/gdi/bmpacc.cxx:327
    > Bitmap::AcquireWriteAccess() at vcl/source/bitmap/bitmap.cxx:385
    > vcl::ScopedBitmapAccess<BitmapWriteAccess, Bitmap, &Bitmap::AcquireWriteAccess>::ScopedBitmapAccess(Bitmap&) at include/vcl/scopedbitmapaccess.hxx:53
    > BitmapDisabledImageFilter::execute(BitmapEx const&) const at vcl/source/bitmap/BitmapDisabledImageFilter.cxx:30
    > BitmapFilter::Filter(BitmapEx&, BitmapFilter const&) at vcl/source/bitmap/bitmapfilter.cxx:23
    > ImplImage::getBitmapEx(bool) at vcl/source/image/ImplImage.cxx:107
    > ImplImage::getBitmapExForHiDPI(bool) at vcl/source/image/ImplImage.cxx:137
    > Image::Draw(OutputDevice*, Point const&, DrawImageFlags, Size const*) at vcl/source/image/Image.cxx:124
    > OutputDevice::DrawImage(Point const&, Size const&, Image const&, DrawImageFlags) at vcl/source/outdev/bitmap.cxx:1323
    > OutputDevice::DrawImage(Point const&, Image const&, DrawImageFlags) at vcl/source/outdev/bitmap.cxx:1307
    > ToolBox::ImplDrawItem(OutputDevice&, unsigned long, unsigned short) at vcl/source/window/toolbox.cxx:2817
    > ToolBox::Paint(OutputDevice&, tools::Rectangle const&) at vcl/source/window/toolbox.cxx:3663
    > ScInputWindow::Paint(OutputDevice&, tools::Rectangle const&) at sc/source/ui/app/inputwin.cxx:427
    > PaintHelper::DoPaint(vcl::Region const*) at vcl/source/window/paint.cxx:300
    > vcl::Window::ImplCallPaint(vcl::Region const*, ImplPaintFlags) at vcl/source/window/paint.cxx:604
    > PaintHelper::~PaintHelper() at vcl/source/window/paint.cxx:540
    > vcl::Window::ImplCallPaint(vcl::Region const*, ImplPaintFlags) at vcl/source/window/paint.cxx:610
    > PaintHelper::~PaintHelper() at vcl/source/window/paint.cxx:540
    > vcl::Window::ImplCallPaint(vcl::Region const*, ImplPaintFlags) at vcl/source/window/paint.cxx:610
    > PaintHelper::~PaintHelper() at vcl/source/window/paint.cxx:540
    > vcl::Window::ImplCallPaint(vcl::Region const*, ImplPaintFlags) at vcl/source/window/paint.cxx:610
    > vcl::Window::Update() at vcl/source/window/paint.cxx:1323
    > StatusBar::StartProgressMode(rtl::OUString const&) at vcl/source/window/status.cxx:1325
    > framework::ProgressBarWrapper::start(rtl::OUString const&, int) at framework/source/uielement/progressbarwrapper.cxx:111
    > framework::StatusIndicatorInterfaceWrapper::start(rtl::OUString const&, int) at framework/source/uielement/statusindicatorinterfacewrapper.cxx:52
    > SfxProgress::SetState(unsigned int, unsigned int) at sfx2/source/bastyp/progress.cxx:236
    > ScProgress::SetState(unsigned long, unsigned long) at sc/inc/progress.hxx:86
    > ScfProgressBar::IncreaseProgressBar(unsigned long) at sc/source/filter/ftools/fprogressbar.cxx:129
    > ScfProgressBar::ProgressAbs(unsigned long) at sc/source/filter/ftools/fprogressbar.cxx:186
    > ScfProgressBar::IncreaseProgressBar(unsigned long) at sc/source/filter/ftools/fprogressbar.cxx:121
    > ScfProgressBar::ProgressAbs(unsigned long) at sc/source/filter/ftools/fprogressbar.cxx:186
    > ScfProgressBar::Progress(unsigned long) at sc/source/filter/ftools/fprogressbar.cxx:194
    > XclExpProgressBar::Progress() at sc/source/filter/excel/xehelper.cxx:142
    > XclExpRow::XclExpRow(XclExpRoot const&, unsigned int, XclExpRowOutlineBuffer&, bool, bool, unsigned short) at sc/source/filter/excel/xetable.cxx:1862
    > XclExpRowBuffer::GetOrCreateRow(unsigned int, bool) at sc/source/filter/excel/xetable.cxx:2398
    > XclExpRowBuffer::AppendCell(std::shared_ptr<XclExpCellBase> const&, bool) at sc/source/filter/excel/xetable.cxx:2138
    > XclExpCellTable::XclExpCellTable(XclExpRoot const&) at sc/source/filter/excel/xetable.cxx:2589
    > ExcTable::FillAsTableBinary(short) at sc/source/filter/excel/excdoc.cxx:420
    > ExcDocument::ReadDoc() at sc/source/filter/excel/excdoc.cxx:741
    > ExportBiff5::Write() at sc/source/filter/excel/expop2.cxx:107
    > lcl_ExportExcelBiff(SfxMedium&, ScDocument*, SvStream*, bool, unsigned short) at sc/source/filter/excel/excel.cxx:176
    > ScFormatFilterPluginImpl::ScExportExcel5(SfxMedium&, ScDocument*, ExportFormatExcel, unsigned short) at sc/source/filter/excel/excel.cxx:212
    > ScDocShell::ConvertTo(SfxMedium&) at sc/source/ui/docshell/docsh.cxx:2368
    > SfxObjectShell::SaveTo_Impl(SfxMedium&, SfxItemSet const*) at sfx2/source/doc/objstor.cxx:1510
    > SfxObjectShell::PreDoSaveAs_Impl(rtl::OUString const&, rtl::OUString const&, SfxItemSet const&) at sfx2/source/doc/objstor.cxx:2833
    > SfxObjectShell::CommonSaveAs_Impl(INetURLObject const&, rtl::OUString const&, SfxItemSet&) at sfx2/source/doc/objstor.cxx:2690
    > SfxObjectShell::APISaveAs_Impl(rtl::OUString const&, SfxItemSet&) at sfx2/source/doc/objserv.cxx:326
    > SfxBaseModel::impl_store(rtl::OUString const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&, bool) at sfx2/source/doc/sfxbasemodel.cxx:3026
    > SfxBaseModel::storeToURL(rtl::OUString const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) at sfx2/source/doc/sfxbasemodel.cxx:1697
    > ChartTest::save(rtl::OUString const&) at chart2/qa/extras/charttest.hxx:131
    > ChartTest::reload(rtl::OUString const&) at chart2/qa/extras/charttest.hxx:138
    > Chart2ExportTest::testTrendlineXLS() at chart2/qa/extras/chart2export.cxx:547
    [...]
    
    due to an earlier
    
    > warn:vcl:30580:30580:vcl/source/image/ImplImage.cxx:63: Failed to load scaled image from sc/res/sc26047.png at 1
    
    Change-Id: Iffb47b846f9aa3823b57684fbbd8f3d8388e5e6b
    Reviewed-on: https://gerrit.libreoffice.org/70825
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/chart2/CppunitTest_chart2_export.mk b/chart2/CppunitTest_chart2_export.mk
index 75baa42b6428..8caf285b1f1d 100644
--- a/chart2/CppunitTest_chart2_export.mk
+++ b/chart2/CppunitTest_chart2_export.mk
@@ -134,4 +134,6 @@ $(eval $(call gb_CppunitTest_use_uiconfigs,chart2_export, \
 
 $(eval $(call gb_CppunitTest_use_configuration,chart2_export))
 
+$(call gb_CppunitTest_get_target,chart2_export): $(call gb_Package_get_target,postprocess_images)
+
 # vim: set noet sw=4 ts=4:


More information about the Libreoffice-commits mailing list