diff options
author | Joern Engel <joern@logfs.org> | 2013-07-03 18:09:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 19:08:07 -0400 |
commit | 51a1d16563fb6488ae1f30d31f62abc6aa50b268 (patch) | |
tree | 41ae763e706690676168f189fbae0b56f8c2d62e /tools/testing/selftests/vm/Makefile | |
parent | 0786f7b225ba1edd801dc4bfbf6191d058b943a2 (diff) |
selftests: exit 1 on failure
In case this ever gets scripted, it should return 0 on success and 1 on
failure. Parsing the output should be left to meatbags.
Signed-off-by: Joern Engel <joern@logfs.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/testing/selftests/vm/Makefile')
-rw-r--r-- | tools/testing/selftests/vm/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/vm/Makefile b/tools/testing/selftests/vm/Makefile index 436d2e81868b..7d4792799043 100644 --- a/tools/testing/selftests/vm/Makefile +++ b/tools/testing/selftests/vm/Makefile | |||
@@ -8,7 +8,7 @@ all: hugepage-mmap hugepage-shm map_hugetlb thuge-gen | |||
8 | $(CC) $(CFLAGS) -o $@ $^ | 8 | $(CC) $(CFLAGS) -o $@ $^ |
9 | 9 | ||
10 | run_tests: all | 10 | run_tests: all |
11 | @/bin/sh ./run_vmtests || echo "vmtests: [FAIL]" | 11 | @/bin/sh ./run_vmtests || (echo "vmtests: [FAIL]"; exit 1) |
12 | 12 | ||
13 | clean: | 13 | clean: |
14 | $(RM) hugepage-mmap hugepage-shm map_hugetlb | 14 | $(RM) hugepage-mmap hugepage-shm map_hugetlb |