mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-11-16 16:19:42 +01:00
d66a4f98b3
* update channel arg names, add compression level arg support, add compression level arg test * switch to temp test demonstrating bug in grpc 0.15.0 * memset op array to 0 * switch examples back * Switch to newer `grpc` and enable tests in `release.nix` * Split out `simple-server` test into separate shell script * Fix bash invocation * Add intermediate `./default-tests.nix` build * Add `tests.patch` to version control * Split `python` command into separate script * Provide `python` via `nix`
30 lines
747 B
Diff
30 lines
747 B
Diff
diff --git a/tests/protoc.sh b/tests/protoc.sh
|
|
index 054c8b6..4bf0893 100644
|
|
--- a/tests/protoc.sh
|
|
+++ b/tests/protoc.sh
|
|
@@ -1,8 +1,8 @@
|
|
-#!/bin/bash -eu
|
|
+#! @shell@ -eu
|
|
|
|
pyTmpDir=$1
|
|
|
|
-python \
|
|
+@python@/bin/python \
|
|
-m grpc.tools.protoc \
|
|
-I tests \
|
|
--python_out=$pyTmpDir \
|
|
diff --git a/tests/simple-server.sh b/tests/simple-server.sh
|
|
index 37a0a63..8e8fb66 100755
|
|
--- a/tests/simple-server.sh
|
|
+++ b/tests/simple-server.sh
|
|
@@ -1,8 +1,8 @@
|
|
-#!/bin/bash -eu
|
|
+#! @shell@ -eu
|
|
|
|
hsTmpDir=$1
|
|
|
|
-stack ghc -- \
|
|
+@ghc@/bin/ghc \
|
|
--make \
|
|
-threaded \
|
|
-odir $hsTmpDir \
|