diff options
author | Joern Engel <joern@logfs.org> | 2013-07-03 15:09:17 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 16:08:07 -0700 |
commit | 51a1d16563fb6488ae1f30d31f62abc6aa50b268 (patch) | |
tree | 41ae763e706690676168f189fbae0b56f8c2d62e /tools/testing/selftests/vm/Makefile | |
parent | 0786f7b225ba1edd801dc4bfbf6191d058b943a2 (diff) | |
download | op-kernel-dev-51a1d16563fb6488ae1f30d31f62abc6aa50b268.zip op-kernel-dev-51a1d16563fb6488ae1f30d31f62abc6aa50b268.tar.gz |
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 436d2e8..7d47927 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 $(CC) $(CFLAGS) -o $@ $^ run_tests: all - @/bin/sh ./run_vmtests || echo "vmtests: [FAIL]" + @/bin/sh ./run_vmtests || (echo "vmtests: [FAIL]"; exit 1) clean: $(RM) hugepage-mmap hugepage-shm map_hugetlb |