Changeset ferringb@gmail.com-20070119041641-1vpbga8n0eutcji6 in releases/pkgcore-checks/0.2
- Timestamp:
- 01/19/07 04:16:41 (4 years ago)
- branch-nick:
- test-runner
- Files:
-
- 2 edited
-
NEWS (modified) (2 diffs)
-
pkgcore_checks/pcheck.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
NEWS
rferringb@gmail.com-20070116021847-rqhf3ku7vk0mla0a rferringb@gmail.com-20070119041641-1vpbga8n0eutcji6 9 9 use pcheck. 10 10 * test suite added; not yet complete coverage, but 90% of the way there. 11 * --list-checks was renamed to --describe-checks, and the output format 12 changed to be less terse. 11 * --list-checks output format is fair bit more human-readable now. 13 12 * better support for overlays (should work fine with appropriate commandline 14 13 options supplied) … … 16 15 * new checks can be added via pkgcore 0.2 plugins cache. 17 16 * UI improvements; color, and human readable output. 18 * --xml option was dropped, use --reporter= 17 * --xml option was dropped, use --reporter to specify the desired reporter, 18 and --list-reporters to see what reporters are available 19 19 * added --enable, --disable options to prune add/remove specific checks from 20 20 the run. -
pkgcore_checks/pcheck.py
rferringb@gmail.com-20070119034532-gba4ge6rczpqld83 rferringb@gmail.com-20070119041641-1vpbga8n0eutcji6 96 96 help='Specify the configuration suite to use') 97 97 self.add_option( 98 "-- describe-checks", action="store_true", default=False,98 "--list-checks", action="store_true", default=False, 99 99 help="print what checks are available to run and exit") 100 100 self.add_option( … … 102 102 help="Use a non-default reporter (defined in pkgcore's config).") 103 103 self.add_option( 104 '-- describe-reporters', action='store_true', default=False,104 '--list-reporters', action='store_true', default=False, 105 105 help="print known reporters") 106 106 … … 130 130 if values.describe_checks or values.describe_reporters: 131 131 if values.describe_reporters == values.describe_checks: 132 raise optparse.OptionValueError("-- describe-checks and "133 "-- describe-reporters are mutually exclusive options- "132 raise optparse.OptionValueError("--list-checks and " 133 "--list-reporters are mutually exclusive options- " 134 134 "one or the other.") 135 135 return values, () … … 229 229 if not func: 230 230 self.error("no reporter matches %r\n" 231 "please see -- describe-reporter for a list of "231 "please see --list-reporter for a list of " 232 232 "valid reporters" % values.reporter) 233 233 elif len(func) > 1:
Note: See TracChangeset
for help on using the changeset viewer.
