summaryrefslogtreecommitdiffstats
path: root/kernel/tools/testing/selftests/pstore/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/tools/testing/selftests/pstore/Makefile')
-rw-r--r--kernel/tools/testing/selftests/pstore/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/kernel/tools/testing/selftests/pstore/Makefile b/kernel/tools/testing/selftests/pstore/Makefile
new file mode 100644
index 000000000..bd7abe24e
--- /dev/null
+++ b/kernel/tools/testing/selftests/pstore/Makefile
@@ -0,0 +1,15 @@
+# Makefile for pstore selftests.
+# Expects pstore backend is registered.
+
+all:
+
+TEST_PROGS := pstore_tests pstore_post_reboot_tests
+TEST_FILES := common_tests pstore_crash_test
+
+include ../lib.mk
+
+run_crash:
+ @sh pstore_crash_test || { echo "pstore_crash_test: [FAIL]"; exit 1; }
+
+clean:
+ rm -rf logs/* *uuid