aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/dotest.py
diff options
context:
space:
mode:
authorStefan Gränitz <stefan.graenitz@gmail.com>2024-10-10 12:55:31 +0200
committerGitHub <noreply@github.com>2024-10-10 12:55:31 +0200
commit0e913237871e8c9290e82be30be8b3484952eee0 (patch)
tree23b63722a3f510dbec9cebee4c928ecd8148198e /lldb/packages/Python/lldbsuite/test/dotest.py
parent3645c64d87a0e4576c1195281efa005e90b529b7 (diff)
downloadllvm-0e913237871e8c9290e82be30be8b3484952eee0.zip
llvm-0e913237871e8c9290e82be30be8b3484952eee0.tar.gz
llvm-0e913237871e8c9290e82be30be8b3484952eee0.tar.bz2
[lldb] Add early CMake check for 'make' tool (#111531)
Many LLDB's dotest.py based tests require the `make` tool. If it's not found in Path, they fail with an obscure error and show up as `UNRESOLVED`. On Windows, llvm-lit takes care of MSYS based testing tools like cat, printf, etc., but `make` is not part of that. Let's catch the situation early and check for it at configuration time. This error isn't fatal: It should fail the build, but not immediately stop the configuration process. There might be other issues further down the line that can be caught in the same buildbot run.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/dotest.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py
index b1ae896..681ea16 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest.py
@@ -268,10 +268,6 @@ def parseOptionsAndInitTestdirs():
if args.make:
configuration.make_path = args.make
- elif platform_system == "FreeBSD" or platform_system == "NetBSD":
- configuration.make_path = "gmake"
- else:
- configuration.make_path = "make"
if args.dsymutil:
configuration.dsymutil = args.dsymutil