I managed to successfully compile caffe on my computer. But one of the unit tests seem to fail. (all the other ones pass). Here's the error:
src/caffe/test/test_common.cpp:34: Failure
Value of: Caffe::TRAIN
Actual: 0
Expected: Caffe::phase()
Which is: 1
[ FAILED ] CommonTest.TestPhase
What do you think has caused this error?