This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Simplify and improve FileSpecTest
ClosedPublic

Authored by labath on Nov 28 2019, 4:32 AM.

Details

Summary

A most of these tests create FileSpecs with a hardcoded style. Add
utility functions which create a file spec of a given style to simplify
things.

While in there add SCOPED_TRACE messages to tests which loop over
multiple inputs to ensure it's clear which of the inputs failed.

Diff Detail

Event Timeline

labath created this revision.Nov 28 2019, 4:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 28 2019, 4:32 AM
This revision is now accepted and ready to land.Nov 28 2019, 4:59 AM
This revision was automatically updated to reflect the committed changes.