Re: [PATCH 1/2] libperf tests: If a test fails return non-zero

2021-01-15 Thread Arnaldo Carvalho de Melo
Em Thu, Jan 14, 2021 at 10:02:49AM -0800, Ian Rogers escreveu: > If a test fails return -1 rather than 0. This is consistent with the > return value in test-cpumap.c Thanks, applied both patches. - Arnaldo > Signed-off-by: Ian Rogers > --- > tools/lib/perf/tests/test-cpumap.c| 2 +- > to

Re: [PATCH 1/2] libperf tests: If a test fails return non-zero

2021-01-15 Thread Jiri Olsa
On Thu, Jan 14, 2021 at 10:02:49AM -0800, Ian Rogers wrote: > If a test fails return -1 rather than 0. This is consistent with the > return value in test-cpumap.c > > Signed-off-by: Ian Rogers for the patchset Acked-by: Jiri Olsa thanks, jirka > --- > tools/lib/perf/tests/test-cpumap.c

[PATCH 1/2] libperf tests: If a test fails return non-zero

2021-01-14 Thread Ian Rogers
If a test fails return -1 rather than 0. This is consistent with the return value in test-cpumap.c Signed-off-by: Ian Rogers --- tools/lib/perf/tests/test-cpumap.c| 2 +- tools/lib/perf/tests/test-evlist.c| 2 +- tools/lib/perf/tests/test-evsel.c | 2 +- tools/lib/perf/tests/test-thr