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