This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Pickle substitutions to pass them to dsl.sh.py
ClosedPublic

Authored by ldionne on Oct 5 2021, 1:35 PM.

Details

Reviewers
ldionne
Group Reviewers
Restricted Project
Commits
rGd51f57c23ca9: [libc++] Pickle substitutions to pass them to dsl.sh.py
Summary

This is less brittle than hand-picking the substitutions that we
pass to the test, since a config could theorically use non-base
substitutions as well (such as defining %{flags} in terms of another
substitution like %{include}).

Also, print the decoded substitutions, which makes it much easier
to debug the test when it fails.

Diff Detail

Event Timeline

ldionne requested review of this revision.Oct 5 2021, 1:35 PM
ldionne created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptOct 5 2021, 1:35 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne updated this revision to Diff 377345.Oct 5 2021, 1:51 PM
ldionne retitled this revision from [libc++] Print the decoded version of substitutions in dsl.sh.py to [libc++] Pickle substitutions to pass them to dsl.sh.py.
ldionne edited the summary of this revision. (Show Details)

Pickle substitutions

ldionne accepted this revision.Oct 5 2021, 4:51 PM
This revision is now accepted and ready to land.Oct 5 2021, 4:51 PM
This revision was automatically updated to reflect the committed changes.