This is an archive of the discontinued LLVM Phabricator instance.

[lit] Move the recursiveExpansionLimit setting to TestingConfig
ClosedPublic

Authored by ldionne on Apr 3 2020, 10:13 AM.

Details

Reviewers
yln
delcypher
Group Reviewers
Restricted Project
Restricted Project
Commits
rG8a42bf24ae99: [lit] Move the recursiveExpansionLimit setting to TestingConfig
Summary

The LitConfig is shared across the whole test suite. However, since
enabling recursive expansion can be a breaking change for some test
suites, it's important to confine the setting to test suites that
enable it explicitly.

Note that other issues were raised with the way recursiveExpansionLimit
operates. However, this commit simply moves the setting to the right
place -- the mechanism by which it works can be improved independently.

Diff Detail

Event Timeline

ldionne created this revision.Apr 3 2020, 10:13 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptApr 3 2020, 10:13 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne accepted this revision as: Restricted Project, Restricted Project.Apr 3 2020, 10:13 AM
ldionne added reviewers: yln, delcypher.

Like I mentioned in the commit message, this simply fixes the place where the recursiveExpansionLimit is set. Regardless of that, I still plan to explore addressing concerns raised in https://reviews.llvm.org/D76178, which is somewhat orthogonal.

Accepting for libc++ and libc++abi.

yln accepted this revision.Apr 3 2020, 12:27 PM
yln added inline comments.
llvm/docs/CommandGuide/lit.rst
457–460

Can we stash these changes until we decided how to deal with prefix matching?

460–463

Typo: "on top of"

This revision is now accepted and ready to land.Apr 3 2020, 12:27 PM
ldionne marked 2 inline comments as done.Apr 6 2020, 10:46 AM
This revision was automatically updated to reflect the committed changes.