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