drowe67 / codec2

Open source speech codec designed for communications quality speech between 700 and 3200 bit/s. The main application is low bandwidth HF/VHF digital radio.
GNU Lesser General Public License v2.1
201 stars 32 forks source link

ctest failure: test_freedv_api_rawdata_800XA #58

Open tmiw opened 4 months ago

tmiw commented 4 months ago

I recently wiped and redid my MacPorts setup. While making sure I can still build FreeDV, etc., I ended up running into the following ctest failure:

MooneerMBP13700:build mooneer$ ctest -R test_freedv_api_rawdata_800XA -V
UpdateCTestConfiguration  from :/Users/mooneer/devel/codec2/build/DartConfiguration.tcl
Parse Config file:/Users/mooneer/devel/codec2/build/DartConfiguration.tcl
UpdateCTestConfiguration  from :/Users/mooneer/devel/codec2/build/DartConfiguration.tcl
Parse Config file:/Users/mooneer/devel/codec2/build/DartConfiguration.tcl
Test project /Users/mooneer/devel/codec2/build
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 81
    Start 81: test_freedv_api_rawdata_800XA

81: Test command: /bin/sh "-c" "./tfreedv_800XA_rawdata"
81: Working Directory: /Users/mooneer/devel/codec2/build/unittest
81: Test timeout computed to be: 1500
81: freedv_api tests for mode 800XA
81: freedv_open(FREEDV_MODE_800XA) Passed
81: freedv_get_mode() Passed
81: freedv_get_n_max_modem_samples() 660 Passed
81: freedv_get_n_nom_modem_samples() 640 Passed
81: freedv_get_n_speech_samples() 640 Passed
81: freedv_get_n_bits_per_codec_frame() 28 Passed
81: freedv_get_n_bits_per_modem_frame() 56 Passed
81: freedv_codec_frames_from_rawdata() byte 0: 0x12 does not match expected 0x00
81: Test failed
1/1 Test #81: test_freedv_api_rawdata_800XA ....***Failed    0.02 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) =   0.03 sec

The following tests FAILED:
     81 - test_freedv_api_rawdata_800XA (Failed)
Errors while running CTest
Output from these tests are in: /Users/mooneer/devel/codec2/build/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
MooneerMBP13700:build mooneer$

Not sure if this impacts FreeDATA at all but figured I'd add this issue to track it (for whenever it gets looked into).