comparison tests/run-tests.py @ 8258:2263c49af028

run-tests.py: ensure that hgpkg is always visible
author Bryan O'Sullivan <bos@serpentine.com>
date Fri, 24 Apr 2009 14:40:56 -0700
parents 46293a0c7e9f
children 0b02d98d44d0
comparison
equal deleted inserted replaced
8257:e745063b94dd 8258:2263c49af028
36 # reserved exit code to skip test (used by hghave) 36 # reserved exit code to skip test (used by hghave)
37 SKIPPED_STATUS = 80 37 SKIPPED_STATUS = 80
38 SKIPPED_PREFIX = 'skipped: ' 38 SKIPPED_PREFIX = 'skipped: '
39 FAILED_PREFIX = 'hghave check failed: ' 39 FAILED_PREFIX = 'hghave check failed: '
40 PYTHON = sys.executable 40 PYTHON = sys.executable
41 hgpkg = None
41 42
42 requiredtools = ["python", "diff", "grep", "unzip", "gunzip", "bunzip2", "sed"] 43 requiredtools = ["python", "diff", "grep", "unzip", "gunzip", "bunzip2", "sed"]
43 44
44 defaults = { 45 defaults = {
45 'jobs': ('HGTEST_JOBS', 1), 46 'jobs': ('HGTEST_JOBS', 1),
679 BINDIR = os.environ["BINDIR"] = os.path.join(INST, "bin") 680 BINDIR = os.environ["BINDIR"] = os.path.join(INST, "bin")
680 PYTHONDIR = os.path.join(INST, "lib", "python") 681 PYTHONDIR = os.path.join(INST, "lib", "python")
681 COVERAGE_FILE = os.path.join(TESTDIR, ".coverage") 682 COVERAGE_FILE = os.path.join(TESTDIR, ".coverage")
682 683
683 expecthg = os.path.join(HGTMP, 'install', 'lib', 'python', 'mercurial') 684 expecthg = os.path.join(HGTMP, 'install', 'lib', 'python', 'mercurial')
684 hgpkg = None
685 685
686 if len(args) == 0: 686 if len(args) == 0:
687 args = os.listdir(".") 687 args = os.listdir(".")
688 args.sort() 688 args.sort()
689 689