##// END OF EJS Templates
test-install: perform the wix checking on wdir() instead of "."...
Matt Harbison -
r27442:f67c6d8c default
parent child Browse files
Show More
@@ -42,6 +42,7 b' path variables are expanded (~ is the sa'
42 checking username...
42 checking username...
43 no problems detected
43 no problems detected
44
44
45 #if test-repo
45 $ cat >> wixxml.py << EOF
46 $ cat >> wixxml.py << EOF
46 > import os, subprocess, sys
47 > import os, subprocess, sys
47 > import xml.etree.ElementTree as ET
48 > import xml.etree.ElementTree as ET
@@ -66,7 +67,7 b' path variables are expanded (~ is the sa'
66 > def hgdirectory(relpath):
67 > def hgdirectory(relpath):
67 > '''generator of tracked files, rooted at relpath'''
68 > '''generator of tracked files, rooted at relpath'''
68 > hgdir = "%s/../mercurial" % (testdir)
69 > hgdir = "%s/../mercurial" % (testdir)
69 > args = ['hg', '--cwd', hgdir, 'files', '--rev', '.', relpath]
70 > args = ['hg', '--cwd', hgdir, 'files', relpath]
70 > proc = subprocess.Popen(args, stdout=subprocess.PIPE,
71 > proc = subprocess.Popen(args, stdout=subprocess.PIPE,
71 > stderr=subprocess.PIPE)
72 > stderr=subprocess.PIPE)
72 > output = proc.communicate()[0]
73 > output = proc.communicate()[0]
@@ -108,3 +109,5 b' path variables are expanded (~ is the sa'
108 $ python wixxml.py templates
109 $ python wixxml.py templates
109 Not installed:
110 Not installed:
110 Not tracked:
111 Not tracked:
112
113 #endif
General Comments 0
You need to be logged in to leave comments. Login now