aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/pstore/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/pstore/Makefile')
-rw-r--r--tools/testing/selftests/pstore/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/testing/selftests/pstore/Makefile b/tools/testing/selftests/pstore/Makefile
new file mode 100644
index 000000000000..bd7abe24ea08
--- /dev/null
+++ b/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