changeset 14762:6beb26747430 stable

tests: ignore inotify extension in test-duplicateoptions.py The inotify extension is only available on linux and setup.py will not install it on other platforms - but it will of course always be there in the source. test-duplicateoptions.py tried to load most extensions (including inotify if available). When the local uninstalled Mercurial was used it would thus always load the inotify extension and cause a warning on unsupported platforms. The inotify extension is not relevant for this test, so now we explicitly ignore it.
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 29 Jun 2011 00:19:27 +0200
parents 1a9256cdf10f
children b071cd58af50
files tests/test-duplicateoptions.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-duplicateoptions.py	Sat Jun 25 02:30:17 2011 +0200
+++ b/tests/test-duplicateoptions.py	Wed Jun 29 00:19:27 2011 +0200
@@ -1,7 +1,7 @@
 import os
 from mercurial import ui, commands, extensions
 
-ignore = set(['highlight', 'win32text'])
+ignore = set(['highlight', 'inotify', 'win32text'])
 
 if os.name != 'nt':
     ignore.add('win32mbcs')