|
I've been plagued for some time by seg faults in some of the unit tests (only some tests, only some platforms). Frankly, I'm not sure if we're using the boost::test framework incorrectly, or if it's just inherently buggy, and at this point I don't care. We use so very little of the boost test functionality, I decided to see how hard it would be to just roll my own macros, just "good enough" for our unit tests. Works fine, no loss in functionality, no crashes, and I'm relieved to be able to dump both the boost::test and google test dependencies.
Objections?
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+504 lines, -384 lines) |
Patch |
|
|
src/cmake/externalpackages.cmake
|
View
|
|
2 chunks |
+1 line, -23 lines |
0 comments
|
Download
|
|
|
src/include/unittest.h
|
View
|
|
1 chunk |
+94 lines, -0 lines |
0 comments
|
Download
|
|
|
src/libOpenImageIO/CMakeLists.txt
|
View
|
|
2 chunks |
+3 lines, -8 lines |
0 comments
|
Download
|
|
|
src/libOpenImageIO/atomic_test.cpp
|
View
|
|
5 chunks |
+15 lines, -5 lines |
0 comments
|
Download
|
|
|
src/libOpenImageIO/imagebufalgo_test.cpp
|
View
|
|
21 chunks |
+266 lines, -261 lines |
0 comments
|
Download
|
|
|
src/libOpenImageIO/imagespec_test.cpp
|
View
|
|
5 chunks |
+58 lines, -47 lines |
0 comments
|
Download
|
|
|
src/libOpenImageIO/spinlock_test.cpp
|
View
|
|
4 chunks |
+14 lines, -5 lines |
0 comments
|
Download
|
|
|
src/libOpenImageIO/strutil_test.cpp
|
View
|
|
1 chunk |
+41 lines, -32 lines |
0 comments
|
Download
|
|
|
src/libOpenImageIO/ustring_test.cpp
|
View
|
|
3 chunks |
+12 lines, -3 lines |
0 comments
|
Download
|
Total messages: 3
|