Re: [PATCH] selftests/pcie_bwctrl: Add "set_pcie_speed.sh" to TEST_PROGS

From: Bjorn Helgaas
Date: Tue Mar 04 2025 - 17:50:21 EST


On Fri, Feb 28, 2025 at 03:00:59PM +0800, Yi Lai wrote:
> The test shell script "set_pcie_speed.sh" is not installed in
> INSTALL_PATH. Attempting to execute set_pcie_cooling_state.sh shows
> warning:
>
> "
> ./set_pcie_cooling_state.sh: line 119: ./set_pcie_speed.sh: No such file or directory
> "
>
> Add "set_pcie_speed.sh" to TEST_PROGS.
>
> Fixes: 838f12c3d551 ("selftests/pcie_bwctrl: Create selftests")
> Signed-off-by: Yi Lai <yi1.lai@xxxxxxxxx>

Applied to pci/bwctrl for v6.15, thanks!

> ---
> tools/testing/selftests/pcie_bwctrl/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/testing/selftests/pcie_bwctrl/Makefile b/tools/testing/selftests/pcie_bwctrl/Makefile
> index 3e84e26341d1..48ec048f47af 100644
> --- a/tools/testing/selftests/pcie_bwctrl/Makefile
> +++ b/tools/testing/selftests/pcie_bwctrl/Makefile
> @@ -1,2 +1,2 @@
> -TEST_PROGS = set_pcie_cooling_state.sh
> +TEST_PROGS = set_pcie_cooling_state.sh set_pcie_speed.sh
> include ../lib.mk
> --
> 2.39.2
>