aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/kexec/Makefile
diff options
context:
space:
mode:
authorMimi Zohar <zohar@linux.ibm.com>2019-03-13 10:09:10 -0400
committerShuah Khan <skhan@linuxfoundation.org>2019-04-17 15:10:23 -0600
commitc3c0e811427632bb1c638377859f80cce956d1b3 (patch)
tree799476c453078fdc518c7f4f7bf13ddb964daa5b /tools/testing/selftests/kexec/Makefile
parentselftests/harness: Add 30 second timeout per test (diff)
downloadwireguard-linux-c3c0e811427632bb1c638377859f80cce956d1b3.tar.xz
wireguard-linux-c3c0e811427632bb1c638377859f80cce956d1b3.zip
selftests/kexec: move the IMA kexec_load selftest to selftests/kexec
As requested move the existing kexec_load selftest and subsequent kexec tests to the selftests/kexec directory. Suggested-by: Dave Young <dyoung@redhat.com> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com> Reviewed-by: Petr Vorel <pvorel@suse.cz> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/kexec/Makefile')
-rw-r--r--tools/testing/selftests/kexec/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/testing/selftests/kexec/Makefile b/tools/testing/selftests/kexec/Makefile
new file mode 100644
index 000000000000..0b3adf5444b6
--- /dev/null
+++ b/tools/testing/selftests/kexec/Makefile
@@ -0,0 +1,11 @@
+# Makefile for kexec_load
+
+uname_M := $(shell uname -m 2>/dev/null || echo not)
+ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/)
+
+ifeq ($(ARCH),x86)
+TEST_PROGS := test_kexec_load.sh
+
+include ../lib.mk
+
+endif