Bug 403143 - Tests fail if kscreenlocker not installed into /
Summary: Tests fail if kscreenlocker not installed into /
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Screen locking (show other bugs)
Version: 6.2.4
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-12 15:10 UTC by Fabian Vogt
Modified: 2024-12-18 19:02 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Vogt 2019-01-12 15:10:30 UTC
Running make test without make install fails.

This is because 1) neither kscreenlocker_greet is found from the tests nor 2) kcheckpass from within kscreenlocker_greet,
as those paths are hardcoded.

This means it's impossible to run the tests in a RPM's %check section, as files are not installed into / directly.

I've fixed 1) by using QFINDTESTDATA locally, but I'm not sure how to fix 2.
Comment 1 Nate Graham 2022-11-04 20:03:11 UTC
Is this still an issue today?
Comment 2 Fabian Vogt 2022-11-04 20:47:11 UTC
(In reply to Nate Graham from comment #1)
> Is this still an issue today?

I ran a build with tests enabled here, still fails.
Comment 3 Nate Graham 2022-11-04 20:49:27 UTC
Thanks!