[all-commits] [llvm/llvm-project] 4caf01: [clang][test] Rewrote test using command substitut...

Connie Zhu via All-commits all-commits at lists.llvm.org
Thu Aug 29 14:55:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4caf0196c042601b1c442a5726a157fead00ecc7
      https://github.com/llvm/llvm-project/commit/4caf0196c042601b1c442a5726a157fead00ecc7
  Author: Connie Zhu <60797237+connieyzhu at users.noreply.github.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    A clang/test/Modules/compare-file-size.py
    M clang/test/Modules/reduced-bmi-size.cppm

  Log Message:
  -----------
  [clang][test] Rewrote test using command substitution to work with lit internal shell syntax (#105902)

This patch rewrites a test that uses command substitution `$()` and the
`stat` command, which are not supported by lit's internal shell. Instead
of using this syntax to perform the file size comparison done in this
test, a Python script is used instead to perform the same operation.

Fixes https://github.com/llvm/llvm-project/issues/102384.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list