Skip to content

Commit

Permalink
Tag PMU event proxy tests as manual.
Browse files Browse the repository at this point in the history
These tests require access to low-level hardware features (PMU events) that are
not always accessible in the CI environment. One can still run the tests
manually e.g. `bazel test proxies/pmu_event_proxy:perf_event_buffer_test`

PiperOrigin-RevId: 581287941
  • Loading branch information
ksteuck authored and copybara-github committed Nov 10, 2023
1 parent 435340a commit c1e7420
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions proxies/pmu_event_proxy/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ cc_library(
cc_test(
name = "ring_buffer_view_test",
srcs = ["ring_buffer_view_test.cc"],
tags = ["manual"],
deps = [
":ring_buffer_view",
"@com_google_googletest//:gtest_main",
Expand Down Expand Up @@ -63,6 +64,7 @@ cc_test(
srcs = [
"pmu_events_test.cc",
],
tags = ["manual"],
deps = [
":pmu_events",
"@silifuzz//util/testing:status_macros",
Expand Down Expand Up @@ -90,6 +92,7 @@ cc_library(
cc_test(
name = "perf_event_records_test",
srcs = ["perf_event_records_test.cc"],
tags = ["manual"],
deps = [
":perf_event_records",
":ring_buffer_view",
Expand All @@ -104,6 +107,7 @@ cc_test(
cc_test(
name = "perf_event_records_fuzz_test",
srcs = ["perf_event_records_fuzz_test.cc"],
tags = ["manual"],
deps = [
":perf_event_records",
":ring_buffer_view",
Expand Down Expand Up @@ -134,6 +138,7 @@ cc_test(
name = "perf_event_buffer_test",
size = "small",
srcs = ["perf_event_buffer_test.cc"],
tags = ["manual"],
deps = [
":perf_event_buffer",
":perf_event_records",
Expand Down Expand Up @@ -186,6 +191,7 @@ cc_test(
name = "perf_event_fuzzer_test",
size = "medium",
srcs = ["perf_event_fuzzer_test.cc"],
tags = ["manual"],
deps = [
":perf_event_buffer",
":perf_event_fuzzer",
Expand Down

0 comments on commit c1e7420

Please sign in to comment.