RHSecurityCompliance / contest

Content Testing for ComplianceAsCode/content
Other
4 stars 7 forks source link

Ensure build directory exists #234

Closed mildas closed 1 month ago

mildas commented 1 month ago

On older SSG versions from src rpm, there is no build/ dir. Thus, ensure it exists.

Happens only in rpmbuild-ctest. In other test cases, we do ./build_product which ensures that build directory exists. But in this case, we use directly cmake ../ which should be run from already existing build directory. The problem happens only on RHEL8 with srpm, RHEL9 is fine, and for upstream content, build directory is there by default.