Bug 432071
Summary: | Invalid source path for tests. | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Chris Moller <cmoller> | ||||
Component: | frysk | Assignee: | Chris Moller <cmoller> | ||||
Status: | CLOSED NOTABUG | QA Contact: | Len DiMaggio <ldimaggi> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 5.2 | CC: | ebachalo, kasal, mcvet, npremji, pmuldoon, scox, timoore | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-06-11 13:39:55 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Chris Moller
2008-02-08 18:09:18 UTC
Created attachment 294390 [details]
tarball containing two patches to fix this bug
The issue resolved by this patch is that the existing build process is insufficiently flexible to allow some of the frysk tests to locate sample source files in all the conditions under which the tests normally take place, principally locally with TestRunner from within the build tree, and from the directories into which the frysk RPMs install frysk. (In the first instance, a source path relative to the build tree is necessary; in the latter case an absolute path to the destination of the frysk-debuginfo RPM.) The patch included with this bug resolves this problem and affects both the frysk spec file and files within the frysk source tree. The patch allows the specification, via configuration option, of the appropriate source path. Without this patch, some funit tests in the RPM installation of frysk are guaranteed to fail for reasons having nothing to do with the proper execution of the code itself--the failures are due to a test environment different from that expected. With the patch, the affected tests will pass or fail on their own merits. (At present, with the version of the frysk code against which this patch was written (0.0.1.2008.01.18.rh1-1.fc8), all affected tests pass.) frysk is dead |