summaryrefslogtreecommitdiff
path: root/include/test.mk
diff options
context:
space:
mode:
authorSteve McIntyre <steve@einval.com>2024-02-17 17:35:37 +0000
committerSteve McIntyre <steve@einval.com>2024-02-17 17:35:37 +0000
commita075e58606b9affb6dfb176c71caab816737a981 (patch)
treecb517fcf059f8d9d9dd7f6860a2d77d75ddc4142 /include/test.mk
parent2dd2f7600d41253fe621b8d040ab57f0c202d71b (diff)
downloadefi-boot-shim-upstream.tar.gz
efi-boot-shim-upstream.zip
New upstream version 15.8upstream/15.8upstream
Diffstat (limited to 'include/test.mk')
-rw-r--r--include/test.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/test.mk b/include/test.mk
index c0e24095..e6d46594 100644
--- a/include/test.mk
+++ b/include/test.mk
@@ -92,9 +92,12 @@ test-mock-variables: CFLAGS+=-DHAVE_SHIM_LOCK_GUID
test-mok-mirror_FILES = mok.c globals.c tpm.c lib/guid.c lib/variables.c mock-variables.c
test-mok-mirror: CFLAGS+=-DHAVE_START_IMAGE -DHAVE_SHIM_LOCK_GUID
-test-sbat_FILES = csv.c lib/variables.c lib/guid.c sbat_var.S
+test-sbat_FILES = csv.c lib/variables.c lib/guid.c sbat_var.S mock-variables.c
test-sbat :: CFLAGS+=-DHAVE_GET_VARIABLE -DHAVE_GET_VARIABLE_ATTR -DHAVE_SHIM_LOCK_GUID
+test-pe-relocate_FILES = globals.c
+test-pe-relocate :: CFLAGS+=-DHAVE_SHIM_LOCK_GUID
+
test-str_FILES = lib/string.c
tests := $(patsubst %.c,%,$(wildcard test-*.c))