[all-commits] [llvm/llvm-project] dd64c8: [unittest] Allow LLVM unit test to run under a wra...

Haowei via All-commits all-commits at lists.llvm.org
Tue Oct 17 11:16:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dd64c82cbc9c69924b5c6df059e5b065fa29d185
      https://github.com/llvm/llvm-project/commit/dd64c82cbc9c69924b5c6df059e5b065fa29d185
  Author: Haowei <haowei at google.com>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

  Changed paths:
    M llvm/CMakeLists.txt
    M llvm/test/Unit/lit.cfg.py
    M llvm/test/Unit/lit.site.cfg.py.in

  Log Message:
  -----------
  [unittest] Allow LLVM unit test to run under a wrapper program. (#66821)

This patch add CMake option "LLVM_GTEST_RUN_UNDER" to LLVM unittest
configuration. When specified, LLVM unittest will be run under the
wrapper program specified by this option. This feature can simplify the
setup to run LLVM unittest on a target platform that is different than
host.




More information about the All-commits mailing list