daml/bazel_tools
Jussi Mäki e73ad8b957
Add client_server_test bazel rule (#365)
* Add client_server_test bazel rule

This adds a generic mechanism for constructing a test that launches
a TCP server and runs a test-suite against it. The rule orchestrates
passing the port number from the server to the client via a temporary
file and takes care of killing the server when the client process exits.

Still to be done is figuring out a good way to pass additional arguments
to the server and client programs (where these arguments could be other
bazel rules).

* Add missing copyright headers

* Add support for arguments to client_server_test

Note that this does not support passing in labels (":my_data_file"),
nor does it support "$(location :my_data_file)" string macros.

* Add data attribute to client_server_test

* Add support for location expansion in client_server_test args

* client_server_test: Address code review

* client_server_test: Bump waiting for port file write to 5s
2019-04-11 17:31:54 +02:00
..
client_server_test Add client_server_test bazel rule (#365) 2019-04-11 17:31:54 +02:00
dev_env_package open-sourcing daml 2019-04-04 09:33:38 +01:00
docs open-sourcing daml 2019-04-04 09:33:38 +01:00
java_testing open-sourcing daml 2019-04-04 09:33:38 +01:00
packaging open-sourcing daml 2019-04-04 09:33:38 +01:00
BUILD.bazel Move POM file generation to Bazel rules (#374) 2019-04-11 11:24:52 +02:00
docs.bzl open-sourcing daml 2019-04-04 09:33:38 +01:00
fat_cc_library.bzl Build grpc fat_cc_library on Windows (#352) 2019-04-10 14:42:27 +02:00
grpc-bazel-mingw.patch Build gRPC on Windows with GHC's internal Mingw toolchain (#284) 2019-04-08 15:32:46 +02:00
hackage_mirror.patch open-sourcing daml 2019-04-04 09:33:38 +01:00
haskell-arx.patch open-sourcing daml 2019-04-04 09:33:38 +01:00
haskell-c2hs.patch Building c2hs (#355) 2019-04-10 15:12:08 +02:00
haskell-ld-library-path.patch Fix daml-lf-ast build on Windows (#237) 2019-04-05 12:39:23 +02:00
haskell-static-linking.patch open-sourcing daml 2019-04-04 09:33:38 +01:00
haskell-win-so-name.patch Fix daml-lf-ast build on Windows (#237) 2019-04-05 12:39:23 +02:00
haskell-win-sys-includes.patch update all references of old repo to new repo 2019-04-04 16:20:07 +02:00
haskell.bzl open-sourcing daml 2019-04-04 09:33:38 +01:00
hlint.bzl open-sourcing daml 2019-04-04 09:33:38 +01:00
java.bzl Move POM file generation to Bazel rules (#374) 2019-04-11 11:24:52 +02:00
os_info.bzl open-sourcing daml 2019-04-04 09:33:38 +01:00
pkg.bzl open-sourcing daml 2019-04-04 09:33:38 +01:00
pom_file.bzl Move POM file generation to Bazel rules (#374) 2019-04-11 11:24:52 +02:00
pom_template.xml Move POM file generation to Bazel rules (#374) 2019-04-11 11:24:52 +02:00
proto.bzl Fetch status.proto from remote, simplify JS gRPC codegen (#285) 2019-04-09 10:30:01 +02:00
rules_nodejs_bash.patch open-sourcing daml 2019-04-04 09:33:38 +01:00
rules_nodejs_default_shell_env.patch open-sourcing daml 2019-04-04 09:33:38 +01:00
scala.bzl Move POM file generation to Bazel rules (#374) 2019-04-11 11:24:52 +02:00
workspace_status.sh open-sourcing daml 2019-04-04 09:33:38 +01:00