Skip to content
Commit 41204da4 authored by Carsten Haitzler's avatar Carsten Haitzler Committed by Arnaldo Carvalho de Melo
Browse files

perf test: Shell - Limit to only run executable scripts in tests



'perf test''s shell runner will just run everything in the tests
directory (as long as it's not another directory or does not begin
with a dot), but sometimes you find files in there that are not shell
scripts - perf.data output for example if you do some testing and then
the next time you run perf test it tries to run these.

Check the files are executable so they are actually intended to be test
scripts and not just some "random junk" files there.

Signed-off-by: default avatarCarsten Haitzler <carsten.haitzler@arm.com>
Reviewed-by: default avatarLeo Yan <leo.yan@linaro.org>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: Mike Leach <mike.leach@linaro.org>
Cc: Suzuki Poulouse <suzuki.poulose@arm.com>
Cc: coresight@lists.linaro.org
Link: http://lore.kernel.org/lkml/20220309122859.31487-1-carsten.haitzler@foss.arm.com


Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent ae24e9b5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment