@@ -35,25 +35,36 @@ project(test-driver)
35
35
idf_build_set_property(CXX_COMPILE_OPTIONS "-std=gnu++17;-Os;-DLWIP_IPV6_SCOPES=0;-DCHIP_HAVE_CONFIG_H" APPEND )
36
36
idf_build_set_property(C_COMPILE_OPTIONS "-Os;-DLWIP_IPV6_SCOPES=0" APPEND )
37
37
38
- # TODO: libAppTests depends on MessagingTestHelpers, which depends on
39
- # NetworkTestHelpers. That sort of depends on InetTestHelpers or
40
- # equivalent (to provide gSystemLayer, gInet, InitNetwork(),
41
- # ShutdownNetwork()) but there's only a POSIX implementation of that
42
- # last, which does not compile on ESP32. Need to figure out how to
43
- # make that work. See comments below for the transport layer tests,
44
- # which have the same issue.
45
- #
46
- # libAppTests.a -lMessagingTestHelpers -lNetworkTestHelpers
47
- #
48
- # TODO: ble tests do not compile using CMake (library is not auto-built)
49
- # libBleLayerTests.a
50
38
39
+ esp32_unit_test(NAME testAccess LIBRARY accesstest)
40
+ esp32_unit_test(NAME testAddressResolve LIBRARY AddressResolveTests)
41
+ esp32_unit_test(NAME testAppClusterBuildingBlock LIBRARY AppClusterBuildingBlockTests)
42
+ esp32_unit_test(NAME testAppDataModel LIBRARY AppDataModelTests)
51
43
esp32_unit_test(NAME testASN1 LIBRARY ASN1Tests)
44
+ esp32_unit_test(NAME testBDX LIBRARY BDXTests)
52
45
esp32_unit_test(NAME testChipCrypto LIBRARY ChipCryptoTests EXTRA_LIBRARIES -lCertTestVectors)
46
+ esp32_unit_test(NAME testCodegenDataModelProvider LIBRARY CodegenDataModelProviderTests)
53
47
esp32_unit_test(NAME testCore LIBRARY CoreTests)
48
+ esp32_unit_test(NAME testFormat LIBRARY FormatTests)
49
+ esp32_unit_test(NAME testIMInterface LIBRARY IMInterfaceTests)
54
50
esp32_unit_test(NAME testInetLayer LIBRARY InetLayerTests)
51
+ esp32_unit_test(NAME testInteractionModel LIBRARY InteractionModelTests)
52
+ esp32_unit_test(NAME testMinimalMdnsCore LIBRARY MinimalMdnsCoreTests)
53
+ esp32_unit_test(NAME testMinimalMdnsRecords LIBRARY MinimalMdnsRecordsTests)
54
+ esp32_unit_test(NAME testMinimalMdnsResponders LIBRARY MinimalMdnsRespondersTests)
55
+ esp32_unit_test(NAME testMdns LIBRARY MdnsTests)
55
56
esp32_unit_test(NAME testRetransmit LIBRARY RetransmitTests)
57
+ esp32_unit_test(NAME testSetupPayload LIBRARY SetupPayloadTests)
56
58
esp32_unit_test(NAME testSystemLayer LIBRARY SystemLayerTests)
59
+ esp32_unit_test(NAME testUserDirectedCommissioning LIBRARY UserDirectedCommissioningTests)
60
+
61
+ # TODO: libAppTests depends on MessagingTestHelpers, which depends on
62
+ # NetworkTestHelpers. That sort of depends on InetTestHelpers or
63
+ # equivalent (to provide gSystemLayer, gInet, InitNetwork(),
64
+ # ShutdownNetwork()) but there's only a POSIX implementation of that
65
+ # last, which does not compile on ESP32.
66
+ # This affects AppTests, MessagingLayerTests, MinimalMdnstests, ControllerTests
67
+ # ControllerDataModelTests, ICDServerTests, SecureChannelTests.
57
68
58
69
59
70
# allow other tools to discover what images are available without grepping for '.img'
0 commit comments