Lines Matching +full:- +full:- +full:revert
4 This is a generic fuzz testing tool, see --help for more information.
38 position -= n
52 index -= 1
58 index -= 1
65 index -= 1
92 def revert(self): member in TestApplication
170 $ %prog --file foo.txt ./test.sh
180 '--no-revert'. Generally this is used with '--test <index>' to run one failing
188 'index' - the test index being run
189 'inputs' - the full list of test inputs
190 'picked_input' - (with --pick-input) the selected input file
191 'picked_input_pos' - (with --pick-input) the selected input position
192 'picked_input_line' - (with --pick-input) the selected input line
193 'picked_input_col' - (with --pick-input) the selected input column
196 run. You can limit the number of tests that are run with '--max-tests <number>',
197 and you can run a particular test with '--test <index>'.
199 You can specify '--stop-on-fail' to stop the script on the first failure
203 parser.add_option("-v", "--verbose", help="Show more output",
205 parser.add_option("-s", "--succinct", help="Reduce amount of output",
209 group.add_option("", "--expected-exit-code", help="Set expected exit code",
212 group.add_option("", "--extra-exit-code",
216 group.add_option("", "--log-dir",
220 group.add_option("", "--log-all",
226 group.add_option("", "--file", metavar="PATH",
229 group.add_option("", "--filelist", metavar="LIST",
235 group.add_option("", "--replacement-chars", dest="replacement_chars",
238 group.add_option("", "--replacement-string", dest="replacement_strings",
241 group.add_option("", "--replacement-list", dest="replacement_lists",
244 group.add_option("", "--no-delete", help="Don't delete characters",
246 group.add_option("", "--no-insert", help="Don't insert strings",
248 group.add_option("", "--no-replace", help="Don't replace strings",
250 group.add_option("", "--no-revert", help="Don't revert changes",
251 action='store_false', dest="revert", default=True)
252 group.add_option("", "--stop-on-fail", help="Stop on first failure",
257 group.add_option("", "--test", help="Run a particular test",
259 group.add_option("", "--max-tests", help="Maximum number of tests",
261 group.add_option("", "--pick-input",
308 ln = ln[:-1]
341 opts.revert = False
344 if opts.revert:
345 ta.revert()