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

Unified Diff: tests/tpm_lite/Makefile

Issue 3389004: Rehaul of firmware TPM tests (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git
Patch Set: remove leaked change Created 10 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « firmware/version.c ('k') | tests/tpm_lite/clear.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/tpm_lite/Makefile
diff --git a/tests/tpm_lite/Makefile b/tests/tpm_lite/Makefile
index 4b8426c1e46fbf7a5dd501f804776a8b565d03ad..8d68470ff168f3ba1be812daba43e180b977b73a 100644
--- a/tests/tpm_lite/Makefile
+++ b/tests/tpm_lite/Makefile
@@ -10,21 +10,20 @@ INCLUDES += -I./include \
-I$(HOSTDIR)/include
BUILD_ROOT = ${BUILD}/tests/tpm_lite
-TEST_NAMES = tpmtest_clear \
- tpmtest_earlyextend \
+TEST_NAMES = tpmtest_earlyextend \
tpmtest_earlynvram \
tpmtest_earlynvram2 \
tpmtest_enable \
tpmtest_fastenable \
tpmtest_globallock \
- tpmtest_lock \
- tpmtest_readonly \
- tpmtest_redefine \
+ tpmtest_redefine_unowned \
tpmtest_spaceperm \
- tpmtest_startup \
+ tpmtest_testsetup \
+ tpmtest_timing \
tpmtest_writelimit \
TEST_BINS = $(addprefix ${BUILD_ROOT}/,$(TEST_NAMES))
+SHARED_TEST_OBJ = $(BUILD_ROOT)/tlcl_tests.o
ALL_DEPS = $(addsuffix .d,${TEST_BINS})
CFLAGS += -MMD -MF $@.d
@@ -36,7 +35,8 @@ all: $(TEST_BINS)
${BUILD_ROOT}/%.o : %.c
$(CC) $(CFLAGS) $(INCLUDES) -MMD -MF $@.d -c -o $@ $<
-${BUILD_ROOT}/tpmtest_%: %.c ${LIBS}
- $(CC) $(CFLAGS) $(INCLUDES) $< ${LIBS} -o $@ -lcrypto -lrt $(LDFLAGS)
+${BUILD_ROOT}/tpmtest_%: %.c ${LIBS} ${SHARED_TEST_OBJ}
+ $(CC) $(CFLAGS) $(INCLUDES) $< ${SHARED_TEST_OBJ} \
+ ${LIBS} -o $@ -lcrypto -lrt $(LDFLAGS)
-include ${ALL_DEPS}
« no previous file with comments | « firmware/version.c ('k') | tests/tpm_lite/clear.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698