Skip to content

Commit

Permalink
Replace nl-unit-test for pigweed for crypto (#33042)
Browse files Browse the repository at this point in the history
* Fix test chip crypto

* Crypto to pigweed

* Fix bugs

* Fix

* Style

* Bug fixes

* Fix CI errors

* fix code not compiled on linux

* Remove empty tests

* Expect to assert

* Initialize PSA crypto in test setup

* Fix tests

* fix openiotsdk tests list

* fix unused function

* fix deps list

* fix deps list

* Make memory init setup in testsuite

* Add TODO
  • Loading branch information
jlatusek authored and pull[bot] committed Apr 26, 2024
1 parent af1bfb6 commit ef4c399
Show file tree
Hide file tree
Showing 11 changed files with 840 additions and 1,067 deletions.
5 changes: 1 addition & 4 deletions src/crypto/tests/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@

import("//build_overrides/build.gni")
import("//build_overrides/chip.gni")
import("//build_overrides/nlunit_test.gni")

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

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

sources = [
Expand Down Expand Up @@ -70,8 +69,6 @@ chip_test_suite_using_nltest("tests") {
"${chip_root}/src/crypto",
"${chip_root}/src/lib/core",
"${chip_root}/src/lib/support:testing",
"${chip_root}/src/lib/support:testing_nlunit",
"${chip_root}/src/platform",
"${nlunit_test_root}:nlunit-test",
]
}
Loading

0 comments on commit ef4c399

Please sign in to comment.