User Tools

Site Tools


library-tests

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

library-tests [2015/05/25 14:08]
didier remove support for versions < 1.6.0 and refresh
library-tests [2015/05/25 14:31] (current)
didier [Running all automated non-regression tests] details tests
Line 6: Line 6:
  
  
-===== Running all automated ​non-regression ​tests =====+===== Running all automated tests =====
  
-To run the regression ​tests, you first have to [[library-install-sources#​native_build_on_unix-like_systems|get the source code of the ROHC library and build it]] on your system (do not append option ''<​nowiki>​--disable-rohc-tests</​nowiki>''​ at step 4 ; step 9 is not mandatory for running the tests).+To run the library ​tests, you first have to [[library-install-sources#​native_build_on_unix-like_systems|get the source code of the ROHC library and build it]] on your system (do not append option ''<​nowiki>​--disable-rohc-tests</​nowiki>''​ at step 4 ; step 9 is not mandatory for running the tests).
  
 Second, type:<​code>​ Second, type:<​code>​
-$ make -C test/​non_regression ​check</​code>​+$ make check</​code>​
  
-The regression tool uses [[wp>​PCAP]] captures of network packets (IPv4, IPv6, UDP, UDP-Lite, RTP...) to test the behaviour of the ROHC library. The tool reports for every network capture the statuses of the following steps: +You may speed up the processing with you are running a [[wp>​Symmetric_multiprocessor_system|SMP]] system:<​code>​ 
-  * initialize ROHC library +$ make -jX check   # set X to your number of CPU plus one</​code>​ 
-  * compress packets + 
-  * check compressed packets with reference +There are several types of tests: 
-  * decompress packets +  * unit tests for encoding schemes such as [[LSB]], [[W-LSB]], [[Scaled TS]], and [[variable_length_32_enc]]. 
-  * check decompressed packets with original ones+  * functional tests: 
 +     * ROHC segmentation,​ 
 +     * ROHC padding (at decompressor),​ 
 +     * ROHC feedback-only packet (at decompressor),​ 
 +     * ROHC feedback-2 packet, 
 +     * context re-use, 
 +     * RTP stream detection,​ 
 +     * RTP UO disambiguation. 
 +  * interoperability tests: 
 +     * compare ROHC packet formats with [[http://​ats.aeroflex.com/​advanced-network-test-products/​development-performance-test/​tm500-test-mobile|Aeroflex-TM500]]. 
 +  * robustness tests: 
 +     * check the robustness of the compressor public [[wp>​API]],​ 
 +     * check the robustness of the decompressor public [[wp>​API]],​ 
 +     * check the robustness against damaged packets, 
 +     * check the robustness against malformed packets, 
 +     * check the robustness against packets with empty payloads, 
 +     * check the robustness against lossy networks, 
 +     * check the robustness against networks with packet reordering,​ 
 +     * check the robustness against loss of piggybacked feedback packets. 
 +  * non-regression tests: 
 +     * the regression tool uses [[wp>​PCAP]] captures of network packets (IPv4, IPv6, UDP, UDP-Lite, RTP...) to test the behaviour of the ROHC library. The tool reports for every network capture the statuses of the following steps: 
 +        * initialize ROHC library 
 +        * compress packets 
 +        * check compressed packets with reference 
 +        * decompress packets 
 +        * check decompressed packets with original ones
  
  
library-tests.txt · Last modified: 2015/05/25 14:31 by didier