From a152c68e17b6ad1ae48a126e0b80c05cb44188b8 Mon Sep 17 00:00:00 2001 From: Daniel Mrzyglod Date: Sat, 6 Aug 2016 20:38:27 +0100 Subject: tldk_test: Add TLDK unit tests Unit tests for TLDK libtle_udp & libtle_dring libraries Change-Id: I6818c72ca0260f1af784e758bfe21118c395afcf Signed-off-by: Karol Latecki Signed-off-by: Daniel Mrzyglod --- README | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'README') diff --git a/README b/README index 6d8b7f8..6131a89 100644 --- a/README +++ b/README @@ -34,18 +34,22 @@ TLDK project scope is: the resulting host stack easily usable by existing non-vpp aware software. INSTALLATION GUIDE -================= +================== -1. Obtain latest DPDK. +1. Obtain latest DPDK and build it. (refer to http://dpdk.org for information how to download and build it). 2. Make sure that RTE_SDK and RTE_TARGET DPDK related environment variables are setup correctly. 3. Go to the TLDK root directory and type: 'make all'. 4. Run sample applications. +For enabling unit tests application using GoogleTest please see: +./test/gtest/README + As an example: export RTE_SDK=/opt/DPDK export RTE_TARGET=x86_64-native-linuxapp-gcc + cd tldk make all ./x86_64-native-linuxapp-gcc/app/udpfwd ... @@ -65,6 +69,9 @@ $(TLDK_ROOT) | | | +--udpfwd - sample app to demonstrate and test libtle_udp usage | (refer to examples/udpfwd/README for more information) +| +----test - unit-tests | | -| +--dring - UT for libtle_dring +| +--dring - UT for libtle_dring (standalone app) +| | +| +--gtest - UT for libtle_dring and libtle_udp (googletest) -- cgit 1.2.3-korg