Add option to skip tests: One problem that LTP has long suffered is that certain tests are known to be broken, sometimes for long periods of time.  In an ideal world, I think it best that these should be skipped, or at least removed from the default list of tests to run, but this isn't always practical due to a number of reasons.  Of course, another option is that a 'whitelist' of tests to run can be created and passed to runltp, but this becomes hard to maintain as there are often new tests that you may want to keep up with, and with each release of LTP, the list would have to be reexamined. So I wanted to see what people thought about a simple option, -S, to specify a list of tests that you want to blacklist from the current run. This is handy if you have an automated testing environment with an architecture that doesn't always get great attention and a list of tests that you know to be broken on that arch. The skipfile is simply a list of test names, one per line. Add a -S option to runltp that allows the user to specify a SKIPFILE of tests to skip. Signed-off-by: Paul Larson <paul.larson@canonical.com>.
1 file changed