[all-commits] [llvm/llvm-project] d51f57: [libc++] Pickle substitutions to pass them to dsl....

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Oct 5 16:51:41 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d51f57c23ca95f4b9b383f0942fee2957d36fd4f
      https://github.com/llvm/llvm-project/commit/d51f57c23ca95f4b9b383f0942fee2957d36fd4f
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2021-10-05 (Tue, 05 Oct 2021)

  Changed paths:
    M libcxx/test/libcxx/selftest/dsl/dsl.sh.py
    M libcxx/test/libcxx/selftest/dsl/lit.local.cfg

  Log Message:
  -----------
  [libc++] Pickle substitutions to pass them to dsl.sh.py

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.

Differential Revision: https://reviews.llvm.org/D111179




More information about the All-commits mailing list