run-tests.py: ensure that hgpkg is always visible
authorBryan O'Sullivan <bos@serpentine.com>
Fri, 24 Apr 2009 14:40:56 -0700
changeset 8258 2263c49af028
parent 8257 e745063b94dd
child 8259 98acfd1d2b08
run-tests.py: ensure that hgpkg is always visible
tests/run-tests.py
--- a/tests/run-tests.py	Thu Apr 30 08:38:20 2009 +0200
+++ b/tests/run-tests.py	Fri Apr 24 14:40:56 2009 -0700
@@ -38,6 +38,7 @@
 SKIPPED_PREFIX = 'skipped: '
 FAILED_PREFIX  = 'hghave check failed: '
 PYTHON = sys.executable
+hgpkg = None
 
 requiredtools = ["python", "diff", "grep", "unzip", "gunzip", "bunzip2", "sed"]
 
@@ -681,7 +682,6 @@
     COVERAGE_FILE = os.path.join(TESTDIR, ".coverage")
 
     expecthg = os.path.join(HGTMP, 'install', 'lib', 'python', 'mercurial')
-    hgpkg = None
 
     if len(args) == 0:
         args = os.listdir(".")