Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion lnt/tests/test_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,8 @@ def _build(self, path):
'--build', '.',
'-t', target,
'-j', str(self._build_threads())] +
([] if self.opts.succinct else ["-v"]),
([] if self.opts.succinct else ["-v"]) +
["--"] + shlex.split(self.opts.build_tool_options),
cwd=subdir)
except subprocess.CalledProcessError:
# cmake is expected to exit with code 1 if there was any build
Expand Down Expand Up @@ -1168,6 +1169,9 @@ def diagnose(self):
@click.option("--use-make", "make", metavar="PATH",
type=click.UNPROCESSED,
help="Path to the build system tool [make/ninja/...]")
@click.option("--build-tool-options",
help="Options to pass to the build tool (ninja/make/etc.).",
type=click.UNPROCESSED)
@click.option("--use-lit", "lit", metavar="PATH", type=click.UNPROCESSED,
default="llvm-lit",
help="Path to the LIT test runner [llvm-lit]")
Expand Down