Because determinePassedConfiguration modifies @ARGV.
Created attachment 47818 [details] Patch v1
This seems like a systemic problem with our perl code.
Comment on attachment 47818 [details] Patch v1 Doesn't webkitdirs.pm already have a function to return args like this? It must. How does run-webkit-tests --debug know to call build-dumprendertree with --debug otherwise?
Created attachment 48967 [details] Patch v2
True. Thanks for the nice suggestion!
Comment on attachment 48967 [details] Patch v2 LGTM. I'm not an expert on our perl code, however.
Comment on attachment 48967 [details] Patch v2 Clearing flags on attachment: 48967 Committed r54947: <http://trac.webkit.org/changeset/54947>
All reviewed patches have been landed. Closing bug.