projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libperf tests: If a test fails return non-zero
[linux-2.6-microblaze.git]
/
tools
/
lib
/
perf
/
tests
/
test-cpumap.c
diff --git
a/tools/lib/perf/tests/test-cpumap.c
b/tools/lib/perf/tests/test-cpumap.c
index
c8d4509
..
c70e9e0
100644
(file)
--- a/
tools/lib/perf/tests/test-cpumap.c
+++ b/
tools/lib/perf/tests/test-cpumap.c
@@
-27,5
+27,5
@@
int main(int argc, char **argv)
perf_cpu_map__put(cpus);
__T_END;
- return
0
;
+ return
tests_failed == 0 ? 0 : -1
;
}