I wanted to do write some OpenMP C++ code, and I wanted to use Unit Tests. Do you have any suggestion, learned from practice, about how to develop tests, which UT framework works the best with OpenMP (or it does not matter), and so on?
Are you intending on testing serial functions in parallel or parallel functions in parallel?
What is missing in available unit testing applications that you want to implement with your own code?
For multi-threaded testing some of the new tools availablein Intel Parallel Studio XE might be of use. Also, or multi-threaded code check out Relacy Race Detector (http://www.1024cores.net/home/relacy-race-detector)
Thanks for the answer,
I didn't know about this race detector, interesting. Currently I am using Cxxtest for unit testing, I test parallel sections of a code in separate tests and it seems to fork fine for me. Still, any advice that can help finding bugs and races in the parallel code is welcome