Mercurial > hg
view tests/test-ui-config.out @ 8060:84d0fe34427b
run-tests: detect when hghave fails to check for a feature and fail test
hghave exitcode != 0 might mean that hghave failed to check for feature
avaibility. Detect those cases, and fail the test, instead of skipping it.
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Wed, 08 Apr 2009 02:38:23 +0900 |
parents | 9881abfc0e44 |
children | fca54469480e |
line wrap: on
line source
[('bool1', 'true'), ('bool2', 'false'), ('string', 'string value')] [('list1', 'foo'), ('list2', 'foo bar baz'), ('list3', 'alice, bob'), ('list4', 'foo bar baz alice, bob')] Error in configuration section [interpolation]: '%' must be followed by '%' or '(', found: '%bad2' --- 'string value' 'true' 'false' None --- Error in configuration section [values] parameter 'string': Not a boolean: string value True False False False True --- ['foo'] ['foo', 'bar', 'baz'] ['alice', 'bob'] ['foo', 'bar', 'baz', 'alice', 'bob'] ['foo', 'bar', 'baz', 'alice', 'bob'] [] [] ['foo'] ['foo'] ['foo', 'bar'] ['foo', 'bar'] ['foo bar'] ['foo', 'bar'] --- 'hallo' 'hallo world' Error in configuration section [interpolation] parameter 'value3': Bad value substitution: section: [interpolation] option : value3 key : novalue rawval : Error in configuration section [interpolation] parameter 'value4': bad interpolation variable reference '%(bad)1' Error in configuration section [interpolation] parameter 'value5': '%' must be followed by '%' or '(', found: '%bad2' --- No option 'Bar' in section: 'foo' f == function