[all-commits] [llvm/llvm-project] e22fe9: [libc++] Make the %run substitution closer to how ...

Louis Dionne via All-commits all-commits at lists.llvm.org
Fri Mar 20 15:52:30 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e22fe98d059c37a605b85641f4ff8e285164ac3b
      https://github.com/llvm/llvm-project/commit/e22fe98d059c37a605b85641f4ff8e285164ac3b
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    A libcxx/test/libcxx/selftest/test.file_dependencies.sh.cpp
    M libcxx/utils/libcxx/test/config.py
    M libcxx/utils/libcxx/test/format.py
    M libcxx/utils/run.py

  Log Message:
  -----------
  [libc++] Make the %run substitution closer to how .pass.cpp tests are executed

Before this patch, the %run substitution did not contain the same
environment variables as normal `pass.cpp` tests. It also didn't
have the right working directory and the script wasn't aware of
potential file dependencies.

With this change, the combination of %build and %run in a .sh.cpp script
should match how pass.cpp tests are actually executed much more closely.




More information about the All-commits mailing list