How to run library regression tests ?

Asked by Didier Barvaux

The ROHC library contains several tests that one may run to check for regressions. It is advised that all developers run these tests before submitting a patch (modification of the source code).

Question information

Language:
English Edit question
Status:
Solved
For:
rohc Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Didier Barvaux (didier-barvaux) said :
#1

First you have to get the source code of the ROHC library and build it. If you do not known how to proceed, follow these instructions: https://answers.launchpad.net/rohc/+question/78994

Second, follow these instructions:
1. Build the test program:
       $ make test
2. Run the tests:
       $ make report
3. Read the HTML report generated by the previous command in your favorite web browser (eg. Mozilla Firefox):
       $ firefox ./test/report/report.html

Revision history for this message
Didier Barvaux (didier-barvaux) said :
#2

First you have to get the source code of the ROHC library and build it. If you do not known how to proceed, follow these instructions: https://answers.launchpad.net/rohc/+question/78994 (step 7 is not required for running the tests).

Second, follow these instructions:
1. Build the test program:
       $ make test
2. Run the tests:
       $ make report
3. Read the HTML report generated by the previous command in your favorite web browser (eg. Mozilla Firefox):
       $ firefox ./test/report/report.html

Revision history for this message
Didier Barvaux (didier-barvaux) said :
#3

Moved in FAQ.

Revision history for this message
Didier Barvaux (didier-barvaux) said :
#4

Marked as solved.

Revision history for this message
Didier Barvaux (didier-barvaux) said :
#5

Really mark as solved.