How to specify rules in .proverc?

199 Views Asked by At

The manpage of Perls prove tool says:

Options in .proverc are specified in the same way as command line options:

# .proverc
--state=hot,fast,save
-j9

This is not true, a rule specified as

--rules='par=**'

will work on the command line but is not recognized in the .proverc file. In fact, adding this line to .proverc will disable parallel testing for all files.

1

There are 1 best solutions below

2
On

The solution is simple: Replace the first equal sign with a blank and specify rules inside of .proverc as follows:

--rules 'par=**'