summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/soft-dirty/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/soft-dirty/Makefile')
-rw-r--r--tools/testing/selftests/soft-dirty/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/testing/selftests/soft-dirty/Makefile b/tools/testing/selftests/soft-dirty/Makefile
new file mode 100644
index 000000000000..a9cdc823d6e0
--- /dev/null
+++ b/tools/testing/selftests/soft-dirty/Makefile
@@ -0,0 +1,10 @@
+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]"