make check fails on win32 build

This forum is about all development around libVLC.
rolznz
New Cone
New Cone
Posts: 2
Joined: 10 Apr 2019 06:53

make check fails on win32 build

Postby rolznz » 10 Apr 2019 07:01

Hi,
I've built VLC for WIn32 following https://wiki.videolan.org/Win32Compile/ and happily am able to run it and make changes.

I've stashed all my changes and ran:

make
make check

I get the following output:

Code: Select all

Making all in test make[2]: Entering directory '/mnt/c/dev/vlc/win32/test' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/mnt/c/dev/vlc/win32/test' make[2]: Entering directory '/mnt/c/dev/vlc/win32' make[2]: Leaving directory '/mnt/c/dev/vlc/win32' make[1]: Leaving directory '/mnt/c/dev/vlc/win32' make check-recursive make[1]: Entering directory '/mnt/c/dev/vlc/win32' Making check in compat make[2]: Entering directory '/mnt/c/dev/vlc/win32/compat' make check-am make[3]: Entering directory '/mnt/c/dev/vlc/win32/compat' make test_strnstr.exe make[4]: Entering directory '/mnt/c/dev/vlc/win32/compat' make[4]: 'test_strnstr.exe' is up to date. make[4]: Leaving directory '/mnt/c/dev/vlc/win32/compat' make check-TESTS make[4]: Entering directory '/mnt/c/dev/vlc/win32/compat' make[5]: Entering directory '/mnt/c/dev/vlc/win32/compat' FAIL: test_strnstr.exe ============================================================================ Testsuite summary for vlc 4.0.0-dev ============================================================================ # TOTAL: 1 # PASS: 0 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 ============================================================================ See compat/test-suite.log ============================================================================ Makefile:1498: recipe for target 'test-suite.log' failed make[5]: *** [test-suite.log] Error 1 make[5]: Leaving directory '/mnt/c/dev/vlc/win32/compat' Makefile:1604: recipe for target 'check-TESTS' failed make[4]: *** [check-TESTS] Error 2 make[4]: Leaving directory '/mnt/c/dev/vlc/win32/compat' Makefile:1677: recipe for target 'check-am' failed make[3]: *** [check-am] Error 2 make[3]: Leaving directory '/mnt/c/dev/vlc/win32/compat' Makefile:1680: recipe for target 'check' failed make[2]: *** [check] Error 2 make[2]: Leaving directory '/mnt/c/dev/vlc/win32/compat' Makefile:1566: recipe for target 'check-recursive' failed make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory '/mnt/c/dev/vlc/win32' Makefile:2024: recipe for target 'check'
compat/test-suite.log:

Code: Select all

========================================== vlc 4.0.0-dev: compat/test-suite.log ========================================== # TOTAL: 1 # PASS: 0 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: test_strnstr ================== FAIL test_strnstr.exe (exit status: 53)
I'm not really sure where to go from here if the tests fail on a fresh build.
Can anyone help me out?
In the mean time, is there another way I can ensure my changes don't break anything before submitting a patch? (e.g. running the tests on a unix build instead)

Thanks!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: make check fails on win32 build

Postby Jean-Baptiste Kempf » 10 Apr 2019 08:50

Read the logs for why strnstr fails.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: make check fails on win32 build

Postby Rémi Denis-Courmont » 10 Apr 2019 18:04

Note that 'make check' only works and only ever will work for native builds.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

rolznz
New Cone
New Cone
Posts: 2
Joined: 10 Apr 2019 06:53

Re: make check fails on win32 build

Postby rolznz » 11 Apr 2019 08:29

Note that 'make check' only works and only ever will work for native builds.
Thank you!


Return to “Development around libVLC”

Who is online

Users browsing this forum: Google [Bot] and 30 guests