Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727600 - kde-apps/okular-20.04.1: FAIL!: FormatTest::testValidateAction(invalid text was set) Compared values are not the same
Summary: kde-apps/okular-20.04.1: FAIL!: FormatTest::testValidateAction(invalid text w...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2020-06-08 23:24 UTC by Jannik Glückert
Modified: 2020-06-20 20:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
LastTest.log (okular-20.04.1.LastTest.log,35.70 KB, text/plain)
2020-06-08 23:25 UTC, Jannik Glückert
Details
emerge --info (emerge-info.txt,8.36 KB, text/plain)
2020-06-08 23:26 UTC, Jannik Glückert
Details
build.log , compressed (okular-20.04.1.build.log.xz,47.61 KB, text/plain)
2020-06-08 23:28 UTC, Jannik Glückert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jannik Glückert 2020-06-08 23:24:28 UTC
I'm getting one test failure in FormatTest:

FAIL!  : FormatTest::testValidateAction(invalid text was set) Compared values are not the same
   Actual   (fft->text()): "valid"
   Expected (result)     : "invalid"
   Loc: [/var/tmp/portage/kde-apps/okular-20.04.1/work/okular-20.04.1/autotests/formattest.cpp(169)]
Comment 1 Jannik Glückert 2020-06-08 23:25:05 UTC
Created attachment 644036 [details]
LastTest.log
Comment 2 Jannik Glückert 2020-06-08 23:26:13 UTC
Created attachment 644038 [details]
emerge --info
Comment 3 Jannik Glückert 2020-06-08 23:28:02 UTC
Created attachment 644040 [details]
build.log , compressed
Comment 4 Andreas Sturmlechner gentoo-dev 2020-06-20 16:23:28 UTC
All tests pass for me with 20.04.2, can you please restest?
Comment 5 Jannik Glückert 2020-06-20 17:03:38 UTC
still hitting it with 20.04.2, also tested with default CFLAGS

use flags for 20.04.2 are USE="crypt handbook image-backend pdf postscript tiff -chm -debug -djvu -epub -markdown -mobi -mobile -plucker -share -speech -test"

Did I perhaps corrupt a dependency, and would you have an idea which one it could be?
Comment 6 Larry the Git Cow gentoo-dev 2020-06-20 20:50:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddfe12dfe647c644fdf74478de04faa839ddb860

commit ddfe12dfe647c644fdf74478de04faa839ddb860
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-06-20 20:49:14 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-06-20 20:49:53 +0000

    kde-apps/okular: Restrict tests, require installed files
    
    Closes: https://bugs.gentoo.org/727600
    Package-Manager: Portage-2.3.101, Repoman-2.3.22
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/okular/okular-20.04.2.ebuild | 3 +++
 1 file changed, 3 insertions(+)
Comment 7 Andreas Sturmlechner gentoo-dev 2020-06-20 20:51:05 UTC
The tests don't work standalone anyway, so they are restricted now.