test-duplicateoptions, inotify

Christian Ebert blacktrash at gmx.net
Wed Jun 22 10:29:35 CDT 2011


* Idan Kamara on Wednesday, June 22, 2011 at 12:54:52 +0300
> On Wed, Jun 22, 2011 at 12:32 PM, Christian Ebert <blacktrash at gmx.net> wrote:
>> $ ./run-tests.py -l test-inotify.t
>> s
>> Skipped test-inotify.t: missing feature: inotify extension support
>> # Ran 0 tests, 1 skipped, 0 failed.
>> 
>>> If I delete hgext/inotify/linux/_inotify.so I get the same error.
>>> 
>>>> 
>>>> succeeds without --local:
>>> 
>>> Probably because it compiles it.
>> 
>> No, it more looks like the local test does not detect/handle the
>> missing inotify.
> 
> Well, the test is simply loading all disabled extensions from your
> local dir, where it finds inotify even though it's not compiled.
> 
> My guess is that when running 'make' where inotify isn't supported,
> it doesn't create its directory in hgext when creating the test installation,
> thus not listing it as a disabled extension.

Right, make install does not install the inotify directory.
Therefore the non-local test passes.

c
-- 
theatre - books - texts - movies
Black Trash Productions at home: http://www.blacktrash.org
Black Trash Productions on Facebook:
http://www.facebook.com/blacktrashproductions


More information about the Mercurial-devel mailing list