Review Request 127764: warn about need for production data, skip tests that depend on them

Marco Martin notmart at gmail.com
Wed Apr 27 13:26:47 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127764/#review94906
-----------------------------------------------------------


Ship it!




Ship It!

- Marco Martin


On April 27, 2016, 1:23 p.m., Harald Sitter wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/127764/
> -----------------------------------------------------------
> 
> (Updated April 27, 2016, 1:23 p.m.)
> 
> 
> Review request for KDE Frameworks and Plasma.
> 
> 
> Repository: plasma-framework
> 
> 
> Description
> -------
> 
> numerous icon tests expect the actual production plasma theme to be present
> it won't however be resolved because we disable qstandardpaths' default
> fallbacks by switching it into testing mode. this ultimately means the
> test run needs to have XDG_DATA_DIRS in the environment, if it doesn't
> test data will not be present
> 
> furthermore QSKIP test that depend on:
> - hicolor icon theme to be present
> - production plasma themes
> 
> this allows the entire test to pass in less than optimal environments by
> means of skipping but also gives a reasonable hint as to why tests are
> skipped in the first place. also moving forward if a test isn't guarded
> we still have the warning about failure potential allowing someone to
> quickly figure out why things failed
> 
> 
> Diffs
> -----
> 
>   autotests/iconitemtest.cpp 0b55abdf17bc858c100407a10c9aa7b0dbba203e 
> 
> Diff: https://git.reviewboard.kde.org/r/127764/diff/
> 
> 
> Testing
> -------
> 
> test passes in minimal environment
> 
> - skips when xdg_data is not set
> - doesnt' skip with data set
> - skips when hicolor is not installed at all
> - passes when hicolor is installed
> 
> 
> Thanks,
> 
> Harald Sitter
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20160427/83f88c98/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list