[webkit-dev] Testing changes to CodeGenerator*.pm

Adam Barth abarth at webkit.org
Mon Apr 26 22:06:45 PDT 2010

People of webkit-dev:

We now have a testing harness in place for CodeGeneratorJS.pm and
friends.  If you make changes to CodeGenerator*.pm, please test your
change using the following command:

~/git/webkit$ ./WebKitTools/Scripts/run-bindings-tests

If you add a new feature to CodeGenerator*.pm, please exercise that
feature by adding a declaration in our test IDL file:


If your patch changes the expected results, you can generate new
results as follows:

~/git/webkit$ ./WebKitTools/Scripts/run-bindings-tests --overwrite

That way folks can review the change to the expected results along
side your change to the generator.

Happy code generation hacking!

More information about the webkit-dev mailing list