[all-commits] [llvm/llvm-project] c9bfe0: [lldb/test] Fix TestScriptedProcess.py failures on...

Med Ismail Bennani via All-commits all-commits at lists.llvm.org
Tue Nov 7 23:24:21 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c9bfe0411f1d3f1f7261675e972bf223f9167548
      https://github.com/llvm/llvm-project/commit/c9bfe0411f1d3f1f7261675e972bf223f9167548
  Author: Med Ismail Bennani <ismail at bennani.ma>
  Date:   2023-11-07 (Tue, 07 Nov 2023)

  Changed paths:
    M lldb/test/API/functionalities/scripted_process/Makefile

  Log Message:
  -----------
  [lldb/test] Fix TestScriptedProcess.py failures on arm linux bots

This patch tentatively fixes TestScriptedProcess.py which has been
failing on the `lldb-arm-ubuntu` & `lldb-aarch64-ubuntu` bots:

- https://lab.llvm.org/buildbot/#/builders/17/builds/44965
- https://lab.llvm.org/buildbot/#/builders/96/builds/48152

According to the test log, on those systems, the clang driver that build
the test binary doesn't have the `-m` flag to specify the architure so
this patch replaces it with the `-target` flag using `clang -dumpmachine`
to get the host triple.

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>




More information about the All-commits mailing list