Skip to contentSkip to conversation

selftests/pcie_bwctrl: Add "set_pcie_speed.sh" to TEST_PROGS

PATCH Applied Yi Lai 2 participants 2 messages Feb 28, 2025 – Mar 4, 2025

Subsystems (3)
lore
Share & tools
lore

Yi Lai

author
#0 lore raw

PATCH 1/1 selftests/pcie_bwctrl: Add "set_pcie_speed.sh" to TEST_PROGS

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")
---
 tools/testing/selftests/pcie_bwctrl/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/pcie_bwctrl/Makefile +1 -1
index 3e84e26341d1..48ec048f47af 100644
@@ -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
Signature · 1 line
2.39.2
#1 lore raw
Quoted 4 lines · Yi Lai

The test shell script "set_pcie_speed.sh" is not installed in INSTALL_PATH. Attempting to execute set_pcie_cooling_state.sh shows warning:

Quoted 8 lines

"
./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")

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

Quoted 15 lines
---
 tools/testing/selftests/pcie_bwctrl/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/pcie_bwctrl/Makefile +1 -1
index 3e84e26341d1..48ec048f47af 100644
@@ -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
Signature · 1 line
2.39.2