mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
3121c95754
* Implement FreePort for Linux * Refactor FreePort a little, add withCantonSandbox, convert tests * Implement dynamic port range for windows * Import readProcess * Log macOS info * Switch to locateRunfiles * Add sysctl for macos * Bracket correctly * Change dir to mainworkspace * Implement MacOS dynamic port range * Improve regex matches
45 lines
1.0 KiB
Python
45 lines
1.0 KiB
Python
# Copyright (c) 2023 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
load(
|
|
"//bazel_tools:haskell.bzl",
|
|
"da_haskell_library",
|
|
)
|
|
|
|
da_haskell_library(
|
|
name = "test-utils",
|
|
srcs = glob(["DA/Test/**/*.hs"]),
|
|
hackage_deps = [
|
|
"aeson",
|
|
"base",
|
|
"bytestring",
|
|
"containers",
|
|
"directory",
|
|
"extra",
|
|
"filelock",
|
|
"filepath",
|
|
"jwt",
|
|
"network",
|
|
"process",
|
|
"QuickCheck",
|
|
"regex-tdfa",
|
|
"safe",
|
|
"safe-exceptions",
|
|
"tasty",
|
|
"tasty-hunit",
|
|
"text",
|
|
"unliftio",
|
|
"unliftio-core",
|
|
"unordered-containers",
|
|
"vector",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//daml-assistant/daml-helper:daml-helper-lib",
|
|
"//language-support/hs/bindings:hs-ledger",
|
|
"//libs-haskell/bazel-runfiles",
|
|
"//libs-haskell/da-hs-base",
|
|
"@rules_haskell//tools/runfiles",
|
|
],
|
|
)
|