diff options
author | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2025-04-17 15:45:29 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-04-18 08:23:22 -0500 |
commit | 39e703ed3b48c4262be141072d4f42a8b89a10cc (patch) | |
tree | 81958ab18cea3918fd046ee7584220e76f55ab10 /tools/perf/scripts/python/stat-cpi.py | |
parent | a34d74877c66ce484ad586d806002ceaedd58657 (diff) | |
download | linux-39e703ed3b48c4262be141072d4f42a8b89a10cc.tar.gz linux-39e703ed3b48c4262be141072d4f42a8b89a10cc.tar.bz2 linux-39e703ed3b48c4262be141072d4f42a8b89a10cc.zip |
selftests/pcie_bwctrl: Fix test progs list
Commit df6f8c4d72ae ("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: df6f8c4d72ae ("selftests/pcie_bwctrl: Add 'set_pcie_speed.sh' to TEST_PROGS")
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20250417124529.11391-1-ilpo.jarvinen@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions