Add the clar flags to produce JUnit-style XML output before invocation. (cherry picked from commit fff33a1b)