aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorDaniel Mrzyglod <danielx.t.mrzyglod@intel.com>2016-08-06 20:38:27 +0100
committerMohammad Abdul Awal <mohammad.abdul.awal@intel.com>2016-10-07 08:49:12 +0100
commita152c68e17b6ad1ae48a126e0b80c05cb44188b8 (patch)
tree246a05f3fb83d471fcd7ae06def9d457e5f13ff7 /README
parent5d0ab6ce9c41573a2c7c401a0efa8ea764c9d55a (diff)
tldk_test: Add TLDK unit tests
Unit tests for TLDK libtle_udp & libtle_dring libraries Change-Id: I6818c72ca0260f1af784e758bfe21118c395afcf Signed-off-by: Karol Latecki <karolx.latecki@intel.com> Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com>
Diffstat (limited to 'README')
-rw-r--r--README13
1 files changed, 10 insertions, 3 deletions
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)