Closed JiafengLiao closed 8 years ago
It seems the content in "test" folder missing when compressing or cloning
solved! The reason is the contents in "test" folder missed when cloning from github. if u encounter the same problem, use github desktop to clone the code. That might solve
I tryied different versions but this occurs everytime, cannot find the solution, could you pls help me. [ FAILED ] 7 tests, listed below: [ FAILED ] AudioLoader.SimpleLoad [ FAILED ] AudioLoader.SampleFormatConversion [ FAILED ] Network.SimpleVisibleNetwork [ FAILED ] Network.ExecutionNetworkWithComposite [ FAILED ] Scheduler.SourceProxyFork [ FAILED ] TreeTraversal.DepthFirstMap [ FAILED ] TreeTraversal.DepthFirstSearch
the whole run test is as below: [==========] Running 131 tests from 16 test cases. [----------] Global test environment set-up. [----------] 2 tests from AudioLoader [ RUN ] AudioLoader.SimpleLoad unknown file: Failure C++ exception with description "AudioLoader: Could not open file "test/audio/recorded/cat_purrrr.wav", error = No such file or directory" thrown in the test body. [ FAILED ] AudioLoader.SimpleLoad (24 ms) [ RUN ] AudioLoader.SampleFormatConversion unknown file: Failure C++ exception with description "AudioLoader: Could not open file "test/audio/recorded/cat_purrrr24bit.wav", error = No such file or directory" thrown in the test body. [ FAILED ] AudioLoader.SampleFormatConversion (5 ms) [----------] 2 tests from AudioLoader (29 ms total)
[----------] 3 tests from Composite [ RUN ] Composite.SimplePush [ OK ] Composite.SimplePush (1 ms) [ RUN ] Composite.ReplaceInnerAlgo [ OK ] Composite.ReplaceInnerAlgo (0 ms) [ RUN ] Composite.ExecutionNetwork [ OK ] Composite.ExecutionNetwork (0 ms) [----------] 3 tests from Composite (1 ms total)
[----------] 11 tests from Connectors [ RUN ] Connectors.SimplePush [ OK ] Connectors.SimplePush (0 ms) [ RUN ] Connectors.Memory [ OK ] Connectors.Memory (0 ms) [ RUN ] Connectors.SourceProxy [ OK ] Connectors.SourceProxy (1 ms) [ RUN ] Connectors.MultiReaderTest [ OK ] Connectors.MultiReaderTest (0 ms) [ RUN ] Connectors.SourceProxyConnectBeforeAttach [ OK ] Connectors.SourceProxyConnectBeforeAttach (0 ms) [ RUN ] Connectors.SinkProxy [ OK ] Connectors.SinkProxy (0 ms) [ RUN ] Connectors.Disconnect [ OK ] Connectors.Disconnect (0 ms) [ RUN ] Connectors.MultiConnectDisconnect [ OK ] Connectors.MultiConnectDisconnect (0 ms) [ RUN ] Connectors.ForwardSourceProxy [ OK ] Connectors.ForwardSourceProxy (0 ms) [ RUN ] Connectors.ForwardSinkProxy [ OK ] Connectors.ForwardSinkProxy (0 ms) [ RUN ] Connectors.KindaComplexMess [ OK ] Connectors.KindaComplexMess (1 ms) [----------] 11 tests from Connectors (2 ms total)
[----------] 5 tests from Copy [ RUN ] Copy.Integer [ OK ] Copy.Integer (1 ms) [ RUN ] Copy.Real [ OK ] Copy.Real (0 ms) [ RUN ] Copy.String [ OK ] Copy.String (0 ms) [ RUN ] Copy.VectorInt [ OK ] Copy.VectorInt (0 ms) [ RUN ] Copy.VectorReal [ OK ] Copy.VectorReal (0 ms) [----------] 5 tests from Copy (1 ms total)
[----------] 11 tests from FileOutput [ RUN ] FileOutput.Real [ OK ] FileOutput.Real (1 ms) [ RUN ] FileOutput.String [ OK ] FileOutput.String (0 ms) [ RUN ] FileOutput.VectorReal [ OK ] FileOutput.VectorReal (1 ms) [ RUN ] FileOutput.VectorString [ OK ] FileOutput.VectorString (1 ms) [ RUN ] FileOutput.Complex [ OK ] FileOutput.Complex (1 ms) [ RUN ] FileOutput.VectorComplexReal [ OK ] FileOutput.VectorComplexReal (0 ms) [ RUN ] FileOutput.Array1D [ OK ] FileOutput.Array1D (1 ms) [ RUN ] FileOutput.Array2D [ OK ] FileOutput.Array2D (0 ms) [ RUN ] FileOutput.DifferentTypes [ OK ] FileOutput.DifferentTypes (1 ms) [ RUN ] FileOutput.DifferentSizes [ OK ] FileOutput.DifferentSizes (0 ms) [ RUN ] FileOutput.InvalidParam [ OK ] FileOutput.InvalidParam (1 ms) [----------] 11 tests from FileOutput (7 ms total)
[----------] 1 test from Math [ RUN ] Math.NextPowerOfTwo [ OK ] Math.NextPowerOfTwo (0 ms) [----------] 1 test from Math (0 ms total)
[----------] 14 tests from Network [ RUN ] Network.SimpleVisibleNetwork unknown file: Failure C++ exception with description "AudioLoader: Could not open file "test/audio/recorded/cat_purrrr.wav", error = No such file or directory" thrown in the test body. [ FAILED ] Network.SimpleVisibleNetwork (11 ms) [ RUN ] Network.SimpleExecutionNetwork [ OK ] Network.SimpleExecutionNetwork (30 ms) [ RUN ] Network.ExecutionNetworkWithComposite unknown file: Failure C++ exception with description "AudioLoader: Could not open file "test/audio/recorded/cat_purrrr.wav", error = No such file or directory" thrown in the test body. [ FAILED ] Network.ExecutionNetworkWithComposite (3 ms) [ RUN ] Network.ExecutionNetworkKeyExtractor [ OK ] Network.ExecutionNetworkKeyExtractor (46 ms) [ RUN ] Network.ExecutionNetworkKeyExtractorConnected [ OK ] Network.ExecutionNetworkKeyExtractorConnected (9 ms) [ RUN ] Network.Complex1 [ OK ] Network.Complex1 (0 ms) [ RUN ] Network.Complex2 [ OK ] Network.Complex2 (1 ms) [ RUN ] Network.Complex3 [ OK ] Network.Complex3 (0 ms) [ RUN ] Network.Complex4 [ OK ] Network.Complex4 (1 ms) [ RUN ] Network.Complex5 [ OK ] Network.Complex5 (0 ms) [ RUN ] Network.Complex6 [ OK ] Network.Complex6 (1 ms) [ RUN ] Network.DiamondShape [ OK ] Network.DiamondShape (0 ms) [ RUN ] Network.DiamondShape2 [ OK ] Network.DiamondShape2 (1 ms) [ RUN ] Network.TeeProxyComposite [ OK ] Network.TeeProxyComposite (0 ms) [----------] 14 tests from Network (103 ms total)
[----------] 11 tests from NetworkParser [ RUN ] NetworkParser.SimpleBox [ OK ] NetworkParser.SimpleBox (0 ms) [ RUN ] NetworkParser.BrokenBox [ OK ] NetworkParser.BrokenBox (0 ms) [ RUN ] NetworkParser.BrokenBox2 [ OK ] NetworkParser.BrokenBox2 (0 ms) [ RUN ] NetworkParser.MultiBoxes [ OK ] NetworkParser.MultiBoxes (0 ms) [ RUN ] NetworkParser.MultiBoxesWithNoise [ OK ] NetworkParser.MultiBoxesWithNoise (1 ms) [ RUN ] NetworkParser.Connections [ OK ] NetworkParser.Connections (0 ms) [ RUN ] NetworkParser.ConnectionsAndInstantiation [ OK ] NetworkParser.ConnectionsAndInstantiation (7 ms) [ RUN ] NetworkParser.FunkyConnections [ OK ] NetworkParser.FunkyConnections (0 ms) [ RUN ] NetworkParser.MultipleConnections [ OK ] NetworkParser.MultipleConnections (0 ms) [ RUN ] NetworkParser.InfiniteSplit [ OK ] NetworkParser.InfiniteSplit (0 ms) [ RUN ] NetworkParser.BrokenBBox [ OK ] NetworkParser.BrokenBBox (0 ms) [----------] 11 tests from NetworkParser (8 ms total)
[----------] 24 tests from Parameter [ RUN ] Parameter.EqualityReal [ OK ] Parameter.EqualityReal (0 ms) [ RUN ] Parameter.RealToString [ OK ] Parameter.RealToString (0 ms) [ RUN ] Parameter.EqualityString [ OK ] Parameter.EqualityString (0 ms) [ RUN ] Parameter.StringToString [ OK ] Parameter.StringToString (0 ms) [ RUN ] Parameter.EqualityBool [ OK ] Parameter.EqualityBool (0 ms) [ RUN ] Parameter.BoolToString [ OK ] Parameter.BoolToString (0 ms) [ RUN ] Parameter.EqualityInt [ OK ] Parameter.EqualityInt (0 ms) [ RUN ] Parameter.IntToString [ OK ] Parameter.IntToString (0 ms) [ RUN ] Parameter.ToLower [ OK ] Parameter.ToLower (0 ms) [ RUN ] Parameter.EqualityVectorReal [ OK ] Parameter.EqualityVectorReal (0 ms) [ RUN ] Parameter.EqualityVectorString [ OK ] Parameter.EqualityVectorString (0 ms) [ RUN ] Parameter.VectorStringToString [ OK ] Parameter.VectorStringToString (0 ms) [ RUN ] Parameter.EqualityMapReal [ OK ] Parameter.EqualityMapReal (0 ms) [ RUN ] Parameter.EqualityMapVectorReal [ OK ] Parameter.EqualityMapVectorReal (0 ms) [ RUN ] Parameter.MapVectorIntToString [ OK ] Parameter.MapVectorIntToString (0 ms) [ RUN ] Parameter.ToReal [ OK ] Parameter.ToReal (0 ms) [ RUN ] Parameter.ToBool [ OK ] Parameter.ToBool (0 ms) [ RUN ] Parameter.ToInt [ OK ] Parameter.ToInt (0 ms) [ RUN ] Parameter.ToDouble [ OK ] Parameter.ToDouble (0 ms) [ RUN ] Parameter.ToFloat [ OK ] Parameter.ToFloat (0 ms) [ RUN ] Parameter.ToVectorReal [ OK ] Parameter.ToVectorReal (0 ms) [ RUN ] Parameter.ToMapReal [ OK ] Parameter.ToMapReal (0 ms) [ RUN ] Parameter.NotConvertible [ OK ] Parameter.NotConvertible (0 ms) [ RUN ] Parameter.ParamToStream [ OK ] Parameter.ParamToStream (0 ms) [----------] 24 tests from Parameter (1 ms total)
[----------] 15 tests from Peak [ RUN ] Peak.Constructor [ OK ] Peak.Constructor (0 ms) [ RUN ] Peak.Assignment [ OK ] Peak.Assignment (0 ms) [ RUN ] Peak.Equality [ OK ] Peak.Equality (0 ms) [ RUN ] Peak.Greater [ OK ] Peak.Greater (0 ms) [ RUN ] Peak.Less [ OK ] Peak.Less (0 ms) [ RUN ] Peak.PeaksToReals [ OK ] Peak.PeaksToReals (0 ms) [ RUN ] Peak.RealsToPeaks [ OK ] Peak.RealsToPeaks (0 ms) [ RUN ] Peak.SortMagnitudeDescendingPositionDescending [ OK ] Peak.SortMagnitudeDescendingPositionDescending (0 ms) [ RUN ] Peak.SortMagnitudeAscendingPositionDescending [ OK ] Peak.SortMagnitudeAscendingPositionDescending (0 ms) [ RUN ] Peak.SortMagnitudeDescendingPositionAscending [ OK ] Peak.SortMagnitudeDescendingPositionAscending (0 ms) [ RUN ] Peak.SortMagnitudeAscendingPositionAscending [ OK ] Peak.SortMagnitudeAscendingPositionAscending (0 ms) [ RUN ] Peak.SortPositionDescendingMagnitudeDescending [ OK ] Peak.SortPositionDescendingMagnitudeDescending (0 ms) [ RUN ] Peak.SortPositionAscendingMagnitudeDescending [ OK ] Peak.SortPositionAscendingMagnitudeDescending (0 ms) [ RUN ] Peak.SortPositionDescendingMagnitudeAscending [ OK ] Peak.SortPositionDescendingMagnitudeAscending (0 ms) [ RUN ] Peak.SortPositionAscendingMagnitudeAscending [ OK ] Peak.SortPositionAscendingMagnitudeAscending (0 ms) [----------] 15 tests from Peak (0 ms total)
[----------] 16 tests from Pool [ RUN ] Pool.RealPoolSimple [ OK ] Pool.RealPoolSimple (1 ms) [ RUN ] Pool.RealPoolMultiple [ OK ] Pool.RealPoolMultiple (0 ms) [ RUN ] Pool.RealPoolMultipleLabels [ OK ] Pool.RealPoolMultipleLabels (0 ms) [ RUN ] Pool.RealVectorPoolSimple [ OK ] Pool.RealVectorPoolSimple (0 ms) [ RUN ] Pool.RealVectorPoolMultiple [ OK ] Pool.RealVectorPoolMultiple (0 ms) [ RUN ] Pool.RealVectorPoolMultipleLabels [ OK ] Pool.RealVectorPoolMultipleLabels (0 ms) [ RUN ] Pool.RealVectorEmpty [ OK ] Pool.RealVectorEmpty (0 ms) [ RUN ] Pool.MissingDescriptorName [ OK ] Pool.MissingDescriptorName (0 ms) [ RUN ] Pool.Remove [ OK ] Pool.Remove (0 ms) [ RUN ] Pool.StringPoolSimple [ OK ] Pool.StringPoolSimple (0 ms) [ RUN ] Pool.StringPoolMultiple [ OK ] Pool.StringPoolMultiple (0 ms) [ RUN ] Pool.StringPoolMultipleLabels [ OK ] Pool.StringPoolMultipleLabels (0 ms) [ RUN ] Pool.StringVectorPoolMultiple [ OK ] Pool.StringVectorPoolMultiple (0 ms) [ RUN ] Pool.StringVectorEmpty [ OK ] Pool.StringVectorEmpty (0 ms) [ RUN ] Pool.DescriptorNames [ OK ] Pool.DescriptorNames (0 ms) [ RUN ] Pool.IntegrityCheck [ OK ] Pool.IntegrityCheck (0 ms) [----------] 16 tests from Pool (1 ms total)
[----------] 1 test from Scheduler [ RUN ] Scheduler.SourceProxyFork unknown file: Failure C++ exception with description "AudioLoader: Could not open file "test/audio/recorded/cat_purrrr.wav", error = No such file or directory" thrown in the test body. [ FAILED ] Scheduler.SourceProxyFork (3 ms) [----------] 1 test from Scheduler (3 ms total)
[----------] 5 tests from StringUtil [ RUN ] StringUtil.TokenizeSimple [ OK ] StringUtil.TokenizeSimple (0 ms) [ RUN ] StringUtil.TokenizeEmpty [ OK ] StringUtil.TokenizeEmpty (0 ms) [ RUN ] StringUtil.Strip [ OK ] StringUtil.Strip (0 ms) [ RUN ] StringUtil.Lower [ OK ] StringUtil.Lower (0 ms) [ RUN ] StringUtil.Upper [ OK ] StringUtil.Upper (0 ms) [----------] 5 tests from StringUtil (0 ms total)
[----------] 6 tests from TreeTraversal [ RUN ] TreeTraversal.DepthFirstMap unknown file: Failure C++ exception with description "AudioLoader: Could not open file "test/audio/recorded/cat_purrrr.wav", error = No such file or directory" thrown in the test body. [ FAILED ] TreeTraversal.DepthFirstMap (3 ms) [ RUN ] TreeTraversal.DepthFirstSearch unknown file: Failure C++ exception with description "AudioLoader: Could not open file "test/audio/recorded/cat_purrrr.wav", error = No such file or directory" thrown in the test body. [ FAILED ] TreeTraversal.DepthFirstSearch (4 ms) [ RUN ] TreeTraversal.NetworkTopologyComparison [ OK ] TreeTraversal.NetworkTopologyComparison (0 ms) [ RUN ] TreeTraversal.NetworkTopologyComparisonWithParser [ OK ] TreeTraversal.NetworkTopologyComparisonWithParser (1 ms) [ RUN ] TreeTraversal.NetworkTopologyComparisonWithParser2 [ OK ] TreeTraversal.NetworkTopologyComparisonWithParser2 (1 ms) [ RUN ] TreeTraversal.NetworkTopologyComparisonComplex [ OK ] TreeTraversal.NetworkTopologyComparisonComplex (11 ms) [----------] 6 tests from TreeTraversal (20 ms total)
[----------] 1 test from VectorInput [ RUN ] VectorInput.NotConnected [ OK ] VectorInput.NotConnected (0 ms) [----------] 1 test from VectorInput (0 ms total)
[----------] 5 tests from VectorOutput [ RUN ] VectorOutput.Integer [ OK ] VectorOutput.Integer (0 ms) [ RUN ] VectorOutput.Real [ OK ] VectorOutput.Real (0 ms) [ RUN ] VectorOutput.String [ OK ] VectorOutput.String (0 ms) [ RUN ] VectorOutput.VectorInt [ OK ] VectorOutput.VectorInt (0 ms) [ RUN ] VectorOutput.VectorReal [ OK ] VectorOutput.VectorReal (1 ms) [----------] 5 tests from VectorOutput (1 ms total)
[----------] Global test environment tear-down [==========] 131 tests from 16 test cases ran. (177 ms total) [ PASSED ] 124 tests. [ FAILED ] 7 tests, listed below: [ FAILED ] AudioLoader.SimpleLoad [ FAILED ] AudioLoader.SampleFormatConversion [ FAILED ] Network.SimpleVisibleNetwork [ FAILED ] Network.ExecutionNetworkWithComposite [ FAILED ] Scheduler.SourceProxyFork [ FAILED ] TreeTraversal.DepthFirstMap [ FAILED ] TreeTraversal.DepthFirstSearch
7 FAILED TESTS 'run_tests' finished successfully (0.231s) pc-138-129:essentia-unit_test_fixes liaojiafeng$ ./waf run_tests [==========] Running 131 tests from 16 test cases. [----------] Global test environment set-up. [----------] 2 tests from AudioLoader [ RUN ] AudioLoader.SimpleLoad unknown file: Failure C++ exception with description "AudioLoader: Could not open file "test/audio/recorded/cat_purrrr.wav", error = No such file or directory" thrown in the test body. [ FAILED ] AudioLoader.SimpleLoad (5 ms) [ RUN ] AudioLoader.SampleFormatConversion unknown file: Failure C++ exception with description "AudioLoader: Could not open file "test/audio/recorded/cat_purrrr24bit.wav", error = No such file or directory" thrown in the test body. [ FAILED ] AudioLoader.SampleFormatConversion (5 ms) [----------] 2 tests from AudioLoader (10 ms total)
[----------] 3 tests from Composite [ RUN ] Composite.SimplePush [ OK ] Composite.SimplePush (0 ms) [ RUN ] Composite.ReplaceInnerAlgo [ OK ] Composite.ReplaceInnerAlgo (0 ms) [ RUN ] Composite.ExecutionNetwork [ OK ] Composite.ExecutionNetwork (0 ms) [----------] 3 tests from Composite (0 ms total)
[----------] 11 tests from Connectors [ RUN ] Connectors.SimplePush [ OK ] Connectors.SimplePush (0 ms) [ RUN ] Connectors.Memory [ OK ] Connectors.Memory (0 ms) [ RUN ] Connectors.SourceProxy [ OK ] Connectors.SourceProxy (0 ms) [ RUN ] Connectors.MultiReaderTest [ OK ] Connectors.MultiReaderTest (0 ms) [ RUN ] Connectors.SourceProxyConnectBeforeAttach [ OK ] Connectors.SourceProxyConnectBeforeAttach (0 ms) [ RUN ] Connectors.SinkProxy [ OK ] Connectors.SinkProxy (0 ms) [ RUN ] Connectors.Disconnect [ OK ] Connectors.Disconnect (0 ms) [ RUN ] Connectors.MultiConnectDisconnect [ OK ] Connectors.MultiConnectDisconnect (0 ms) [ RUN ] Connectors.ForwardSourceProxy [ OK ] Connectors.ForwardSourceProxy (0 ms) [ RUN ] Connectors.ForwardSinkProxy [ OK ] Connectors.ForwardSinkProxy (0 ms) [ RUN ] Connectors.KindaComplexMess [ OK ] Connectors.KindaComplexMess (0 ms) [----------] 11 tests from Connectors (1 ms total)
[----------] 5 tests from Copy [ RUN ] Copy.Integer [ OK ] Copy.Integer (0 ms) [ RUN ] Copy.Real [ OK ] Copy.Real (0 ms) [ RUN ] Copy.String [ OK ] Copy.String (0 ms) [ RUN ] Copy.VectorInt [ OK ] Copy.VectorInt (1 ms) [ RUN ] Copy.VectorReal [ OK ] Copy.VectorReal (0 ms) [----------] 5 tests from Copy (1 ms total)
[----------] 11 tests from FileOutput [ RUN ] FileOutput.Real [ OK ] FileOutput.Real (0 ms) [ RUN ] FileOutput.String [ OK ] FileOutput.String (1 ms) [ RUN ] FileOutput.VectorReal [ OK ] FileOutput.VectorReal (0 ms) [ RUN ] FileOutput.VectorString [ OK ] FileOutput.VectorString (5 ms) [ RUN ] FileOutput.Complex [ OK ] FileOutput.Complex (0 ms) [ RUN ] FileOutput.VectorComplexReal [ OK ] FileOutput.VectorComplexReal (7 ms) [ RUN ] FileOutput.Array1D [ OK ] FileOutput.Array1D (1 ms) [ RUN ] FileOutput.Array2D [ OK ] FileOutput.Array2D (6 ms) [ RUN ] FileOutput.DifferentTypes [ OK ] FileOutput.DifferentTypes (1 ms) [ RUN ] FileOutput.DifferentSizes [ OK ] FileOutput.DifferentSizes (0 ms) [ RUN ] FileOutput.InvalidParam [ OK ] FileOutput.InvalidParam (0 ms) [----------] 11 tests from FileOutput (21 ms total)
[----------] 1 test from Math [ RUN ] Math.NextPowerOfTwo [ OK ] Math.NextPowerOfTwo (0 ms) [----------] 1 test from Math (0 ms total)
[----------] 14 tests from Network [ RUN ] Network.SimpleVisibleNetwork unknown file: Failure C++ exception with description "AudioLoader: Could not open file "test/audio/recorded/cat_purrrr.wav", error = No such file or directory" thrown in the test body. [ FAILED ] Network.SimpleVisibleNetwork (7 ms) [ RUN ] Network.SimpleExecutionNetwork [ OK ] Network.SimpleExecutionNetwork (34 ms) [ RUN ] Network.ExecutionNetworkWithComposite unknown file: Failure C++ exception with description "AudioLoader: Could not open file "test/audio/recorded/cat_purrrr.wav", error = No such file or directory" thrown in the test body. [ FAILED ] Network.ExecutionNetworkWithComposite (4 ms) [ RUN ] Network.ExecutionNetworkKeyExtractor [ OK ] Network.ExecutionNetworkKeyExtractor (15 ms) [ RUN ] Network.ExecutionNetworkKeyExtractorConnected [ OK ] Network.ExecutionNetworkKeyExtractorConnected (11 ms) [ RUN ] Network.Complex1 [ OK ] Network.Complex1 (0 ms) [ RUN ] Network.Complex2 [ OK ] Network.Complex2 (1 ms) [ RUN ] Network.Complex3 [ OK ] Network.Complex3 (0 ms) [ RUN ] Network.Complex4 [ OK ] Network.Complex4 (0 ms) [ RUN ] Network.Complex5 [ OK ] Network.Complex5 (1 ms) [ RUN ] Network.Complex6 [ OK ] Network.Complex6 (1 ms) [ RUN ] Network.DiamondShape [ OK ] Network.DiamondShape (0 ms) [ RUN ] Network.DiamondShape2 [ OK ] Network.DiamondShape2 (1 ms) [ RUN ] Network.TeeProxyComposite [ OK ] Network.TeeProxyComposite (0 ms) [----------] 14 tests from Network (75 ms total)
[----------] 11 tests from NetworkParser [ RUN ] NetworkParser.SimpleBox [ OK ] NetworkParser.SimpleBox (0 ms) [ RUN ] NetworkParser.BrokenBox [ OK ] NetworkParser.BrokenBox (0 ms) [ RUN ] NetworkParser.BrokenBox2 [ OK ] NetworkParser.BrokenBox2 (0 ms) [ RUN ] NetworkParser.MultiBoxes [ OK ] NetworkParser.MultiBoxes (0 ms) [ RUN ] NetworkParser.MultiBoxesWithNoise [ OK ] NetworkParser.MultiBoxesWithNoise (0 ms) [ RUN ] NetworkParser.Connections [ OK ] NetworkParser.Connections (0 ms) [ RUN ] NetworkParser.ConnectionsAndInstantiation [ OK ] NetworkParser.ConnectionsAndInstantiation (6 ms) [ RUN ] NetworkParser.FunkyConnections [ OK ] NetworkParser.FunkyConnections (1 ms) [ RUN ] NetworkParser.MultipleConnections [ OK ] NetworkParser.MultipleConnections (0 ms) [ RUN ] NetworkParser.InfiniteSplit [ OK ] NetworkParser.InfiniteSplit (0 ms) [ RUN ] NetworkParser.BrokenBBox [ OK ] NetworkParser.BrokenBBox (0 ms) [----------] 11 tests from NetworkParser (7 ms total)
[----------] 24 tests from Parameter [ RUN ] Parameter.EqualityReal [ OK ] Parameter.EqualityReal (0 ms) [ RUN ] Parameter.RealToString [ OK ] Parameter.RealToString (0 ms) [ RUN ] Parameter.EqualityString [ OK ] Parameter.EqualityString (0 ms) [ RUN ] Parameter.StringToString [ OK ] Parameter.StringToString (0 ms) [ RUN ] Parameter.EqualityBool [ OK ] Parameter.EqualityBool (0 ms) [ RUN ] Parameter.BoolToString [ OK ] Parameter.BoolToString (0 ms) [ RUN ] Parameter.EqualityInt [ OK ] Parameter.EqualityInt (0 ms) [ RUN ] Parameter.IntToString [ OK ] Parameter.IntToString (0 ms) [ RUN ] Parameter.ToLower [ OK ] Parameter.ToLower (0 ms) [ RUN ] Parameter.EqualityVectorReal [ OK ] Parameter.EqualityVectorReal (0 ms) [ RUN ] Parameter.EqualityVectorString [ OK ] Parameter.EqualityVectorString (0 ms) [ RUN ] Parameter.VectorStringToString [ OK ] Parameter.VectorStringToString (0 ms) [ RUN ] Parameter.EqualityMapReal [ OK ] Parameter.EqualityMapReal (0 ms) [ RUN ] Parameter.EqualityMapVectorReal [ OK ] Parameter.EqualityMapVectorReal (0 ms) [ RUN ] Parameter.MapVectorIntToString [ OK ] Parameter.MapVectorIntToString (0 ms) [ RUN ] Parameter.ToReal [ OK ] Parameter.ToReal (0 ms) [ RUN ] Parameter.ToBool [ OK ] Parameter.ToBool (0 ms) [ RUN ] Parameter.ToInt [ OK ] Parameter.ToInt (0 ms) [ RUN ] Parameter.ToDouble [ OK ] Parameter.ToDouble (0 ms) [ RUN ] Parameter.ToFloat [ OK ] Parameter.ToFloat (0 ms) [ RUN ] Parameter.ToVectorReal [ OK ] Parameter.ToVectorReal (0 ms) [ RUN ] Parameter.ToMapReal [ OK ] Parameter.ToMapReal (0 ms) [ RUN ] Parameter.NotConvertible [ OK ] Parameter.NotConvertible (0 ms) [ RUN ] Parameter.ParamToStream [ OK ] Parameter.ParamToStream (0 ms) [----------] 24 tests from Parameter (1 ms total)
[----------] 15 tests from Peak [ RUN ] Peak.Constructor [ OK ] Peak.Constructor (0 ms) [ RUN ] Peak.Assignment [ OK ] Peak.Assignment (0 ms) [ RUN ] Peak.Equality [ OK ] Peak.Equality (0 ms) [ RUN ] Peak.Greater [ OK ] Peak.Greater (0 ms) [ RUN ] Peak.Less [ OK ] Peak.Less (0 ms) [ RUN ] Peak.PeaksToReals [ OK ] Peak.PeaksToReals (0 ms) [ RUN ] Peak.RealsToPeaks [ OK ] Peak.RealsToPeaks (0 ms) [ RUN ] Peak.SortMagnitudeDescendingPositionDescending [ OK ] Peak.SortMagnitudeDescendingPositionDescending (0 ms) [ RUN ] Peak.SortMagnitudeAscendingPositionDescending [ OK ] Peak.SortMagnitudeAscendingPositionDescending (0 ms) [ RUN ] Peak.SortMagnitudeDescendingPositionAscending [ OK ] Peak.SortMagnitudeDescendingPositionAscending (0 ms) [ RUN ] Peak.SortMagnitudeAscendingPositionAscending [ OK ] Peak.SortMagnitudeAscendingPositionAscending (0 ms) [ RUN ] Peak.SortPositionDescendingMagnitudeDescending [ OK ] Peak.SortPositionDescendingMagnitudeDescending (0 ms) [ RUN ] Peak.SortPositionAscendingMagnitudeDescending [ OK ] Peak.SortPositionAscendingMagnitudeDescending (0 ms) [ RUN ] Peak.SortPositionDescendingMagnitudeAscending [ OK ] Peak.SortPositionDescendingMagnitudeAscending (0 ms) [ RUN ] Peak.SortPositionAscendingMagnitudeAscending [ OK ] Peak.SortPositionAscendingMagnitudeAscending (0 ms) [----------] 15 tests from Peak (0 ms total)
[----------] 16 tests from Pool [ RUN ] Pool.RealPoolSimple [ OK ] Pool.RealPoolSimple (0 ms) [ RUN ] Pool.RealPoolMultiple [ OK ] Pool.RealPoolMultiple (0 ms) [ RUN ] Pool.RealPoolMultipleLabels [ OK ] Pool.RealPoolMultipleLabels (0 ms) [ RUN ] Pool.RealVectorPoolSimple [ OK ] Pool.RealVectorPoolSimple (0 ms) [ RUN ] Pool.RealVectorPoolMultiple [ OK ] Pool.RealVectorPoolMultiple (0 ms) [ RUN ] Pool.RealVectorPoolMultipleLabels [ OK ] Pool.RealVectorPoolMultipleLabels (0 ms) [ RUN ] Pool.RealVectorEmpty [ OK ] Pool.RealVectorEmpty (0 ms) [ RUN ] Pool.MissingDescriptorName [ OK ] Pool.MissingDescriptorName (0 ms) [ RUN ] Pool.Remove [ OK ] Pool.Remove (0 ms) [ RUN ] Pool.StringPoolSimple [ OK ] Pool.StringPoolSimple (0 ms) [ RUN ] Pool.StringPoolMultiple [ OK ] Pool.StringPoolMultiple (0 ms) [ RUN ] Pool.StringPoolMultipleLabels [ OK ] Pool.StringPoolMultipleLabels (0 ms) [ RUN ] Pool.StringVectorPoolMultiple [ OK ] Pool.StringVectorPoolMultiple (0 ms) [ RUN ] Pool.StringVectorEmpty [ OK ] Pool.StringVectorEmpty (0 ms) [ RUN ] Pool.DescriptorNames [ OK ] Pool.DescriptorNames (0 ms) [ RUN ] Pool.IntegrityCheck [ OK ] Pool.IntegrityCheck (0 ms) [----------] 16 tests from Pool (0 ms total)
[----------] 1 test from Scheduler [ RUN ] Scheduler.SourceProxyFork unknown file: Failure C++ exception with description "AudioLoader: Could not open file "test/audio/recorded/cat_purrrr.wav", error = No such file or directory" thrown in the test body. [ FAILED ] Scheduler.SourceProxyFork (3 ms) [----------] 1 test from Scheduler (3 ms total)
[----------] 5 tests from StringUtil [ RUN ] StringUtil.TokenizeSimple [ OK ] StringUtil.TokenizeSimple (0 ms) [ RUN ] StringUtil.TokenizeEmpty [ OK ] StringUtil.TokenizeEmpty (0 ms) [ RUN ] StringUtil.Strip [ OK ] StringUtil.Strip (0 ms) [ RUN ] StringUtil.Lower [ OK ] StringUtil.Lower (0 ms) [ RUN ] StringUtil.Upper [ OK ] StringUtil.Upper (0 ms) [----------] 5 tests from StringUtil (0 ms total)
[----------] 6 tests from TreeTraversal [ RUN ] TreeTraversal.DepthFirstMap unknown file: Failure C++ exception with description "AudioLoader: Could not open file "test/audio/recorded/cat_purrrr.wav", error = No such file or directory" thrown in the test body. [ FAILED ] TreeTraversal.DepthFirstMap (5 ms) [ RUN ] TreeTraversal.DepthFirstSearch unknown file: Failure C++ exception with description "AudioLoader: Could not open file "test/audio/recorded/cat_purrrr.wav", error = No such file or directory" thrown in the test body. [ FAILED ] TreeTraversal.DepthFirstSearch (3 ms) [ RUN ] TreeTraversal.NetworkTopologyComparison [ OK ] TreeTraversal.NetworkTopologyComparison (0 ms) [ RUN ] TreeTraversal.NetworkTopologyComparisonWithParser [ OK ] TreeTraversal.NetworkTopologyComparisonWithParser (0 ms) [ RUN ] TreeTraversal.NetworkTopologyComparisonWithParser2 [ OK ] TreeTraversal.NetworkTopologyComparisonWithParser2 (0 ms) [ RUN ] TreeTraversal.NetworkTopologyComparisonComplex [ OK ] TreeTraversal.NetworkTopologyComparisonComplex (1 ms) [----------] 6 tests from TreeTraversal (9 ms total)
[----------] 1 test from VectorInput [ RUN ] VectorInput.NotConnected [ OK ] VectorInput.NotConnected (0 ms) [----------] 1 test from VectorInput (0 ms total)
[----------] 5 tests from VectorOutput [ RUN ] VectorOutput.Integer [ OK ] VectorOutput.Integer (0 ms) [ RUN ] VectorOutput.Real [ OK ] VectorOutput.Real (0 ms) [ RUN ] VectorOutput.String [ OK ] VectorOutput.String (0 ms) [ RUN ] VectorOutput.VectorInt [ OK ] VectorOutput.VectorInt (0 ms) [ RUN ] VectorOutput.VectorReal [ OK ] VectorOutput.VectorReal (0 ms) [----------] 5 tests from VectorOutput (0 ms total)
[----------] Global test environment tear-down [==========] 131 tests from 16 test cases ran. (128 ms total) [ PASSED ] 124 tests. [ FAILED ] 7 tests, listed below: [ FAILED ] AudioLoader.SimpleLoad [ FAILED ] AudioLoader.SampleFormatConversion [ FAILED ] Network.SimpleVisibleNetwork [ FAILED ] Network.ExecutionNetworkWithComposite [ FAILED ] Scheduler.SourceProxyFork [ FAILED ] TreeTraversal.DepthFirstMap [ FAILED ] TreeTraversal.DepthFirstSearch
7 FAILED TESTS
config.log:
project essentia (2.1-dev) configured on Tue Nov 8 21:42:56 2016 by
waf 1.7.9 (abi 98, python 2070cf0 on darwin)
using ./waf configure --mode=release --build-static --with-python --with-cpptests --with-examples --with-vamp
#
Setting top to /Users/liaojiafeng/Downloads/essentia-unit_test_fixes
Setting out to /Users/liaojiafeng/Downloads/essentia-unit_test_fixes/build
Checking for 'g++' (c++ compiler) find program=['g++', 'c++'] paths=['/usr/local/bin', '/usr/local/sbin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/3.5/bin', '/Users/liaojiafeng/.rvm/gems/ruby-2.2.1/bin', '/Users/liaojiafeng/.rvm/gems/ruby-2.2.1@global/bin', '/Users/liaojiafeng/.rvm/rubies/ruby-2.2.1/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/3.4/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/3.4/bin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/opt/X11/bin', '/Users/liaojiafeng/.rvm/bin'] var='CXX' -> '/usr/bin/g++' find program=['ar'] paths=['/usr/local/bin', '/usr/local/sbin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/3.5/bin', '/Users/liaojiafeng/.rvm/gems/ruby-2.2.1/bin', '/Users/liaojiafeng/.rvm/gems/ruby-2.2.1@global/bin', '/Users/liaojiafeng/.rvm/rubies/ruby-2.2.1/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/3.4/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/3.4/bin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/opt/X11/bin', '/Users/liaojiafeng/.rvm/bin'] var='AR' -> '/usr/bin/ar' /usr/bin/g++
Checking for 'gcc' (c compiler) find program=['gcc', 'cc'] paths=['/usr/local/bin', '/usr/local/sbin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/3.5/bin', '/Users/liaojiafeng/.rvm/gems/ruby-2.2.1/bin', '/Users/liaojiafeng/.rvm/gems/ruby-2.2.1@global/bin', '/Users/liaojiafeng/.rvm/rubies/ruby-2.2.1/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/3.4/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/3.4/bin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/opt/X11/bin', '/Users/liaojiafeng/.rvm/bin'] var='CC' -> '/usr/bin/gcc' (tool ar is already loaded, skipping) /usr/bin/gcc
Checking for program pkg-config /usr/local/bin/pkg-config find program=['pkg-config'] paths=['/usr/local/bin', '/usr/local/sbin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/3.5/bin', '/Users/liaojiafeng/.rvm/gems/ruby-2.2.1/bin', '/Users/liaojiafeng/.rvm/gems/ruby-2.2.1@global/bin', '/Users/liaojiafeng/.rvm/rubies/ruby-2.2.1/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/3.4/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/3.4/bin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/opt/X11/bin', '/Users/liaojiafeng/.rvm/bin'] var='PKGCONFIG' -> '/usr/local/bin/pkg-config'
Checking for 'libavcodec' >= 55.34.1 ['/usr/local/bin/pkg-config', 'libavcodec >= 55.34.1', '--cflags', '--libs', '--modversion', 'libavcodec'] out: -I/usr/local/Cellar/ffmpeg/3.2/include -L/usr/local/Cellar/ffmpeg/3.2/lib -lavcodec
err: Ignoring incompatible output option "--modversion"
yes
Checking for 'libavformat' ['/usr/local/bin/pkg-config', '--cflags', '--libs', '--modversion', 'libavformat'] out: -I/usr/local/Cellar/ffmpeg/3.2/include -L/usr/local/Cellar/ffmpeg/3.2/lib -lavformat
err: Ignoring incompatible output option "--modversion"
yes
Checking for 'libavutil' ['/usr/local/bin/pkg-config', '--cflags', '--libs', '--modversion', 'libavutil'] out: -I/usr/local/Cellar/ffmpeg/3.2/include -L/usr/local/Cellar/ffmpeg/3.2/lib -lavutil
err: Ignoring incompatible output option "--modversion"
yes
Checking for 'libavresample' ['/usr/local/bin/pkg-config', '--cflags', '--libs', '--modversion', 'libavresample'] out: -I/usr/local/Cellar/ffmpeg/3.2/include -L/usr/local/Cellar/ffmpeg/3.2/lib -lavresample
err: Ignoring incompatible output option "--modversion"
yes
Checking for 'samplerate' ['/usr/local/bin/pkg-config', '--cflags', '--libs', '--modversion', 'samplerate'] out: -I/usr/local/Cellar/libsamplerate/0.1.9/include -L/usr/local/Cellar/libsamplerate/0.1.9/lib -lsamplerate
err: Ignoring incompatible output option "--modversion"
yes
Checking for 'taglib' >= 1.9 ['/usr/local/bin/pkg-config', 'taglib >= 1.9', '--cflags', '--libs', '--modversion', 'taglib'] out: -I/usr/local/Cellar/taglib/1.11.1/include/taglib -L/usr/local/Cellar/taglib/1.11.1/lib -ltag
err: Ignoring incompatible output option "--modversion"
yes
Checking for 'yaml-0.1' ['/usr/local/bin/pkg-config', '--cflags', '--libs', '--modversion', 'yaml-0.1'] out: -L/usr/local/Cellar/libyaml/0.1.7/lib -lyaml
err: Ignoring incompatible output option "--modversion"
yes
Checking for 'fftw3f' ['/usr/local/bin/pkg-config', '--cflags', '--libs', '--modversion', 'fftw3f'] out: -I/usr/local/Cellar/fftw/3.3.5/include -L/usr/local/Cellar/fftw/3.3.5/lib -lfftw3f
err: Ignoring incompatible output option "--modversion"
yes
Checking for program python /usr/local/bin/python find program=['python'] paths=['/usr/local/bin', '/usr/local/sbin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/3.5/bin', '/Users/liaojiafeng/.rvm/gems/ruby-2.2.1/bin', '/Users/liaojiafeng/.rvm/gems/ruby-2.2.1@global/bin', '/Users/liaojiafeng/.rvm/rubies/ruby-2.2.1/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/3.4/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/3.4/bin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/opt/X11/bin', '/Users/liaojiafeng/.rvm/bin'] var='PYTHON' -> '/usr/local/bin/python' ['/usr/local/bin/python', '-c', 'import sys\nfor x in sys.version_info: print(str(x))'] out: 2 7 12 final 0
['/usr/local/bin/python', '-c', "from distutils.sysconfig import get_config_var, get_python_lib\n\nprint(repr(get_python_lib(standard_lib=0, prefix='/usr/local') or ''))"] out: '/usr/local/lib/python2.7/site-packages'
'/usr/local/lib/python2.7/site-packages'
['/usr/local/bin/python', '-c', "from distutils.sysconfig import get_config_var, get_python_lib\n\nprint(repr(get_python_lib(plat_specific=1, standard_lib=0, prefix='/usr/local') or ''))"] out: '/usr/local/lib/python2.7/site-packages'
'/usr/local/lib/python2.7/site-packages'
Checking for python version (2, 7, 12, 'final', 0) ['/usr/local/bin/python', '-c', "from distutils.sysconfig import get_config_var, get_python_lib\n\nprint(repr(get_config_var('prefix') or ''))\nprint(repr(get_config_var('SO') or ''))\nprint(repr(get_config_var('LDFLAGS') or ''))\nprint(repr(get_config_var('LIBDIR') or ''))\nprint(repr(get_config_var('LIBPL') or ''))\nprint(repr(get_config_var('INCLUDEPY') or ''))\nprint(repr(get_config_var('Py_ENABLE_SHARED') or ''))\nprint(repr(get_config_var('MACOSX_DEPLOYMENT_TARGET') or ''))\nprint(repr(get_config_var('LDSHARED') or ''))\nprint(repr(get_config_var('CFLAGS') or ''))"] out: '/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7' '.so' '' '/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib' '/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config' '/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/include/python2.7' '' '10.12' 'clang -bundle -undefined dynamic_lookup' '-fno-strict-aliasing -fno-common -dynamic -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes'
'/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7' '.so' '' '/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib' '/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config' '/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/include/python2.7' '' '10.12' 'clang -bundle -undefined dynamic_lookup' '-fno-strict-aliasing -fno-common -dynamic -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes'
Configuration returned from ['/usr/local/bin/python']: "prefix = '/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7'\nSO = '.so'\nLDFLAGS = ''\nLIBDIR = '/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib'\nLIBPL = '/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config'\nINCLUDEPY = '/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/include/python2.7'\nPy_ENABLE_SHARED = ''\nMACOSX_DEPLOYMENT_TARGET = '10.12'\nLDSHARED = 'clang -bundle -undefined dynamic_lookup'\nCFLAGS = '-fno-strict-aliasing -fno-common -dynamic -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes'"
try again with -L$python_LIBDIR: ['/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib']
Checking for library python2.7 in LIBDIR ==>
int main(int argc, char **argv) { (void)argc; (void)argv; return 0; }
<== [1/2] [32mcxx: build/.conf_check_b1f4baf1a7dbc2d66d30c386d13c39fd/test.cpp -> build/.conf_check_b1f4baf1a7dbc2d66d30c386d13c39fd/testbuild/test.cpp.1.o [0m ['/usr/bin/g++', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-fno-strict-aliasing', '-fno-common', '-dynamic', '-fwrapv', '-fPIC', '-DGTEST_HAS_TR1_TUPLE=0', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_AVRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/local/lib/python2.7/site-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python2.7/site-packages"', '-DNDEBUG', '../test.cpp', '-c', '-o', 'test.cpp.1.o'] [2/2] [33mcxxprogram: build/.conf_check_b1f4baf1a7dbc2d66d30c386d13c39fd/testbuild/test.cpp.1.o -> build/.conf_check_b1f4baf1a7dbc2d66d30c386d13c39fd/testbuild/testprog [0m ['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/liaojiafeng/Downloads/essentia-unit_test_fixes/build/.conf_check_b1f4baf1a7dbc2d66d30c386d13c39fd/testbuild/testprog', '-L/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib', '-lpython2.7'] yes
Checking for program /usr/local/bin/python-config,python2.7-config,python-config-2.7,python2.7m-config /usr/local/bin/python-config find program=['/usr/local/bin/python-config', 'python2.7-config', 'python-config-2.7', 'python2.7m-config'] paths=['/usr/local/bin', '/usr/local/sbin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/3.5/bin', '/Users/liaojiafeng/.rvm/gems/ruby-2.2.1/bin', '/Users/liaojiafeng/.rvm/gems/ruby-2.2.1@global/bin', '/Users/liaojiafeng/.rvm/rubies/ruby-2.2.1/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/3.4/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks/Python.framework/Versions/3.4/bin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/opt/X11/bin', '/Users/liaojiafeng/.rvm/bin'] var='PYTHON_CONFIG' -> '/usr/local/bin/python-config' ['/usr/local/bin/python-config', '--includes'] out: -I/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/include/python2.7
Include path for Python extensions (found via python-config --includes): ['/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/include/python2.7']
Checking for header Python.h ==>
include
ifdef __cplusplus
extern "C" {
endif
ifdef __cplusplus
}
endif
int main(int argc, char **argv) { (void)argc; (void)argv; Py_Initialize(); Py_Finalize(); return 0; }
<== [1/2] [32mcxx: build/.conf_check_1f933b02106127ce3a9f4633a0e368e7/test.cpp -> build/.conf_check_1f933b02106127ce3a9f4633a0e368e7/testbuild/test.cpp.1.o [0m ['/usr/bin/g++', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-fno-strict-aliasing', '-fno-common', '-dynamic', '-fwrapv', '-fno-strict-aliasing', '-fPIC', '-I/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/include/python2.7', '-DGTEST_HAS_TR1_TUPLE=0', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_AVRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/local/lib/python2.7/site-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python2.7/site-packages"', '-DNDEBUG', '../test.cpp', '-c', '-o', 'test.cpp.1.o'] [2/2] [33mcxxprogram: build/.conf_check_1f933b02106127ce3a9f4633a0e368e7/testbuild/test.cpp.1.o -> build/.conf_check_1f933b02106127ce3a9f4633a0e368e7/testbuild/testprog [0m ['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/liaojiafeng/Downloads/essentia-unit_test_fixes/build/.conf_check_1f933b02106127ce3a9f4633a0e368e7/testbuild/testprog', '-L/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib', '-lpython2.7'] yes
cannot find where the problem is.