[webkit-dev] Tagged assertions...

Said Abou-Hallawa sabouhallawa at apple.com
Thu Nov 6 12:34:05 PST 2014


When the logical expression in the ASSERT is changed, you should do the following:

-   ASSERT_TAG(condition, “abcde”);
+  ASSERT(new_condition);

Then the pre-build tagging tool will generate a new tag for the new assertion:

+  ASSERT(new_condition, “fghij”);

So the assertions do not get messed up with Bugzailla.

The pre-build tool runs periodically only on Bot, maybe once every day and only on the touched files since it was last run.  Then it commits only the changed files because of tagging.  This should not add much to the build process.

Both ASSERT and ASSERT_TAG should be supported.  Since the developer should only add ASSERT and leave the tagging for the pre-build tagging tool.



More information about the webkit-dev mailing list