mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 23:53:55 +08:00
80d443e887
Some testcases need the clean extra data after running. This patch introduce the "EXTRA_CLEAN" variable to address this requirement. After KBUILD_OUTPUT is enabled in later patch, it will be easy to decide to if we need do the cleanup in the KBUILD_OUTPUT path(if the testcase ran immediately after compiled). Signed-off-by: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
14 lines
308 B
Makefile
14 lines
308 B
Makefile
# Makefile for pstore selftests.
|
|
# Expects pstore backend is registered.
|
|
|
|
all:
|
|
|
|
TEST_PROGS := pstore_tests pstore_post_reboot_tests
|
|
TEST_FILES := common_tests pstore_crash_test
|
|
EXTRA_CLEAN := logs/* *uuid
|
|
|
|
include ../lib.mk
|
|
|
|
run_crash:
|
|
@sh pstore_crash_test || { echo "pstore_crash_test: [FAIL]"; exit 1; }
|