[all-commits] [llvm/llvm-project] 78e266: [libc++] Allow picking Lit parameters from the config

Louis Dionne via All-commits all-commits at lists.llvm.org
Wed Jun 10 05:02:31 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 78e266efaba64fee2c527bfe5328af2088a3483f
      https://github.com/llvm/llvm-project/commit/78e266efaba64fee2c527bfe5328af2088a3483f
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-06-10 (Wed, 10 Jun 2020)

  Changed paths:
    M libcxx/test/libcxx/selftest/dsl/dsl.sh.py
    M libcxx/utils/libcxx/test/dsl.py

  Log Message:
  -----------
  [libc++] Allow picking Lit parameters from the config

Unlike parameters in litConfig.params, the config isn't shared across
all test suites. For example, if we want to enable exceptions in the
tests for libcxxabi, but not in the tests for libcxx, we can't set the
enable_exceptions parameter in the litConfig object, cause it will be
used by both. Instead, setting it inside the config object solves that
problem.




More information about the All-commits mailing list