This is an archive of the discontinued LLVM Phabricator instance.

GTestFormat should find "*Test" in the source root
Needs ReviewPublic

Authored by samsonov on Jan 28 2013, 6:41 AM.

Details

Reviewers
chapuni
Summary

This patch makes llvm-lit test discoverer work correctly
if "test_sub_dir" attribute contains a "." subdirectory. This is
necessary to fix compiler-rt unittests after r173617.

Diff Detail

Event Timeline

I can see (and check) in the next morning. Please be patient.

Um, what morning do you mean?

Comments:

  1. I have a marginal preference for yielding from the getTestsInExecutable

iterator instead of collecting in a list.

  1. I am having trouble understanding what the code is trying to do, but I

now that I am reading the current version I don't understand it either, so
that is probably not a problem with the patch. If it fixes a problem with
compiler-rt and you tested with LLVM's unit tests then I am fine with it.

  • Daniel

Ok... I've fixed (1) and submitted this as r173907.

ddunbar resigned from this revision.Sep 1 2016, 8:21 PM
ddunbar removed a reviewer: ddunbar.