Bug 436128

Summary: Tests 53 structures-jsparsertest and 54 structures-customtostringtest fail again
Product: [Applications] okteta Reporter: yopito <pierre.bourgin>
Component: generalAssignee: Friedrich W. H. Kossebau <kossebau>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 0.26.6   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: okteta 0.26.6 build and testing output
fix for okteta 0.26.6

Description yopito 2021-04-24 16:15:35 UTC
Created attachment 137874 [details]
okteta 0.26.6 build and testing output

SUMMARY

While packaging okteta 0.26.6 for VoidLinux distribution, build is fine but running internal testing fail.
tests #53 and #54 fails: "testdata resources could not be located"


STEPS TO REPRODUCE
1. from okteta 0.26.6 source, launch build with internal testing enabled


OBSERVED RESULT

see full output attached to this issue.


EXPECTED RESULT

no error

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: VoidLinux distribution
KDE Plasma Version: n/a
KDE Frameworks Version: 5.81 
Qt Version: 5.15.2
cmake Version: 3.20.1

ADDITIONAL INFORMATION

Looks like a regression: same error arised with 0.26.4 release. Worked on it in https://invent.kde.org/utilities/okteta/-/issues/1
Comment 1 yopito 2021-04-24 16:23:09 UTC
rebuilt okteta 0.26.5: same testing errors than okteta 0.26.6 with the same building contexte.

however, previous okteta 0.26.5 build & test was fine.
build & testing context: cmake 3.19.2 and KF5 5.78
Comment 2 yopito 2021-04-24 21:30:57 UTC
please find attached a fix against okteta 0.26.6 source code.
Comment 3 yopito 2021-04-24 21:32:45 UTC
Created attachment 137888 [details]
fix for okteta 0.26.6