xref: /linux/tools/testing/selftests/pstore/Makefile (revision 24bce201d79807b668bf9d9e0aca801c5c0d5f78)
1# SPDX-License-Identifier: GPL-2.0
2# Makefile for pstore selftests.
3# Expects pstore backend is registered.
4
5all:
6
7TEST_PROGS := pstore_tests pstore_post_reboot_tests
8TEST_FILES := common_tests pstore_crash_test
9EXTRA_CLEAN := logs/* *uuid
10
11include ../lib.mk
12
13run_crash:
14	@sh pstore_crash_test || { echo "pstore_crash_test: [FAIL]"; exit 1; }
15