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