Opened 4 years ago
Last modified 4 years ago
Reported by: akozumpl Assigned to: akozumpl
Priority: major Milestone:
Component: rpm Version: RPM Development
Keywords: Cc:
Running 'make check' from tests/ when fakechroot is not available produces many failed tests instead of informing that the testing framework is incomplete.
Similarly, if rpm is build on a system wihtout xz-devel, some tests are failing with even stranger errors (bad cpio header).
A possible solution is make "make check" fail immediately with an explanation if either of those conditions are detected.
This has been fixed on the master branch by commits f0d7459e51c93f89c014eff9d20cf81fccdbf1c3 (the XZ dependency) and f6baacaa07bc1069309c0afbf1369ea664c59742 (the fakechroot dependency).