[vlc-devel] commit: testapi.c: Use ../../modules too. (Pierre d'Herbemont )

Pierre d'Herbemont pdherbemont at free.fr
Fri Mar 28 15:42:42 CET 2008


On Mar 28, 2008, at 3:27 PM, Rémi Denis-Courmont wrote:

> Le Friday 28 March 2008 16:21:50 Pierre d'Herbemont, vous avez écrit :
>>>> testapi.c: Use ../../modules too.
>>>
>>> Hmm??? modules are always in ../modules !
>>
>> Not on jones. vlc is in .libs/vlc so the relative starts from here.
>
> So? --plugin-path is supposed to be relative to the CWD, not to the  
> VLC
> binary. As it happens tests are run from src/, hence ../modules/.

Gosh, then it's a bug in our Mac OS X code.

>>> Also, modules are built after src/, so modules/ is empty when
>>> running the
>>> testsuite. Besides, many modules are _not_ always built.
>>
>> well, make check is run after the module on our buildbot... So that's
>> a good start.
>>
>> But good point, I need to think about that a bit more. Some core
>> functions are not testable without some proper modules. (file  
>> playback
>> needs some modules). So...
>
> That's an easy one, just move libvlc-control and its test suite out  
> of src/
> into something that's built AFTER modules/.

oh.

> Still, should try to play a file format which is guaranteed to be  
> supported,
> _not_ Ogg Vorbis, and force an "harmless" audio output, e.g. file.


Agreed. I'll try to checkin a simple video file, supported by default.

Pierre.


More information about the vlc-devel mailing list