This is an archive of the discontinued LLVM Phabricator instance.

documentation: update test.rst
ClosedPublic

Authored by lawrence_danna on Sep 23 2019, 5:51 PM.

Details

Summary

The testing documentation appears to be from an era when the only
kind of tests were the lldbsuite python tests. This patch adds
a short description of the unittests and LIT tests and how to run them.

Diff Detail

Repository
rL LLVM

Event Timeline

lawrence_danna created this revision.Sep 23 2019, 5:51 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 23 2019, 5:51 PM
JDevlieghere accepted this revision.Sep 23 2019, 8:30 PM
JDevlieghere added inline comments.
lldb/docs/resources/test.rst
126 ↗(On Diff #221450)

Another alternative worth mentioning is using --filter. You can point lit to the root of the lit tests and run one or more tests that match the given substring.

> ./bin/llvm-lit -sv tools/lldb/lit --filter CommandScriptImmediateOutput
This revision is now accepted and ready to land.Sep 23 2019, 8:30 PM
labath accepted this revision.Sep 24 2019, 12:47 AM

This should have been done a long time ago, thanks for taking care of that.

added note about passing --filter to lit

This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptSep 24 2019, 5:57 PM