mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-11-27 11:13:48 +03:00
Bump Argo submodule for HTTP support; update command lines
This commit is contained in:
parent
9c37515ff6
commit
0450cb8f83
@ -8,7 +8,7 @@ from BitVector import *
|
||||
|
||||
dir_path = os.path.dirname(os.path.realpath(__file__))
|
||||
|
||||
c = cryptol.connect("cabal new-exec --verbose=0 cryptol-remote-api")
|
||||
c = cryptol.connect("cabal new-exec --verbose=0 cryptol-remote-api -- socket")
|
||||
|
||||
c.change_directory(dir_path)
|
||||
|
||||
|
@ -164,11 +164,11 @@ def low_level_api_test(c):
|
||||
|
||||
c1 = argo.ServerConnection(
|
||||
cryptol.CryptolDynamicSocketProcess(
|
||||
"cabal v2-exec cryptol-remote-api --verbose=0",
|
||||
"cabal v2-exec cryptol-remote-api --verbose=0 -- socket",
|
||||
cryptol_path=cryptol_path))
|
||||
c2 = argo.ServerConnection(
|
||||
cryptol.CryptolStdIOProcess(
|
||||
"cabal v2-exec cryptol-remote-api --verbose=0 -- --stdio",
|
||||
"cabal v2-exec cryptol-remote-api --verbose=0 -- stdio",
|
||||
cryptol_path=cryptol_path))
|
||||
|
||||
low_level_api_test(c1)
|
||||
@ -178,7 +178,7 @@ env = os.environ.copy()
|
||||
env['CRYPTOLPATH'] = cryptol_path
|
||||
|
||||
p = subprocess.Popen(
|
||||
["cabal", "v2-exec", "cryptol-remote-api", "--verbose=0", "--", "--port", "50005"],
|
||||
["cabal", "v2-exec", "cryptol-remote-api", "--verbose=0", "--", "socket", "--port", "50005"],
|
||||
stdout=subprocess.DEVNULL,
|
||||
stdin=subprocess.DEVNULL,
|
||||
stderr=subprocess.DEVNULL,
|
||||
|
2
deps/argo
vendored
2
deps/argo
vendored
@ -1 +1 @@
|
||||
Subproject commit ca97f5ab5413238da061ab076ccfb5895cb56ae4
|
||||
Subproject commit 32f5cc47b394a84b122868b90a9d118823a5fc9f
|
Loading…
Reference in New Issue
Block a user