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>
14 lines
289 B
Makefile
14 lines
289 B
Makefile
# Makefile for vm selftests
|
|
|
|
CC = $(CROSS_COMPILE)gcc
|
|
CFLAGS = -Wall
|
|
|
|
all: hugepage-mmap hugepage-shm map_hugetlb thuge-gen
|
|
%: %.c
|
|
$(CC) $(CFLAGS) -o $@ $^
|
|
|
|
run_tests: all
|
|
@/bin/sh ./run_vmtests || (echo "vmtests: [FAIL]"; exit 1)
|
|
|
|
clean:
|
|
$(RM) hugepage-mmap hugepage-shm map_hugetlb
|