stephenfewer / grinder

Grinder is a system to automate the fuzzing of web browsers and the management of a large number of crashes.
BSD 3-Clause "New" or "Revised" License
414 stars 131 forks source link

Support config.rb testcase default options #36

Closed wchen-r7 closed 10 years ago

wchen-r7 commented 10 years ago

The testcase.rb script does not actually load config.rb's $testcase_opts, because looks like the merge method in testcase.rb's run() is used incorrectly.

stephenfewer commented 10 years ago

Thanks for the report. @opts is intended to take precedence over the $testcase_opts. This is because $testcase_opts is static and set from the config.rb file while @opts can be changed via the command line in testcase.rb (so you dont need to edit the config file).

Closing this ticket as I think the current behavior is correct.