From e30a73690664f751a5986004bc8487fa4eec7ed6 Mon Sep 17 00:00:00 2001 From: Jonathon Penix Date: Wed, 15 Apr 2026 17:14:52 -0700 Subject: [PATCH] [cpullvm] Add more explicit references to options for running tests To hopefully make it a bit more explicit how to run subsets of tests: 1. In building.md, add a reference to our developer documentation that has additional details. 2. In developing.md, add explicit examples of the types of components that can be used. Signed-off-by: Jonathon Penix --- qualcomm-software/docs/building.md | 2 ++ qualcomm-software/docs/developing.md | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/qualcomm-software/docs/building.md b/qualcomm-software/docs/building.md index 105c3f670302..24f2ac3d613b 100644 --- a/qualcomm-software/docs/building.md +++ b/qualcomm-software/docs/building.md @@ -105,6 +105,8 @@ To run all LLVM, eld, and library tests together, the below command may be used: ``` ninja check-all-llvm-toolchain ``` +Tests can also be run in smaller subsets, please refer to our [developer documentation](./developing.md#testing-the-toolchain) +for more information. ### Installing the toolchain diff --git a/qualcomm-software/docs/developing.md b/qualcomm-software/docs/developing.md index acdc158caa25..fe2b98511cc9 100644 --- a/qualcomm-software/docs/developing.md +++ b/qualcomm-software/docs/developing.md @@ -120,5 +120,10 @@ to test these components separately. A non-exhaustive list of `check-` targets C * `check-clang`, `check-llvm`, and the other usual LLVM `check-` targets are all still valid * `check-eld` works as usual * `check-llvm-toolchain-lit` runs only the built-in [multilib tests](../test/multilib/) -* `check-` targets (where component is ex: picolibc) will run any enabled tests for that component across all variants +* `check-` targets will run any enabled tests for that component across all variants * `check--` targets will run the given component tests for the specified variant + +Example (non-exhaustive) components that can be used in the commands above: +* `compiler-rt` +* `picolibc` (or the name of the C library selected if different) +* `cxx`/`cxxabi`/`unwind`