Bug 403143

Summary: Tests fail if kscreenlocker not installed into /
Product: [Plasma] plasmashell Reporter: Fabian Vogt <fabian>
Component: Screen lockingAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: bshah, mgraesslin, nate
Priority: NOR    
Version First Reported In: 6.2.4   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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!