acoustid / chromaprint

C library for generating audio fingerprints used by AcoustID
Other
969 stars 132 forks source link

Building v1.5.1, test fails #107

Open mikenye opened 2 years ago

mikenye commented 2 years ago

Hello,

While building version 1.5.1 from source, one of the tests fails:

Make command:

cmake \
      -DCMAKE_BUILD_TYPE=Release \
      -DBUILD_TOOLS=ON \
      -DBUILD_TESTS=ON \
      -DGTEST_SOURCE_DIR=/src/googletest/googletest \
      -DGTEST_INCLUDE_DIR=/src/googletest/googletest/include

Failing test:

[----------] 1 test from FFmpegAudioReaderTest
[ RUN      ] FFmpegAudioReaderTest.ReadRaw
/src/chromaprint/src/audio/ffmpeg_audio_reader_test.cpp:11: Failure
Value of: reader.SetInputFormat("s16le")
  Actual: false
Expected: true
[  FAILED  ] FFmpegAudioReaderTest.ReadRaw (0 ms)
[----------] 1 test from FFmpegAudioReaderTest (0 ms total)

Building using Ubuntu 18.04.

Please let me know if you need any more information, thanks.