This is the mail archive of the frysk@sources.redhat.com mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

New funit options.


I've added a couple of options to funit:

 -o, -omit <test-spec>           Specify a test to omit.  Each passed
option will be interpreted as the regex specification of a test to
omit.  This option may be used multiple times.

  -i, -include <test-spec>        Specify a test to include, ovirriding
an omit specification.  Each passed option will be interpreted as the
regex specification of a test to include.  This option may be used
multiple times.


This lets you do stuff like ./funit -o ".*TestExec" to kill tests that
are hanging, or some such naughty behaviour.  Using the -i switch, you
can do stuff like ./funit -o '.*' -i ".*\.sys\..*" to first omit all
tests then selectively include specific ones like, in this case, all the
*.sys.* tests.  Multiple -i and -o switches can be specified--the
effects are cumulative.  Regardless of the order in which -i and -o
switches are specified, the result will be the same: a -i <spec> will
always override a matching -o <spec>

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]