xref: /linux/tools/testing/selftests/pstore/Makefile (revision 253f68f413a87a4e2bd93e61b00410e5e1b7b774)
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