Skip to content

Commit

Permalink
html2/test: Fix clang-tidy not running on the html5lib_test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
robinlinden committed Dec 7, 2024
1 parent 90f18a2 commit b05ea96
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions html2/BUILD
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test")
load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library", "cc_test")
load("@rules_fuzzing//fuzzing:cc_defs.bzl", "cc_fuzz_test")
load("@rules_shell//shell:sh_test.bzl", "sh_test")
load("//bzl:copts.bzl", "HASTUR_COPTS", "HASTUR_FUZZ_PLATFORMS")
Expand Down Expand Up @@ -46,8 +46,9 @@ extra_deps = {
],
)]

cc_test(
cc_binary(
name = "html5lib_test_runner",
testonly = True,
srcs = ["html5lib_test.cpp"],
copts = HASTUR_COPTS + select({
# simdjson leaks a bunch of warnings into our code.
Expand All @@ -57,10 +58,7 @@ cc_test(
],
"//conditions:default": [],
}),
tags = [
"manual",
"no-cross",
],
tags = ["no-cross"],
# simdjson seems to blow up qemu when we run our aarch64 crosscompiled
# tests.
deps = [
Expand Down

0 comments on commit b05ea96

Please sign in to comment.