1*b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 2cc04a46fSHiraku Toyooka# Makefile for pstore selftests. 3cc04a46fSHiraku Toyooka# Expects pstore backend is registered. 4cc04a46fSHiraku Toyooka 5cc04a46fSHiraku Toyookaall: 6cc04a46fSHiraku Toyooka 7f615e2bbSHiraku ToyookaTEST_PROGS := pstore_tests pstore_post_reboot_tests 8f615e2bbSHiraku ToyookaTEST_FILES := common_tests pstore_crash_test 980d443e8Sbamvor.zhangjian@huawei.comEXTRA_CLEAN := logs/* *uuid 10cc04a46fSHiraku Toyooka 11cc04a46fSHiraku Toyookainclude ../lib.mk 12cc04a46fSHiraku Toyooka 13f615e2bbSHiraku Toyookarun_crash: 14f615e2bbSHiraku Toyooka @sh pstore_crash_test || { echo "pstore_crash_test: [FAIL]"; exit 1; } 15