[all-commits] [llvm/llvm-project] 030ac7: [Orc][examples] Add lit ToolSubst for LLJITWithRem...
Stefan Gränitz via All-commits
all-commits at lists.llvm.org
Wed Apr 7 00:47:53 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 030ac786d4ff3540b414172810f0a92ece3ca81c
https://github.com/llvm/llvm-project/commit/030ac786d4ff3540b414172810f0a92ece3ca81c
Author: Stefan Gränitz <stefan.graenitz at gmail.com>
Date: 2021-04-07 (Wed, 07 Apr 2021)
Changed paths:
M llvm/test/lit.cfg.py
Log Message:
-----------
[Orc][examples] Add lit ToolSubst for LLJITWithRemoteDebugging example
The test case added in 258f055ed936 was lacking two important details for the test infrastructure. ae217bf1f327 added the executable to LLVM_TEST_DEPENDS in CMake to make sure the exectubale gets built before we run the test suite. This patch adds a ToolSubst for the executable in LIT, which replaces the tool invokation in the RUN line with an absolute path. It makes sure we don't run accidentally run some other tool from the user's PATH. The test works without it in case LLVM's main binary directory happens to be the working directory (which is default apparently). Configurations that don't build the examples ignore failures for this ToolSubst (and won't run the test).
Reviewed By: echristo
Differential Revision: https://reviews.llvm.org/D99931
More information about the All-commits
mailing list