Skip to content

Commit

Permalink
Rewritten src/access/tests/ to use pw_unit_test
Browse files Browse the repository at this point in the history
  • Loading branch information
mbknust committed Oct 10, 2023
1 parent b19454e commit 41dd10e
Show file tree
Hide file tree
Showing 2 changed files with 484 additions and 557 deletions.
11 changes: 8 additions & 3 deletions src/access/tests/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,17 @@ import("//build_overrides/nlunit_test.gni")

import("${chip_root}/build/chip/chip_test_suite.gni")

chip_test_suite_using_nltest("tests") {
chip_test_suite("tests") {
output_name = "libaccesstest"

test_sources = [ "TestAccessControl.cpp" ]

cflags = [ "-Wconversion" ]
cflags = [
"-Wconversion",

# TODO: Fix compilation warnings and remove this
"-Wno-error=undef",
"-Wno-error=sign-compare",
]

public_deps = [
"${chip_root}/src/access",
Expand Down
Loading

0 comments on commit 41dd10e

Please sign in to comment.