summaryrefslogtreecommitdiff
path: root/tools/lib/perf/tests/test-evlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/perf/tests/test-evlist.c')
-rw-r--r--tools/lib/perf/tests/test-evlist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/perf/tests/test-evlist.c b/tools/lib/perf/tests/test-evlist.c
index 220a95be47c3..e2ac0b7f432e 100644
--- a/tools/lib/perf/tests/test-evlist.c
+++ b/tools/lib/perf/tests/test-evlist.c
@@ -214,6 +214,7 @@ static int test_mmap_thread(void)
sysfs__mountpoint());
if (filename__read_int(path, &id)) {
+ tests_failed++;
fprintf(stderr, "error: failed to get tracepoint id: %s\n", path);
return -1;
}