aboutsummaryrefslogtreecommitdiff
path: root/tests/check_server_api.py
diff options
context:
space:
mode:
authorOnur Gündüz <ogunduz@gmail.com>2026-06-21 08:42:10 +0200
committerOnur Gündüz <ogunduz@gmail.com>2026-06-21 08:42:10 +0200
commit7a047fd8f0c0f56143b7bb08aa326568abbc2284 (patch)
tree80b7f0f678de5d85aceaede40c223c911d773c2d /tests/check_server_api.py
parentbe5ce08004c640aa5e77cf6155af3d124c66cf3e (diff)
downloadffwd-7a047fd8f0c0f56143b7bb08aa326568abbc2284.tar.gz
ffwd-7a047fd8f0c0f56143b7bb08aa326568abbc2284.zip
tests: point check scripts at the root ffwd-cli/ffwd-server symlinks
Diffstat (limited to 'tests/check_server_api.py')
-rwxr-xr-xtests/check_server_api.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/check_server_api.py b/tests/check_server_api.py
index 421ab9b..cfdc6aa 100755
--- a/tests/check_server_api.py
+++ b/tests/check_server_api.py
@@ -524,8 +524,7 @@ def test_keepalive() -> None:
def main() -> int:
global PORT, VERBOSE
ap = argparse.ArgumentParser(description=__doc__)
- ap.add_argument("--server", default=os.path.join(ROOT, "tools", "server",
- "ffwd-server"),
+ ap.add_argument("--server", default=os.path.join(ROOT, "ffwd-server"),
help="path to the ffwd-server binary")
ap.add_argument("--gen", default=os.path.join(ROOT, "tests", "gen_fixture"),
help="path to the gen_fixture helper")
@@ -533,7 +532,7 @@ def main() -> int:
args = ap.parse_args()
VERBOSE = args.verbose
- ensure_tool(args.server, "tools/server", "all")
+ ensure_tool(args.server, ".", "cpu")
ensure_tool(args.gen, "tests", "gen_fixture")
with tempfile.TemporaryDirectory(prefix="ffwd-server-check-") as workdir: