(self)
| 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 | |
| 211 | class HttpdTestEnv: |