Skip to content

Commit 39e703e

Browse files
ij-intelbjorn-helgaas
authored andcommitted
selftests/pcie_bwctrl: Fix test progs list
Commit df6f8c4 ("selftests/pcie_bwctrl: Add 'set_pcie_speed.sh' to TEST_PROGS") added set_pcie_speed.sh into TEST_PROGS but that script is a helper that is only being called by set_pcie_cooling_state.sh, not a test case itself. When set_pcie_speed.sh is in TEST_PROGS, selftest harness will execute also it leading to bwctrl selftest errors: # selftests: pcie_bwctrl: set_pcie_speed.sh # cat: /cur_state: No such file or directory not ok 2 selftests: pcie_bwctrl: set_pcie_speed.sh # exit=1 Place set_pcie_speed.sh into TEST_FILES instead to have it included into installed test files but not execute it from the test harness. Fixes: df6f8c4 ("selftests/pcie_bwctrl: Add 'set_pcie_speed.sh' to TEST_PROGS") Signed-off-by: Ilpo Järvinen <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Cc: [email protected] Link: https://patch.msgid.link/[email protected]
1 parent a34d748 commit 39e703e

File tree

1 file changed

+2
-1
lines changed
  • tools/testing/selftests/pcie_bwctrl

1 file changed

+2
-1
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
TEST_PROGS = set_pcie_cooling_state.sh set_pcie_speed.sh
1+
TEST_PROGS = set_pcie_cooling_state.sh
2+
TEST_FILES = set_pcie_speed.sh
23
include ../lib.mk

0 commit comments

Comments
 (0)