Please include instructions on running test suite (Feature #1746)


Added by Carlos M. almost 13 years ago. Updated about 11 years ago.


Status:Done Start date:2012-04-03
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:documentation
Target version:-
Difficulty: Pull request:

Description

Please make it easy to find instructions for running the test suite and document any expected regressions.

Good places to put this information would be anyplace which already describes how to build, such as

a) the README file
b) the "tutorial" PDF
c) the wiki

Thanks!


Related issues

duplicated by Bug #2097: opencv_test_features2d fails due to missing files Cancelled 2012-06-26

History

Updated by Andrey Kamaev almost 13 years ago

  • Category set to documentation

Updated by Stuart Cunningham about 11 years ago

Here's a suggested "patch" to the Wiki to help solve this issue:

Edit http://code.opencv.org/projects/opencv/wiki/How_to_contribute in the section "The instruction in brief" (which by the way should read "The instructions in brief") inserting the following item between items 7 and 8 so it reads:

7. Modify/add the code following our Coding Style Guide.
8. Run the testsuite
  1. Get the required sample data by cloning git://code.opencv.org/opencv_extra.git
  2. export OPENCV_TEST_DATA_PATH=<path to opencv_extra/testdata>
  3. Execute each test binary from the build directory e.g. bin/opencv_test_core

9. When you are done, push your branch to your GitHub fork; then create a pull request from your branch to the base branch (see https://help.github.com/articles/using-pull-requests for details).

Updated by Dmitry Retinskiy about 11 years ago

"How to contribute" page has been updated.
Closing this ticket.

  • Status changed from Open to Done

Also available in: Atom PDF