Skip to content

Windows libopenshot builds successfully, but test errors #1007

@xymox12

Description

@xymox12

Hi

I've created a very-much-WIP Windows build env for libopenshot that successfully builds libopenshot but reports these test failures:

25:Caption:caption effect
31:Clip:verify parent Timeline
35:Clip:time remapping
36:Clip:resample_audio_8000_to_48000_reverse
94:FrameMapper:resample_audio_48000_to_41000
95:FrameMapper:resample_audio_mapper
176:Timeline:Multi-threaded Timeline Add/Remove Clip

An example report from LastTest.log is copied further down. The full log, and notes about the build method I used including workarounds, are in my repo:

Any advice? (I didn't downgrade Python from the version MSYS2 installed [3.12.10] as I thought that was supported by the library now.)

Thanks

35/193 Testing: Clip:time remapping
35/193 Test: Clip:time remapping
Command: "C:/shared/libopenshot/build/tests/openshot-Clip-test.exe" "time remapping"
Directory: C:/shared/libopenshot/build/tests
"Clip:time remapping" start time: May 23 12:14 GMT Daylight Time
Output:
----------------------------------------------------------
Filters: "time remapping"
Randomness seeded to: 2108013128

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
openshot-Clip-test.exe is a Catch2 v3.8.1 host application.
Run with -? for options

-------------------------------------------------------------------------------
time remapping
-------------------------------------------------------------------------------
C:/shared/libopenshot/tests/Clip.cpp:375
...............................................................................

C:/shared/libopenshot/tests/Clip.cpp:375: FAILED:
due to unexpected exception with message:
  std::bad_array_new_length

===============================================================================
test cases: 1 | 1 failed
assertions: 1 | 1 failed

[SWR @ 0000025a79820140] Input channel layout "" is invalid or unsupported.
[SWR @ 0000025a79820140] Context has not been initialized
<end of output>
Test time =   6.40 sec
----------------------------------------------------------
Test Failed.
"Clip:time remapping" end time: May 23 12:15 GMT Daylight Time
"Clip:time remapping" time elapsed: 00:00:06
----------------------------------------------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions