[vlc-devel] [PATCH] test: do not use config and cache

Rémi Denis-Courmont remi at remlab.net
Wed Apr 8 17:11:29 CEST 2020


Le keskiviikkona 8. huhtikuuta 2020, 18.05.24 EEST Marvin Scholz a écrit :
> On 8 Apr 2020, at 16:59, Rémi Denis-Courmont wrote:
> > Le keskiviikkona 8. huhtikuuta 2020, 16.35.06 EEST Marvin Scholz a
> > 
> > écrit :
> >> ---
> >> 
> >>  test/libvlc/test.h | 2 +-
> >>  1 file changed, 1 insertion(+), 1 deletion(-)
> >> 
> >> diff --git a/test/libvlc/test.h b/test/libvlc/test.h
> >> index 9d58d0d328..a604a44f97 100644
> >> --- a/test/libvlc/test.h
> >> +++ b/test/libvlc/test.h
> >> @@ -47,7 +47,7 @@
> >> 
> >>   */
> >>  
> >>  static const char * test_defaults_args[] = {
> >> 
> >> -    "-v", "--vout=vdummy",
> >> +    "-v", "--vout=vdummy", "--ignore-config", "--no-plugins-cache",
> >> 
> >>  };
> >>  
> >>  static const int test_defaults_nargs =
> > 
> > The first one seems redundant and the second one seems gratuitious and
> > a source
> > of performance problems.
> 
> Why is the --ignore-config redundant?

Because it's the default?

> I added the option for plugin cache as at least on macOS this causes
> errors with VLC trying to read / write the cache from a incorrect location.

And I don't want it because tests are already so slow and I/O intensive as to 
occasionally timeout on my not-ridiculous-underpowered i7 desktop with SSD.

-- 
Rémi Denis-Courmont
Tapiolan uusi kaupunki, Uudenmaan tasavalta





More information about the vlc-devel mailing list