This is an archive of the discontinued LLVM Phabricator instance.

Hook lit up in LLDB so it can run LLDB's unit tests
AbandonedPublic

Authored by zturner on Mar 12 2015, 3:24 PM.

Details

Reviewers
None
Summary

This patch piggyback's off the previous 2 patches to get lit up and running.

LLDB doesn't actually have any lit tests, so our configuration is simpler than usual. All this does right now is create a unit tests folder with a config for running unit tests, and hook this up to the CMake by way of an lldb-check-unit target.

When you run ninja check-lldb-unit, it now runs all the unit tests.

Diff Detail

Event Timeline

zturner updated this revision to Diff 21882.Mar 12 2015, 3:24 PM
zturner retitled this revision from to Hook lit up in LLDB so it can run LLDB's unit tests.
zturner updated this object.
zturner edited the test plan for this revision. (Show Details)
zturner added a reviewer: chandlerc.
zturner added a subscriber: Unknown Object (MLST).

By the way, this is some serious black magic. I just closed my eyes and mashed buttons until it worked. So I may very well have done something wrong.

chandlerc resigned from this revision.Apr 14 2015, 6:23 AM
chandlerc removed a reviewer: chandlerc.

I'm taking myself off the review here as I don't think you should be blocked on me, I'm headed off on vacation, and I don't think I'm uniquely suited to review this. Maybe Reid or others can help here.

zturner abandoned this revision.Oct 15 2015, 1:54 PM