mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-02 02:37:15 +00:00
add the architecture determination when running the wireguard test (#5953)
This commit is contained in:
parent
01c1090ec1
commit
5259d1e31a
1 changed files with 4 additions and 0 deletions
|
|
@ -150,6 +150,10 @@ async def test_wireguard(tdata, monkeypatch, caplog):
|
|||
else:
|
||||
return pytest.skip("Unsupported platform for wg-test-client.")
|
||||
|
||||
arch = platform.machine()
|
||||
if arch != "AMD64" and arch != "x86_64":
|
||||
return pytest.skip("Unsupported architecture for wg-test-client.")
|
||||
|
||||
test_client_path = tdata.path(f"wg-test-client/{test_client_name}")
|
||||
test_conf = tdata.path(f"wg-test-client/test.conf")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue