Specifically for: !tbaa, !tbaa.struct, !annotation, !srcloc, !nosanitize.
The goal is to avoid test brittleness caused by hardcoded values.
Differential D123273
[utils] Avoid hardcoding metadata ids in update_cc_test_checks jkorous on Apr 6 2022, 7:45 PM. Authored by
Details Specifically for: !tbaa, !tbaa.struct, !annotation, !srcloc, !nosanitize. The goal is to avoid test brittleness caused by hardcoded values.
Diff Detail
Unit Tests Event TimelineComment Actions Can you follow the pattern of how the tests for other update utils are written, by autogenerating the check lines, committing such a file, and comparing that newly-generated checlines don't differ? Comment Actions Sure, will do! I intended to keep the tests simple but understand the desire for consistency.
Comment Actions Hi @jkorous, 4 of the tests you added seem to be failing on the PS4 linux and Window buildbots, can you take a look, and revert if it might take a while to investigate? https://lab.llvm.org/buildbot/#/builders/139/builds/21573 Comment Actions Also fails on linux: https://lab.llvm.org/buildbot/#/builders/109/builds/38285 And on mac: http://45.33.8.238/macm1/35024/step_7.txt (On some platforms, the bot redness was masked by D124552 breaking the bots first.) But yes, please fix or revert. Comment Actions 4 of the tests fail on AIX also: https://lab.llvm.org/buildbot/#/builders/214/builds/1207 |
Style: Maybe realign the above again.