MCPcopy Create free account
hub / github.com/apache/httpd / _build_clients

Method _build_clients

test/pyhttpd/env.py:200–208  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

198 fd.write(f"LoadModule aptest_module \"{local_dir}/mod_aptest/.libs/mod_aptest.so\"\n")
199
200 def _build_clients(self):
201 clients_dir = os.path.join(
202 os.path.dirname(os.path.dirname(inspect.getfile(HttpdTestSetup))),
203 'clients')
204 p = subprocess.run(['make'], capture_output=True, cwd=clients_dir)
205 rv = p.returncode
206 if rv != 0:
207 log.error(f"compiling test clients failed: {p.stderr}")
208 raise Exception(f"compiling test clients failed: {p.stderr}")
209
210
211class HttpdTestEnv:

Callers 1

makeMethod · 0.95

Calls 2

joinMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected