Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

add a new test file to OpenCV source

I'm trying to contribute to the source code. I have written a new feature. It got compiled properly and is working as expected (after I run make; sudo make install).

I wrote a test file in opencv/modules/module_name/test/test_abc.cpp

I also enabled BUILD_TESTS before running make.

However, when I run make the new test file doesn't get included.

What am I missing? Where do I tweak settings so that the my test file is included?