Imported Upstream version 17.05
[deb_dpdk.git] / test / Makefile
similarity index 83%
rename from mk/internal/rte.depdirs-post.mk
rename to test/Makefile
index fc6904d..e996fd8 100644 (file)
@@ -1,6 +1,6 @@
 #   BSD LICENSE
 #
-#   Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
+#   Copyright(c) 2017 Intel Corporation. All rights reserved.
 #   All rights reserved.
 #
 #   Redistribution and use in source and binary forms, with or without
 #   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 #   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
-.PHONY: depdirs
-depdirs:
-       @for d in $(DEPDIRS-y); do \
-               $(RTE_SDK)/scripts/depdirs-rule.sh $(S) $$d ; \
-       done
+include $(RTE_SDK)/mk/rte.vars.mk
 
-.PHONY: depgraph
-depgraph:
-       @for d in $(DEPDIRS-y); do \
-               echo "    \"$(S)\" -> \"$$d\"" ; \
-       done
+DIRS-$(CONFIG_RTE_APP_TEST) += test
+DIRS-$(CONFIG_RTE_LIBRTE_ACL) += test-acl
+DIRS-$(CONFIG_RTE_LIBRTE_PIPELINE) += test-pipeline
+DIRS-$(CONFIG_RTE_LIBRTE_CMDLINE) += cmdline_test
+
+include $(RTE_SDK)/mk/rte.subdir.mk