Mercurial > hg
view contrib/wix/contrib.wxs @ 15398:474279be5add stable
tests: fix readline escape characters in heredoctest.py/test-url.py
This fix mirrors the changes made to test-doctest.py in b856071435f7
and 967adcf5910d.
Without this change, tests running heredoctest.py can fail on certain
versions of OS X when TERM is set to xterm-256color:
$ /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -m heredoctest <<EOF
> >>> open('b', 'w').write('this' * 1000)
> EOF
+ \x1b[?1034h (no-eol) (esc)
A similar problem occurs with test-url.py:
$ ./run-tests.py test-url.py
--- .../tests/test-url.py.out
+++ .../tests/test-url.py.err
@@ -0,0 +1 @@
+
ERROR: .../test-url.py output changed
!
Failed test-url.py: output changed
# Ran 1 tests, 0 skipped, 1 failed.
author | Brodie Rao <brodie@bitheap.org> |
---|---|
date | Tue, 01 Nov 2011 12:25:54 -0700 |
parents | bd9bc4123920 |
children | 5716d10e89e7 |
line wrap: on
line source
<?xml version="1.0" encoding="utf-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <?include guids.wxi ?> <?include defines.wxi ?> <Fragment> <ComponentGroup Id="contribFolder"> <ComponentRef Id="contrib" /> <ComponentRef Id="contrib.vim" /> </ComponentGroup> </Fragment> <Fragment> <DirectoryRef Id="INSTALLDIR"> <Directory Id="contribdir" Name="contrib" FileSource="$(var.SourceDir)"> <Component Id="contrib" Guid="$(var.contrib.guid)" Win64='$(var.IsX64)'> <File Name="bash_completion" KeyPath="yes" /> <File Name="hgk" /> <File Name="hgweb.fcgi" /> <File Name="hgweb.wsgi" /> <File Name="logo-droplets.svg" /> <File Name="mercurial.el" /> <File Name="sample.hgrc" /> <File Name="tcsh_completion" /> <File Name="tcsh_completion_build.sh" /> <File Name="xml.rnc" /> <File Name="zsh_completion" /> </Component> <Directory Id="vimdir" Name="vim"> <Component Id="contrib.vim" Guid="$(var.contrib.vim.guid)" Win64='$(var.IsX64)'> <File Name="hg-menu.vim" KeyPath="yes" /> <File Name="HGAnnotate.vim" /> <File Name="hgcommand.vim" /> <File Name="patchreview.txt" /> <File Name="patchreview.vim" /> <File Name="hgtest.vim" /> </Component> </Directory> </Directory> </DirectoryRef> </Fragment> </Wix>