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