Skip to content

Commit

Permalink
csmock: use rpmbuild --without test ...
Browse files Browse the repository at this point in the history
... when execution of tests is not needed for the requested scan.
This fixes an unnecessary failure while SAST scanning
`jss-4.9.4-1.module+el8.7.0+15532+95bac9ee`

Resolves: https://issues.redhat.com/browse/OSH-697
Closes: csutils#175
  • Loading branch information
kdudka committed Jun 20, 2024
1 parent 69b366f commit b8a5553
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions py/csmock
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ DEFAULT_RPM_OPTS = [
NOCHECK_RPM_OPTS = [
"--define", "libguestfs_runtests 0",
"--define", "runselftest 0",
"--without", "test",
"--without", "testsuite"]

RAWBUILD_RPM_OPTS = [
Expand Down

0 comments on commit b8a5553

Please sign in to comment.