aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/subcmd/help.c
diff options
context:
space:
mode:
authorCollin Funk <[email protected]>2025-06-28 03:41:25 +0000
committerNamhyung Kim <[email protected]>2025-06-30 16:43:06 +0000
commit114339ee4d66a328d186264ffa23a766542a9a15 (patch)
treef3d373a0e69fd707ed6c3e53eca1137a72345dbc /tools/lib/subcmd/help.c
parentperf test annotate: Use --percent-limit rather than head to reduce output (diff)
downloadkernel-114339ee4d66a328d186264ffa23a766542a9a15.tar.gz
kernel-114339ee4d66a328d186264ffa23a766542a9a15.zip
perf build: Specify shellcheck should use bash
When someone has a global shellcheckrc file, for example at ~/.config/shellcheckrc, with the directive 'shell=sh', building perf will fail with many shellcheck errors like: In tests/shell/base_probe/test_adding_kernel.sh line 294: (( TEST_RESULT += $? )) ^---------------------^ SC3006 (warning): In POSIX sh, standalone ((..)) is undefined. For more information: https://www.shellcheck.net/wiki/SC3006 -- In POSIX sh, standalone ((..)) is... make[5]: *** [tests/Build:91: tests/shell/base_probe/test_adding_kernel.sh.shellcheck_log] Error 1 Passing the '-s bash' option ensures that it runs correctly regardless of a developers global configuration. This patch adds '-s bash' and other options to the SHELLCHECK variable in Makefile.perf and makes use of the variable consistently. Signed-off-by: Collin Funk <[email protected]> Link: https://lore.kernel.org/r/63491dbc8439edf2e949d80e264b9d22332fea61.1751082075.git.collin.funk1@gmail.com Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/lib/subcmd/help.c')
0 files changed, 0 insertions, 0 deletions