Move the implementation of --validate from bisect.pl to bisect-runner.pl
authorNicholas Clark <nick@ccl4.org>
Wed, 23 Nov 2011 20:39:06 +0000 (21:39 +0100)
committerNicholas Clark <nick@ccl4.org>
Wed, 23 Nov 2011 20:39:06 +0000 (21:39 +0100)
commitb826a648121a8e343f6443f27f2ab2b8eb6ac231
tree22dc596e52202ea8c7c15e2b47d786a4c8f979ea
parent32ffe018e175b241416715c9a888fd780c57c9f6
Move the implementation of --validate from bisect.pl to bisect-runner.pl

--validate sets a default testcase by assigning to @ARGV if its empty. It
makes more sense to do this in bisect-runner.pl, as that processes options
fully, unlike bisect.pl, which passes most through. Hence bisect.pl doesn't
know if some elements of @ARGV are actually options, and hence no testcase
has been supplied, and hence the default is needed.

This change permits the use of --validate with build options such as -D to
work as expected.
Porting/bisect-runner.pl
Porting/bisect.pl