Skip to content

Commit

Permalink
Converted unit tests in src/tracing/tests from NL to PW. (project-chi…
Browse files Browse the repository at this point in the history
…p#33390)

* Updated unit tests in tracing/tests to use PW instead of NL.

* Fixed the condition that enables tracing tests.  It was "mutliplexed" but that has since been replaced by a full path.

* Remove TracingTests from test_components.txt
  • Loading branch information
feasel0 authored May 10, 2024
1 parent 0d67568 commit cfbcf1e
Show file tree
Hide file tree
Showing 4 changed files with 118 additions and 186 deletions.
2 changes: 1 addition & 1 deletion src/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ if (chip_build_tests) {
]

if (matter_enable_tracing_support &&
matter_trace_config == "multiplexed") {
matter_trace_config == "${chip_root}/src/tracing/multiplexed") {
tests += [ "${chip_root}/src/tracing/tests" ]
}
}
Expand Down
5 changes: 3 additions & 2 deletions src/tracing/tests/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ import("//build_overrides/nlunit_test.gni")
import("${chip_root}/build/chip/chip_test_suite.gni")
import("${chip_root}/src/tracing/tracing_args.gni")

if (matter_enable_tracing_support && matter_trace_config == "multiplexed") {
chip_test_suite_using_nltest("tests") {
if (matter_enable_tracing_support &&
matter_trace_config == "${chip_root}/src/tracing/multiplexed") {
chip_test_suite("tests") {
output_name = "libTracingTests"

test_sources = [
Expand Down
Loading

0 comments on commit cfbcf1e

Please sign in to comment.