Mercurial > hg-stable
changeset 27442:f67c6d8cc606
test-install: perform the wix checking on wdir() instead of "."
This allows catching problems before they are committed.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 17 Dec 2015 21:18:02 -0500 |
parents | ff305ab2e0d7 |
children | 937e73a6e4ff |
files | tests/test-install.t |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-install.t Fri Dec 18 12:54:45 2015 -0800 +++ b/tests/test-install.t Thu Dec 17 21:18:02 2015 -0500 @@ -42,6 +42,7 @@ checking username... no problems detected +#if test-repo $ cat >> wixxml.py << EOF > import os, subprocess, sys > import xml.etree.ElementTree as ET @@ -66,7 +67,7 @@ > def hgdirectory(relpath): > '''generator of tracked files, rooted at relpath''' > hgdir = "%s/../mercurial" % (testdir) - > args = ['hg', '--cwd', hgdir, 'files', '--rev', '.', relpath] + > args = ['hg', '--cwd', hgdir, 'files', relpath] > proc = subprocess.Popen(args, stdout=subprocess.PIPE, > stderr=subprocess.PIPE) > output = proc.communicate()[0] @@ -108,3 +109,5 @@ $ python wixxml.py templates Not installed: Not tracked: + +#endif