blob: 5d5230e05db015d705b3b660f9c0985f32e1f420 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
#
# Copyright (C) 2013 Intel Corporation; author Matt Fleming
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, Inc., 53 Temple Place Ste 330,
# Boston MA 02111-1307, USA; either version 2 of the License, or
# (at your option) any later version; incorporated herein by reference.
#
# Regression tests for the Linux kernel loader code paths
#
include $(objdir)/recipes.mk
ifeq ($(DERIVATIVE),PXELINUX)
derivative-tests = pxetest
pxetest_cfg = pxetest.cfg
pxetest_files = $(pxetest_cfg) kernelhello-vmlinuz
pxetest_results = pxetest.results
endif
all: tests
empty_cfg = empty.cfg
empty_files = $(empty_cfg) empty-vmlinuz
empty_results = empty.results
kernelhello_cfg = kernelhello.cfg
kernelhello_files = $(kernelhello_cfg) kernelhello-vmlinuz
kernelhello_results = kernelhello.results
cmdline_cfg = cmdline.cfg
cmdline_files = $(cmdline_cfg) kernelhello-vmlinuz
cmdline_results = cmdline.results
STANDARD_TESTS = kernelhello pxetest cmdline
$(STANDARD_TESTS):
$(run-test)
empty:
touch empty-vmlinuz
$(run-test)
tests: banner empty kernelhello cmdline $(derivative-tests)
banner:
printf " Running Linux kernel regression tests...\n"
|