[cfe-dev] Clang tests are using "clang-scan-deps" from host system?

Ben Boeckel via cfe-dev cfe-dev at lists.llvm.org
Thu Jul 29 14:14:07 PDT 2021


On Thu, Jul 29, 2021 at 11:04:34 -0700, Xun Li via cfe-dev wrote:
> Sorry, to clarify, I double checked, it seems like in the test is it
> somehow able to correctly associate the tool to the one from the build
> dir, but just not printing out the absolute path.
> So I guess it uses the search path in the environment variable when
> running the test?
> Still, I think we should be consistent on using absolute path (so that
> it's easier to rerun the commands manually).

It sounds like something is passing around `clang-scan-deps` when it
should be `$<TARGET_FILE:clang-scan-deps>` in the CMake code (complete
guess, not having looked at the test declarations).

--Ben


More information about the cfe-dev mailing list