diff options
Diffstat (limited to 'tools/lib/perf/tests/test-threadmap.c')
-rw-r--r-- | tools/lib/perf/tests/test-threadmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/perf/tests/test-threadmap.c b/tools/lib/perf/tests/test-threadmap.c index 7dc4d6fbedde..384471441b48 100644 --- a/tools/lib/perf/tests/test-threadmap.c +++ b/tools/lib/perf/tests/test-threadmap.c @@ -27,5 +27,5 @@ int main(int argc, char **argv) perf_thread_map__put(threads); __T_END; - return 0; + return tests_failed == 0 ? 0 : -1; } |