BVLC/caffe — pull request #1355 by kmatzen (2014-10-23 23:08:59+00:00)
Title: Test cases used incorrect ParseFromString

Some test cases used the binary format ParseFromString rather than the TextFormat version. If you CHECK these calls, the return values indicate failure. When you switch to the correct ParseFromString, the test cases fail. These tests need to be fixed.

```
[ PASSED ] 1139 tests.
[ FAILED ] 18 tests, listed below:
[ FAILED ] NeuronLayerTest/0.TestReLUWithNegativeSlope, where TypeParam = caffe::FloatCPU
[ FAILED ] NeuronLayerTest/1.TestReLUWithNegativeSlope, where TypeParam = caffe::DoubleCPU
[ FAILED ] NeuronLayerTest/2.TestReLUWithNegativeSlope, where TypeParam = caffe::FloatGPU
[ FAILED ] NeuronLayerTest/3.TestReLUWithNegativeSlope, where TypeParam = caffe::DoubleGPU
[ FAILED ] CuDNNNeuronLayerTest/0.TestReLUWithNegativeSlopeCuDNN, where TypeParam = float
[ FAILED ] CuDNNNeuronLayerTest/1.TestReLUWithNegativeSlopeCuDNN, where TypeParam = double
[ FAILED ] MVNLayerTest/0.TestGradientMeanOnly, where TypeParam = caffe::FloatCPU
[ FAILED ] MVNLayerTest/0.TestForwardAcrossChannels, where TypeParam = caffe::FloatCPU
[ FAILED ] MVNLayerTest/0.TestGradientAcrossChannels, where TypeParam = caffe::FloatCPU
[ FAILED ] MVNLayerTest/1.TestForwardAcrossChannels, where TypeParam = caffe::DoubleCPU
[ FAILED ] MVNLayerTest/1.TestGradientMeanOnly, where TypeParam = caffe::DoubleCPU
[ FAILED ] MVNLayerTest/1.TestGradientAcrossChannels, where TypeParam = caffe::DoubleCPU
[ FAILED ] MVNLayerTest/2.TestGradientAcrossChannels, where TypeParam = caffe::FloatGPU
[ FAILED ] MVNLayerTest/2.TestForwardAcrossChannels, where TypeParam = caffe::FloatGPU
[ FAILED ] MVNLayerTest/2.TestGradientMeanOnly, where TypeParam = caffe::FloatGPU
[ FAILED ] MVNLayerTest/3.TestForwardAcrossChannels, where TypeParam = caffe::DoubleGPU
[ FAILED ] MVNLayerTest/3.TestGradientMeanOnly, where TypeParam = caffe::DoubleGPU
[ FAILED ] MVNLayerTest/3.TestGradientAcrossChannels, where TypeParam = caffe::DoubleGPU

18 FAILED TESTS
YOU HAVE 2 DISABLED TESTS
```