test-install: perform the wix checking on wdir() instead of "."
authorMatt Harbison <matt_harbison@yahoo.com>
Thu, 17 Dec 2015 21:18:02 -0500
changeset 27442 f67c6d8cc606
parent 27440 ff305ab2e0d7
child 27443 937e73a6e4ff
test-install: perform the wix checking on wdir() instead of "." This allows catching problems before they are committed.
tests/test-install.t
--- 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