Mercurial > hg
view contrib/wix/i18n.wxs @ 28033:0707bbec682d
tests: omit -p for external diff via extdiff extension for portability
Before this patch, some tests using external "diff" command via
extdiff extension fail on Solaris, because "-p" (show which C function
each change is in) option isn't supported by system standard "diff" on
Solaris, even though extdiff passes it to external "diff" by default.
Fortunately, this non-portable option isn't important for (current, at
least) tests using external "diff" command via extdiff extension.
This patch omits "-p" for external "diff" command via extdiff
extension for portability of tests, and adds check-code.py a rule to
detect invocation of "diff" with "-p".
Newly added check-code.py rule examines only lines generated by
external "diff" with "-r", because strict examination might
misidentify "hg diff -p" or other complicated lines consisting of
"diff" string as wrong one.
This patch is a part of making tests using external "diff" portable,
and tests below aren't yet portable even after this patch.
test-graft.t
test-largefiles-update.t
test-subrepo-deep-nested-change.t
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Mon, 08 Feb 2016 18:29:17 +0900 |
parents | 86531a7038ed |
children |
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 ?> <?define hg_po_langs = da;de;el;fr;it;ja;pt_BR;ro;ru;sv;zh_CN;zh_TW ?> <Fragment> <DirectoryRef Id="INSTALLDIR"> <Directory Id="i18ndir" Name="i18n" FileSource="$(var.SourceDir)"> <Component Id="i18nFolder" Guid="$(var.i18nFolder.guid)" Win64='$(var.IsX64)'> <File Name="hggettext" KeyPath="yes" /> <?foreach LANG in $(var.hg_po_langs) ?> <File Id="hg.$(var.LANG).po" Name="$(var.LANG).po" /> <?endforeach?> </Component> </Directory> </DirectoryRef> </Fragment> </Wix>