This question already has an answer here:

I am using qemu by compiling qemu.spec.

I often run the command 'rpmbuild -ba qemu.spec' because I am changing the source frequently, but it seems to take a long time to complete because of the test process.

Is there a way to disable the test process?

marked as duplicate by Mr Shunz, Fabby, Kiwy, JigglyNaga, Rui F Ribeiro May 10 at 11:57

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


You can skip the tests by telling rpmbuild to skip the %check build stage:

rpmbuild --nocheck -ba qemu.spec
  • Thank you for help – S KH May 7 at 9:39

Not the answer you're looking for? Browse other questions tagged or ask your own question.