perf test: Pass the verbose option to shell tests
authorIan Rogers <irogers@google.com>
Mon, 21 Jun 2021 21:56:46 +0000 (14:56 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 22 Jun 2021 17:52:09 +0000 (14:52 -0300)
commite3c9cfd07dcbc9ae4208c17813998ce6f08e88df
tree38a044617e0915d8a96d600bf5f926ec4bea8a11
parentce09673636f9581d2e2e24af785c463c030a1fd8
perf test: Pass the verbose option to shell tests

Having a verbose option will allow shell tests to provide extra failure
details when the fail or skip.

Committer notes:

Keep the 'script' variable at PATH_MAX, as its just something we'll pass
to system(), not really a "path", so being arbitrary, reduce the patch
size by not adding the three extra bytes to the 'script' variable.

Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Song Liu <songliubraving@fb.com>
Cc: bpf@vger.kernel.org
Link: http://lore.kernel.org/lkml/20210621215648.2991319-1-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/builtin-test.c