diff options
author | Konstantin Ananyev <konstantin.ananyev@intel.com> | 2017-02-21 18:12:20 +0000 |
---|---|---|
committer | Konstantin Ananyev <konstantin.ananyev@intel.com> | 2017-02-24 16:37:08 +0000 |
commit | aa97dd1ce910b839fed46ad55d1e70e403f5a930 (patch) | |
tree | f6f0fd494eaf499859bff9f20f5ddfac9ab99233 /test/gtest/README | |
parent | f5f10013ffef8e4ac1071087b8492fe6380d98fe (diff) |
Introduce first version of TCP code.
Supported functionality:
- open/close
- listen/accept/connect
- send/recv
In order to achieve that libtle_udp library was
reworked into libtle_l4p library that supports
both TCP and UDP protocols.
New libtle_timer library was introduced
(thanks to Cisco guys and Dave Barach <dbarach@cisco.com>
for sharing their timer code with us).
Sample application was also reworked significantly
to support both TCP and UDP traffic handling.
New UT were introduced.
Change-Id: I806b05011f521e89b58db403cfdd484a37beb775
Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com>
Signed-off-by: Karol Latecki <karolx.latecki@intel.com>
Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com>
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Diffstat (limited to 'test/gtest/README')
-rw-r--r-- | test/gtest/README | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/test/gtest/README b/test/gtest/README index 8d39b6b..7fba5ff 100644 --- a/test/gtest/README +++ b/test/gtest/README @@ -1,41 +1,41 @@ -OVERVIEW -======== - -This application is a set of API unit tests for libtle_dring and libtle_udp -libraries, plus a small set of functional tests for RX/TX functions in -libtle_udp library. -UT application needs GoogleTest C++ testing framework to compile, please -follow installation steps below to enable them. - -INSTALLATION GUIDE -================== -Assumes that user had finished initial installation from TLDK root -directory README. - -1. TLDK unit tests require pcap PMD to be available, enable it in DPDK and - rebuild it. - (http://dpdk.org/doc/quick-start has information how to do it) -2. Obtain GoogleTest and build it. Some additional dependencies might be - needed. - (refer to https://github.com/google/googletest for information how to - download and build it) -3. Make sure that GTEST_DIR and GMOCK_DIR environment variables are set. -4. Rebuild TLDK. - -Example: -cd dpdk -make config T=x86_64-native-linuxapp-gcc -sed -ri 's,(PMD_PCAP=).*,\1y,' build/.config -make install - -git clone https://github.com/google/googletest.git -cd ../googletest -export GTEST_DIR=`pwd`/googletest -export GMOCK_DIR=`pwd`/googlemock -cmake CMakeLists.txt -make - -cd ../tldk -make clean -make all -./x86_64-native-linuxapp-gcc/app/gtest-rfc --lcores=0 +1. OVERVIEW + + This application is a set of API unit tests for libtle_dring, libtle_l4p, + and libtle_timer libraries, plus a small set of functional tests for RX/TX + functions in libtle_l4p library. + + UT application needs GoogleTest C++ testing framework to compile, please + follow installation steps below to enable them. + +2. INSTALLATION GUIDE + + Assumes that user had finished initial installation from TLDK root + directory README. + + 1) TLDK unit tests require pcap PMD to be available, enable it in DPDK and + rebuild it. (http://dpdk.org/doc/quick-start has information how to + do it) + 2) Obtain GoogleTest and build it. Some additional dependencies might be + needed. (refer to https://github.com/google/googletest for information + how to download and build it) + 3) Make sure that GTEST_DIR and GMOCK_DIR environment variables are set. + 4) Rebuild TLDK. + +2.1 Example + + cd dpdk + make config T=x86_64-native-linuxapp-gcc + sed -ri 's,(PMD_PCAP=).*,\1y,' build/.config + make install + + git clone https://github.com/google/googletest.git + cd ../googletest + export GTEST_DIR=`pwd`/googletest + export GMOCK_DIR=`pwd`/googlemock + cmake CMakeLists.txt + make + + cd ../tldk + make clean + make all + ./x86_64-native-linuxapp-gcc/app/gtest-rfc --lcores=0 |