]> git.droids-corp.org - dpdk.git/blobdiff - app/test/Makefile
test/graph: add functional tests
[dpdk.git] / app / test / Makefile
index 4582eca6cf13269e8515f729f60bd8a11d50c815..dac49d1dd652277a8bfdbc4fe116d4633addc94e 100644 (file)
@@ -228,6 +228,10 @@ SRCS-y += test_event_timer_adapter.c
 SRCS-y += test_event_crypto_adapter.c
 endif
 
+ifeq ($(CONFIG_RTE_LIBRTE_GRAPH), y)
+SRCS-y += test_graph.c
+endif
+
 ifeq ($(CONFIG_RTE_LIBRTE_RAWDEV),y)
 SRCS-y += test_rawdev.c
 endif
@@ -247,6 +251,8 @@ LDLIBS += -lrte_ipsec
 endif
 
 CFLAGS += -O3
+# Strict-aliasing rules are violated by uint8_t[] to context size casts.
+CFLAGS += -fno-strict-aliasing
 CFLAGS += $(WERROR_FLAGS)
 
 LDLIBS += -lm