| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1709,10 +1709,10 @@ quicktest: @DEF_MAKE_RULE@ platform | |||
| 1709 | 1709 | # SSL tests | |
| 1710 | 1710 | .PHONY: multisslcompile multissltest | |
| 1711 | 1711 | multisslcompile: build_all | |
| 1712 | - $(RUNSHARED) ./$(BUILDPYTHON) Tools/ssl/multissltests.py --steps=modules | ||
| 1712 | + $(RUNSHARED) ./$(BUILDPYTHON) $(srcdir)/Tools/ssl/multissltests.py --steps=modules | ||
| 1713 | 1713 | ||
| 1714 | 1714 | multissltest: build_all | |
| 1715 | - $(RUNSHARED) ./$(BUILDPYTHON) Tools/ssl/multissltests.py | ||
| 1715 | + $(RUNSHARED) ./$(BUILDPYTHON) $(srcdir)/Tools/ssl/multissltests.py | ||
| 1716 | 1716 | ||
| 1717 | 1717 | install: @FRAMEWORKINSTALLFIRST@ commoninstall bininstall maninstall @FRAMEWORKINSTALLLAST@ | |
| 1718 | 1718 | if test "x$(ENSUREPIP)" != "xno" ; then \ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -153,8 +153,10 @@ class AbstractBuilder(object): | |||
| 153 | 153 | install_target = 'install' | |
| 154 | 154 | jobs = os.cpu_count() | |
| 155 | 155 | ||
| 156 | - module_files = ("Modules/_ssl.c", | ||
| 157 | - "Modules/_hashopenssl.c") | ||
| 156 | + module_files = ( | ||
| 157 | + os.path.join(PYTHONROOT, "Modules/_ssl.c"), | ||
| 158 | + os.path.join(PYTHONROOT, "Modules/_hashopenssl.c"), | ||
| 159 | + ) | ||
| 158 | 160 | module_libs = ("_ssl", "_hashlib") | |
| 159 | 161 | ||
| 160 | 162 | def __init__(self, version, args): | |
@@ -357,7 +359,7 @@ def recompile_pymods(self): | |||
| 357 | 359 | env["LD_RUN_PATH"] = self.lib_dir | |
| 358 | 360 | ||
| 359 | 361 | log.info("Rebuilding Python modules") | |
| 360 | - cmd = [sys.executable, "setup.py", "build"] | ||
| 362 | + cmd = [sys.executable, os.path.join(PYTHONROOT, "setup.py"), "build"] | ||
| 361 | 363 | self._subprocess_call(cmd, env=env) | |
| 362 | 364 | self.check_imports() | |
| 363 | 365 | ||
@@ -372,7 +374,11 @@ def check_pyssl(self): | |||
| 372 | 374 | ||
| 373 | 375 | def run_python_tests(self, tests, network=True): | |
| 374 | 376 | if not tests: | |
| 375 | - cmd = [sys.executable, 'Lib/test/ssltests.py', '-j0'] | ||
| 377 | + cmd = [ | ||
| 378 | + sys.executable, | ||
| 379 | + os.path.join(PYTHONROOT, 'Lib/test/ssltests.py'), | ||
| 380 | + '-j0' | ||
| 381 | + ] | ||
| 376 | 382 | elif sys.version_info < (3, 3): | |
| 377 | 383 | cmd = [sys.executable, '-m', 'test.regrtest'] | |
| 378 | 384 | else: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments