Skip to content

Commit d2514f4

Browse files
committed
Drop tests with moved DARs that run on Canton
1 parent 1a7aec2 commit d2514f4

File tree

2 files changed

+0
-81
lines changed

2 files changed

+0
-81
lines changed

sdk/canton/community/daml-lf/archive/BUILD.bazel

Lines changed: 0 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -107,59 +107,6 @@ da_scala_library(
107107
],
108108
)
109109

110-
da_scala_test_suite(
111-
name = "daml_lf_archive_reader_tests",
112-
size = "small",
113-
srcs = glob(["src/test/scala/**/*.scala"]),
114-
data = [
115-
":DarReaderTest.dalf",
116-
":DarReaderTest.dar",
117-
] + [
118-
":DarReaderTest-{}.dar".format(mangle_for_damlc(version))
119-
for version in READABLE_LF_VERSIONS
120-
],
121-
jvm_flags = ["-DhasLegacyDamlc=" + ("true" if is_intel else "false")],
122-
scala_deps = [
123-
"@maven//:org_scalacheck_scalacheck",
124-
"@maven//:org_scalatest_scalatest_core",
125-
"@maven//:org_scalatest_scalatest_flatspec",
126-
"@maven//:org_scalatest_scalatest_matchers_core",
127-
"@maven//:org_scalatest_scalatest_shouldmatchers",
128-
"@maven//:org_scalatest_scalatest_wordspec",
129-
"@maven//:org_scalatestplus_scalacheck_1_15",
130-
"@maven//:org_scalaz_scalaz_core",
131-
"@maven//:org_scalaz_scalaz_scalacheck_binding",
132-
],
133-
scalacopts = lf_scalacopts,
134-
deps = [
135-
":daml_lf_archive_proto_java",
136-
":daml_lf_archive_reader",
137-
"//bazel_tools/runfiles:scala_runfiles",
138-
"//canton:crypto",
139-
"//canton:safe-proto",
140-
"//canton:scalatest-utils",
141-
"//canton/community/daml-lf/data",
142-
"//canton/community/daml-lf/language",
143-
"@maven//:com_google_protobuf_protobuf_java",
144-
"@maven//:org_scalatest_scalatest_compatible",
145-
],
146-
)
147-
148-
daml_compile_with_dalf(
149-
name = "DarReaderTest",
150-
srcs = ["src/test/daml/DarReaderTest/DarReaderTest.daml"],
151-
target = "2.1",
152-
)
153-
154-
[
155-
daml_compile(
156-
name = "DarReaderTest-{}".format(mangle_for_damlc(version)),
157-
srcs = ["src/test/daml/DarReaderTest/DarReaderTest.daml"],
158-
target = version,
159-
)
160-
for version in READABLE_LF_VERSIONS
161-
]
162-
163110
# An ad-hoc tool for testing, benchmarking and profiling package decoding performance in isolation.
164111
da_scala_binary(
165112
name = "decode-tester",

sdk/canton/community/daml-lf/encoder/BUILD.bazel

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -41,34 +41,6 @@ da_scala_library(
4141
],
4242
)
4343

44-
da_scala_test_suite(
45-
name = "tests",
46-
size = "small",
47-
srcs = glob(["src/test/scala/**/*.scala"]),
48-
data = [":testing-dar-%s" % target for target in ENGINE_LF_VERSIONS],
49-
scala_deps = [
50-
"@maven//:org_scalatest_scalatest_core",
51-
"@maven//:org_scalatest_scalatest_matchers_core",
52-
"@maven//:org_scalatest_scalatest_shouldmatchers",
53-
"@maven//:org_scalatest_scalatest_wordspec",
54-
"@maven//:org_scalaz_scalaz_core",
55-
],
56-
scalacopts = lf_scalacopts,
57-
deps = [
58-
":encoder",
59-
"//bazel_tools/runfiles:scala_runfiles",
60-
"//canton/community/daml-lf/archive:daml_lf_archive_proto_java",
61-
"//canton/community/daml-lf/archive:daml_lf_archive_reader",
62-
"//canton/community/daml-lf/data",
63-
"//canton/community/daml-lf/language",
64-
"//canton/community/daml-lf/parser",
65-
"//canton/community/daml-lf/stable-packages",
66-
"//canton/community/daml-lf/validation",
67-
"@maven//:com_google_protobuf_protobuf_java",
68-
"@maven//:org_scalatest_scalatest_compatible",
69-
],
70-
)
71-
7244
da_scala_binary(
7345
name = "encoder_binary",
7446
srcs = glob(["src/main/scala/com/digitalasset/daml/lf/archive/testing/DamlLfEncoder.scala"]),

0 commit comments

Comments
 (0)