[Insight-developers] Strange Behavior

Johnson, Hans J hans-johnson at uiowa.edu
Wed Aug 24 19:00:40 EDT 2011


I am seeing very strange behavior that sent me on a wild goose chase for several hours this afternoon:

1)  building ITK with BUILD_TESTING:BOOL=ON
2)  ctest;  all 2025 tests passed
3)  I then turned BUILD_TESTING:BOOL=OFF  (actually super build in slicer turned it off for me)
4) git pull —rebase
5) some experimental code changes
6) make
7) ctest; 30 of 1367 test started failing

The problem is that the tests were NOT being rebuilt, and the shared libs that they depend on were.  Once I turned BUILD_TESTING:BOOL=ON again, the tests were re-linked, and started to pass again.

=========
I think the expected behavior is that when "BUILD_TESTING:BOOL=OFF", then ctest should run 0/0 tests.

Hans



________________________________
Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged.  If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited.  Please reply to the sender that you have received the message in error, then delete it.  Thank you.
________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110824/ce3dacca/attachment.htm>


More information about the Insight-developers mailing list