Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Looks like an acceptable incremental improvement, but perhaps it could be improved further if the generator be setup in the SetUp function and failing that function could implicitly skip tests covered by it, and similar for other tests/setup operations like initializing the MachineRegisterInfo, etc?
Comment Actions
TBH, I do not see much profit in that change. Only DWARFExpressionCopyBytesTest and DWARFExpressionCompactPrinterTest can be easily updated, but they already have one common test method each, so moving the check into a setup method would not be a visible improvement. Other places pass custom parameters to the initializer, so reorganizing them requires much more effort, but the outcome would be elusive.