Skip to content

Commit 67ac842

Browse files
authored
Replace nl-unit-test for pigweed for crypto (#33042)
* 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
1 parent 0cc9ad5 commit 67ac842

11 files changed

+840
-1067
lines changed

src/crypto/tests/BUILD.gn

+1-4
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,11 @@
1414

1515
import("//build_overrides/build.gni")
1616
import("//build_overrides/chip.gni")
17-
import("//build_overrides/nlunit_test.gni")
1817

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

22-
chip_test_suite_using_nltest("tests") {
21+
chip_test_suite("tests") {
2322
output_name = "libChipCryptoTests"
2423

2524
sources = [
@@ -70,8 +69,6 @@ chip_test_suite_using_nltest("tests") {
7069
"${chip_root}/src/crypto",
7170
"${chip_root}/src/lib/core",
7271
"${chip_root}/src/lib/support:testing",
73-
"${chip_root}/src/lib/support:testing_nlunit",
7472
"${chip_root}/src/platform",
75-
"${nlunit_test_root}:nlunit-test",
7673
]
7774
}

0 commit comments

Comments
 (0)