diff options
| author | Onur Gündüz <ogunduz@gmail.com> | 2026-06-21 08:42:10 +0200 |
|---|---|---|
| committer | Onur Gündüz <ogunduz@gmail.com> | 2026-06-21 08:42:10 +0200 |
| commit | 7a047fd8f0c0f56143b7bb08aa326568abbc2284 (patch) | |
| tree | 80b7f0f678de5d85aceaede40c223c911d773c2d /tests/check_openai_sdk_compat.py | |
| parent | be5ce08004c640aa5e77cf6155af3d124c66cf3e (diff) | |
| download | ffwd-7a047fd8f0c0f56143b7bb08aa326568abbc2284.tar.gz ffwd-7a047fd8f0c0f56143b7bb08aa326568abbc2284.zip | |
tests: point check scripts at the root ffwd-cli/ffwd-server symlinks
Diffstat (limited to 'tests/check_openai_sdk_compat.py')
| -rw-r--r-- | tests/check_openai_sdk_compat.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/check_openai_sdk_compat.py b/tests/check_openai_sdk_compat.py index 5ba582e..74474b6 100644 --- a/tests/check_openai_sdk_compat.py +++ b/tests/check_openai_sdk_compat.py @@ -37,7 +37,7 @@ except ImportError as e: ROOT = Path(__file__).resolve().parents[1] HOST = "127.0.0.1" -SERVER_BIN = ROOT / "tools/server/ffwd-server" +SERVER_BIN = ROOT / "ffwd-server" DOCS = [ ("Capitals", "Paris is the capital of France."), @@ -50,7 +50,7 @@ QUERY = "What is the capital of France?" def ensure_server() -> None: if not SERVER_BIN.exists(): - subprocess.run(["make", "-C", "tools/server", "all"], cwd=ROOT, check=True, + subprocess.run(["make", "cpu"], cwd=ROOT, check=True, stdout=subprocess.DEVNULL) if not SERVER_BIN.exists(): sys.exit(f"ffwd-server not found and could not be built: {SERVER_BIN}") |
