aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2022-10-20 10:26:43 -0700
committerArnaldo Carvalho de Melo <[email protected]>2022-10-27 16:37:26 -0300
commit8b380e6afd124d18cd51a43d2505e4eb05e2ba09 (patch)
tree82a17322ff73f00af0cfc87e1e94d9c143a4001e /lib/memory-notifier-error-inject.c
parent7f4ed3f0b1fc951bcb91a78bf68ac45aac13ec0b (diff)
perf test: Do not set TEST_SKIP for record subtests
It now has 4 sub tests and at least one of them should run. But once the TEST_SKIP (= 2) return value is set, it won't be overwritten unless there's a failure. I think we should return success when one or more tests are skipped but the remaining subtests are passed. So update the test code not to set the err variable when it skips the test. Reviewed-by: Adrian Hunter <[email protected]> Signed-off-by: Namhyung Kim <[email protected]> Acked-by: Ian Rogers <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions