Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: tests/Makefile

Issue 3084030: Add structs for TPM NV simplification (Closed) Base URL: ssh://gitrw.chromium.org/vboot_reference.git
Patch Set: Use new structs Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 INCLUDES += -I./include \ 5 INCLUDES += -I./include \
6 -I$(FWDIR)/lib/include \ 6 -I$(FWDIR)/lib/include \
7 -I$(FWDIR)/lib/cgptlib/include \ 7 -I$(FWDIR)/lib/cgptlib/include \
8 -I$(FWDIR)/lib/cryptolib/include \ 8 -I$(FWDIR)/lib/cryptolib/include \
9 -I$(FWDIR)/lib/tpm_lite/include \ 9 -I$(FWDIR)/lib/tpm_lite/include \
10 -I$(HOSTDIR)/include 10 -I$(HOSTDIR)/include
11 BUILD_ROOT = ${BUILD}/tests 11 BUILD_ROOT = ${BUILD}/tests
12 12
13 TEST_NAMES = cgptlib_test \ 13 TEST_NAMES = cgptlib_test \
14 rsa_padding_test \ 14 rsa_padding_test \
15 rsa_verify_benchmark \ 15 rsa_verify_benchmark \
16 sha_benchmark \ 16 sha_benchmark \
17 sha_tests \ 17 sha_tests \
18 vboot_common_tests \ 18 vboot_common_tests \
19 vboot_common2_tests \ 19 vboot_common2_tests \
20 vboot_common3_tests \ 20 vboot_common3_tests \
21 21
22 TEST_BINS = $(addprefix ${BUILD_ROOT}/,$(TEST_NAMES)) 22 TEST_BINS = $(addprefix ${BUILD_ROOT}/,$(TEST_NAMES))
23 23
24 TEST_LIB = ${BUILD_ROOT}/test.a 24 TEST_LIB = ${BUILD_ROOT}/test.a
25 TEST_LIB_SRCS = rollback_index_mock.c test_common.c timer_utils.c crc32_test.c 25 TEST_LIB_SRCS = test_common.c timer_utils.c crc32_test.c
26 TEST_LIB_OBJS = $(TEST_LIB_SRCS:%.c=${BUILD_ROOT}/%.o) 26 TEST_LIB_OBJS = $(TEST_LIB_SRCS:%.c=${BUILD_ROOT}/%.o)
27 ALL_DEPS = $(addsuffix .d,${TEST_BINS} ${TEST_LIB_OBJS}) 27 ALL_DEPS = $(addsuffix .d,${TEST_BINS} ${TEST_LIB_OBJS})
28 CFLAGS += -MMD -MF $@.d 28 CFLAGS += -MMD -MF $@.d
29 29
30 LIBS := ${TEST_LIB} $(HOSTLIB) $(FWLIB) 30 LIBS := ${TEST_LIB} $(HOSTLIB) $(FWLIB)
31 31
32 ifneq (${RUNTESTS},) 32 ifneq (${RUNTESTS},)
33 EXTRA_TARGET = runtests 33 EXTRA_TARGET = runtests
34 endif 34 endif
35 35
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 # ${BUILD_ROOT}/kernel_splicing_tests 100 # ${BUILD_ROOT}/kernel_splicing_tests
101 # # Rollback Tests 101 # # Rollback Tests
102 # ${BUILD_ROOT}/firmware_rollback_tests 102 # ${BUILD_ROOT}/firmware_rollback_tests
103 # ${BUILD_ROOT}/kernel_rollback_tests 103 # ${BUILD_ROOT}/kernel_rollback_tests
104 104
105 install-rbtest: $(BUILD_ROOT)/rollback_index_test 105 install-rbtest: $(BUILD_ROOT)/rollback_index_test
106 mkdir -p $(DESTDIR) 106 mkdir -p $(DESTDIR)
107 cp -f $(BUILD_ROOT)/rollback_index_test $(DESTDIR) 107 cp -f $(BUILD_ROOT)/rollback_index_test $(DESTDIR)
108 108
109 -include ${ALL_DEPS} 109 -include ${ALL_DEPS}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698