linux/tools/testing/selftests/soft-dirty/Makefile
Pavel Emelyanov 58c7be84fe selftest: add simple test for soft-dirty bit
It creates a mapping of 3 pages and checks that reads, writes and
clear-refs result in present and soft-dirt bits reported from pagemap2
set as expected.

[akpm@linux-foundation.org: alphasort the Makefile TARGETS to reduce rejects]
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-04-30 17:04:01 -07:00

11 lines
186 B
Makefile

CFLAGS += -iquote../../../../include/uapi -Wall
soft-dirty: soft-dirty.c
all: soft-dirty
clean:
rm -f soft-dirty
run_tests: all
@./soft-dirty || echo "soft-dirty selftests: [FAIL]"