summaryrefslogtreecommitdiffstats
path: root/test/Makefile
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2013-08-16 07:59:11 -0700
committerSimon Glass <sjg@chromium.org>2013-09-03 13:30:05 -0600
commit3153e915b493a8d832e9260723c579d2544e5dc8 (patch)
tree42fa03a41dd8cb5d8028aebc002fcf3717c4fc2e /test/Makefile
parent628af1790ac3231455c1ae4a4e43b67136799fa2 (diff)
downloadtalos-obmc-uboot-3153e915b493a8d832e9260723c579d2544e5dc8.tar.gz
talos-obmc-uboot-3153e915b493a8d832e9260723c579d2544e5dc8.zip
sandbox: add compression tests
This adds the "test_compression" command when building the sandbox. This tests the existing compression and decompression routines for simple sanity and for buffer overflow conditions. Signed-off-by: Kees Cook <keescook@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
index 99ce890e59..a68613df72 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -9,6 +9,7 @@ include $(TOPDIR)/config.mk
LIB = $(obj)libtest.o
COBJS-$(CONFIG_SANDBOX) += command_ut.o
+COBJS-$(CONFIG_SANDBOX) += compression.o
COBJS := $(sort $(COBJS-y))
SRCS := $(COBJS:.o=.c)
OpenPOWER on IntegriCloud