Index: src/testsuite/Makefile |
diff --git a/src/testsuite/Makefile b/src/testsuite/Makefile |
index 74ff6fe85d8fe5335671d3fd89918e0aa7129c02..efdba993e7923489a1e07df88b6e0d457d6e8c66 100644 |
--- a/src/testsuite/Makefile |
+++ b/src/testsuite/Makefile |
@@ -4,6 +4,8 @@ |
LIBTLCL = ../tlcl/libtlcl.a |
+USE_TPM_EMULATOR ?= 0 |
+ |
ifeq ($(USE_TPM_EMULATOR),1) |
ifeq ($(LOCAL_COMPILATION),1) |
LIBTPM = ../../../../third_party/tpm-emulator/build/tpm/libtpm.a |
@@ -20,7 +22,7 @@ endif |
LIBS = $(LIBTLCL) $(LIBTPMEMU) $(LIBTPM) $(LIBCRYPTO) $(LIBGMP) |
CC ?= cc |
-CFLAGS += -Werror -Wall |
+CFLAGS += -Werror -Wall -DUSE_TPM_EMULATOR=$(USE_TPM_EMULATOR) |
#CFLAGS += -pedantic -ansi |
TESTS = tpmtest_clear \ |
@@ -29,6 +31,10 @@ TESTS = tpmtest_clear \ |
tpmtest_lock \ |
tpmtest_readonly \ |
tpmtest_writelimit \ |
+ tpmtest_redefine \ |
gauravsh
2010/06/08 07:53:43
nit: alpha order
|
+ tpmtest_earlynvram \ |
+ tpmtest_earlynvram2 \ |
+ tpmtest_earlyextend \ |
all: $(TESTS) |