19 lines
778 B
Plaintext
19 lines
778 B
Plaintext
$OpenBSD: patch-Tests_run_tests_py,v 1.3 2009/06/02 04:48:32 wcmaier Exp $
|
|
--- Tests/run_tests.py.orig Thu Apr 16 04:37:26 2009
|
|
+++ Tests/run_tests.py Mon Jun 1 21:17:37 2009
|
|
@@ -65,11 +65,11 @@ def main(argv):
|
|
# A. Because Martel may not be in ../build/lib.*
|
|
test_path = sys.path[0] or "."
|
|
source_path = os.path.abspath("%s/.." % test_path)
|
|
- sys.path.insert(1, source_path)
|
|
+ #sys.path.insert(1, source_path)
|
|
build_path = os.path.abspath("%s/../build/lib.%s-%s" % (
|
|
test_path, distutils.util.get_platform(), sys.version[:3]))
|
|
- if os.access(build_path, os.F_OK):
|
|
- sys.path.insert(1, build_path)
|
|
+ #if os.access(build_path, os.F_OK):
|
|
+ # sys.path.insert(1, build_path)
|
|
|
|
# get the command line options
|
|
try:
|