git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test/graph: add functional tests
[dpdk.git]
/
app
/
test
/
Makefile
diff --git
a/app/test/Makefile
b/app/test/Makefile
index
4582eca
..
dac49d1
100644
(file)
--- a/
app/test/Makefile
+++ b/
app/test/Makefile
@@
-228,6
+228,10
@@
SRCS-y += test_event_timer_adapter.c
SRCS-y += test_event_crypto_adapter.c
endif
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
ifeq ($(CONFIG_RTE_LIBRTE_RAWDEV),y)
SRCS-y += test_rawdev.c
endif
@@
-247,6
+251,8
@@
LDLIBS += -lrte_ipsec
endif
CFLAGS += -O3
endif
CFLAGS += -O3
+# Strict-aliasing rules are violated by uint8_t[] to context size casts.
+CFLAGS += -fno-strict-aliasing
CFLAGS += $(WERROR_FLAGS)
LDLIBS += -lm
CFLAGS += $(WERROR_FLAGS)
LDLIBS += -lm