1#
2#  Copyright (c) 2016-2017, The OpenThread Authors.
3#  All rights reserved.
4#
5#  Redistribution and use in source and binary forms, with or without
6#  modification, are permitted provided that the following conditions are met:
7#  1. Redistributions of source code must retain the above copyright
8#     notice, this list of conditions and the following disclaimer.
9#  2. Redistributions in binary form must reproduce the above copyright
10#     notice, this list of conditions and the following disclaimer in the
11#     documentation and/or other materials provided with the distribution.
12#  3. Neither the name of the copyright holder nor the
13#     names of its contributors may be used to endorse or promote products
14#     derived from this software without specific prior written permission.
15#
16#  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17#  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18#  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19#  ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
20#  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21#  CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22#  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23#  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24#  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25#  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26#  POSSIBILITY OF SUCH DAMAGE.
27#
28
29include $(abs_top_nlbuild_autotools_dir)/automake/pre.am
30
31LOG_DRIVER=$(abs_top_srcdir)/third_party/openthread-test-driver/test-driver
32
33EXTRA_DIST                                                         = \
34    Cert_5_1_01_RouterAttach.py                                      \
35    Cert_5_1_02_ChildAddressTimeout.py                               \
36    Cert_5_1_03_RouterAddressReallocation.py                         \
37    Cert_5_1_04_RouterAddressReallocation.py                         \
38    Cert_5_1_05_RouterAddressTimeout.py                              \
39    Cert_5_1_06_RemoveRouterId.py                                    \
40    Cert_5_1_07_MaxChildCount.py                                     \
41    Cert_5_1_08_RouterAttachConnectivity.py                          \
42    Cert_5_1_09_REEDAttachConnectivity.py                            \
43    Cert_5_1_10_RouterAttachLinkQuality.py                           \
44    Cert_5_1_11_REEDAttachLinkQuality.py                             \
45    Cert_5_1_12_NewRouterNeighborSync.py                             \
46    Cert_5_1_13_RouterReset.py                                       \
47    Cert_5_2_01_REEDAttach.py                                        \
48    Cert_5_2_03_LeaderReject2Hops.py                                 \
49    Cert_5_2_04_REEDUpgrade.py                                       \
50    Cert_5_2_05_AddressQuery.py                                      \
51    Cert_5_2_06_RouterDowngrade.py                                   \
52    Cert_5_2_07_REEDSynchronization.py                               \
53    Cert_5_3_01_LinkLocal.py                                         \
54    Cert_5_3_02_RealmLocal.py                                        \
55    Cert_5_3_03_AddressQuery.py                                      \
56    Cert_5_3_04_AddressMapCache.py                                   \
57    Cert_5_3_05_RoutingLinkQuality.py                                \
58    Cert_5_3_06_RouterIdMask.py                                      \
59    Cert_5_3_07_DuplicateAddress.py                                  \
60    Cert_5_3_08_ChildAddressSet.py                                   \
61    Cert_5_3_09_AddressQuery.py                                      \
62    Cert_5_3_10_AddressQuery.py                                      \
63    Cert_5_3_11_AddressQueryTimeoutIntervals.py                      \
64    Cert_5_5_01_LeaderReboot.py                                      \
65    Cert_5_5_02_LeaderReboot.py                                      \
66    Cert_5_5_03_SplitMergeChildren.py                                \
67    Cert_5_5_04_SplitMergeRouters.py                                 \
68    Cert_5_5_05_SplitMergeREED.py                                    \
69    Cert_5_5_07_SplitMergeThreeWay.py                                \
70    Cert_5_6_01_NetworkDataRegisterBeforeAttachLeader.py             \
71    Cert_5_6_02_NetworkDataRegisterBeforeAttachRouter.py             \
72    Cert_5_6_03_NetworkDataRegisterAfterAttachLeader.py              \
73    Cert_5_6_04_NetworkDataRegisterAfterAttachRouter.py              \
74    Cert_5_6_05_NetworkDataRegisterAfterAttachRouter.py              \
75    Cert_5_6_06_NetworkDataExpiration.py                             \
76    Cert_5_6_07_NetworkDataRequestREED.py                            \
77    Cert_5_6_09_NetworkDataForwarding.py                             \
78    Cert_5_7_01_CoapDiagCommands.py                                  \
79    Cert_5_7_02_CoapDiagCommands.py                                  \
80    Cert_5_7_03_CoapDiagCommands.py                                  \
81    Cert_5_8_02_KeyIncrement.py                                      \
82    Cert_5_8_03_KeyIncrementRollOver.py                              \
83    Cert_5_8_04_SecurityPolicyTLV.py                                 \
84    Cert_6_1_01_RouterAttach.py                                      \
85    Cert_6_1_02_REEDAttach.py                                        \
86    Cert_6_1_03_RouterAttachConnectivity.py                          \
87    Cert_6_1_04_REEDAttachConnectivity.py                            \
88    Cert_6_1_05_REEDAttachConnectivity.py                            \
89    Cert_6_1_07_RouterAttachLinkQuality.py                           \
90    Cert_6_1_06_REEDAttachLinkQuality.py                             \
91    Cert_6_2_01_NewPartition.py                                      \
92    Cert_6_2_02_NewPartition.py                                      \
93    Cert_6_3_01_OrphanReattach.py                                    \
94    Cert_6_3_02_NetworkDataUpdate.py                                 \
95    Cert_6_4_01_LinkLocal.py                                         \
96    Cert_6_4_02_RealmLocal.py                                        \
97    Cert_6_5_01_ChildResetReattach.py                                \
98    Cert_6_5_02_ChildResetReattach.py                                \
99    Cert_6_5_03_ChildResetSynchronize.py                             \
100    Cert_6_6_01_KeyIncrement.py                                      \
101    Cert_6_6_02_KeyIncrementRollOver.py                              \
102    Cert_7_1_01_BorderRouterAsLeader.py                              \
103    Cert_7_1_02_BorderRouterAsRouter.py                              \
104    Cert_7_1_03_BorderRouterAsLeader.py                              \
105    Cert_7_1_04_BorderRouterAsRouter.py                              \
106    Cert_7_1_05_BorderRouterAsRouter.py                              \
107    Cert_7_1_06_BorderRouterAsLeader.py                              \
108    Cert_7_1_07_BorderRouterAsLeader.py                              \
109    Cert_7_1_08_BorderRouterAsFED.py                                 \
110    Cert_8_1_01_Commissioning.py                                     \
111    Cert_8_1_02_Commissioning.py                                     \
112    Cert_8_2_01_JoinerRouter.py                                      \
113    Cert_8_2_02_JoinerRouter.py                                      \
114    Cert_9_2_01_MGMTCommissionerGet.py                               \
115    Cert_9_2_02_MGMTCommissionerSet.py                               \
116    Cert_9_2_03_ActiveDatasetGet.py                                  \
117    Cert_9_2_04_ActiveDataset.py                                     \
118    Cert_9_2_05_ActiveDataset.py                                     \
119    Cert_9_2_06_DatasetDissemination.py                              \
120    Cert_9_2_07_DelayTimer.py                                        \
121    Cert_9_2_08_PersistentDatasets.py                                \
122    Cert_9_2_09_PendingPartition.py                                  \
123    Cert_9_2_10_PendingPartition.py                                  \
124    Cert_9_2_11_NetworkKey.py                                        \
125    Cert_9_2_12_Announce.py                                          \
126    Cert_9_2_13_EnergyScan.py                                        \
127    Cert_9_2_14_PanIdQuery.py                                        \
128    Cert_9_2_15_PendingPartition.py                                  \
129    Cert_9_2_16_ActivePendingPartition.py                            \
130    Cert_9_2_17_Orphan.py                                            \
131    Cert_9_2_18_RollBackActiveTimestamp.py                           \
132    Cert_9_2_19_PendingDatasetGet.py                                 \
133    coap.py                                                          \
134    command.py                                                       \
135    common.py                                                        \
136    config.py                                                        \
137    debug.py                                                         \
138    dtls.py                                                          \
139    ipv6.py                                                          \
140    lowpan.py                                                        \
141    mac802154.py                                                     \
142    mesh_cop.py                                                      \
143    message.py                                                       \
144    mle.py                                                           \
145    net_crypto.py                                                    \
146    network_data.py                                                  \
147    network_diag.py                                                  \
148    network_layer.py                                                 \
149    node.py                                                          \
150    pcap.py                                                          \
151    simulator.py                                                     \
152    sniffer.py                                                       \
153    sniffer_transport.py                                             \
154    test_anycast.py                                                  \
155    test_coap.py                                                     \
156    test_coap_block.py                                               \
157    test_coap_observe.py                                             \
158    test_coaps.py                                                    \
159    test_common.py                                                   \
160    test_crypto.py                                                   \
161    test_dataset_updater.py                                          \
162    test_diag.py                                                     \
163    test_dns_client_config_auto_start.py                             \
164    test_dnssd.py                                                    \
165    test_history_tracker.py                                          \
166    test_ipv6.py                                                     \
167    test_ipv6_fragmentation.py                                       \
168    test_ipv6_source_selection.py                                    \
169    test_lowpan.py                                                   \
170    test_mac802154.py                                                \
171    test_mle.py                                                      \
172    test_netdata_publisher.py                                        \
173    test_network_data.py                                             \
174    test_network_layer.py                                            \
175    test_on_mesh_prefix.py                                           \
176    test_pbbr_aloc.py                                                \
177    test_ping.py                                                     \
178    test_reed_address_solicit_rejected.py                            \
179    test_reset.py                                                    \
180    test_route_table.py                                              \
181    test_router_reattach.py                                          \
182    test_service.py                                                  \
183    test_set_mliid.py                                                \
184    test_srp_auto_start_mode.py                                      \
185    test_srp_client_remove_host.py                                   \
186    test_srp_client_save_server_info.py                              \
187    test_srp_lease.py                                                \
188    test_srp_name_conflicts.py                                       \
189    test_srp_register_single_service.py                              \
190    test_srp_server_reboot_port.py                                   \
191    test_srp_sub_type.py                                             \
192    test_zero_len_external_route.py                                  \
193    thread_cert.py                                                   \
194    tlvs_parsing.py                                                  \
195    thread_cert.py                                                   \
196    pktverify/__init__.py                                            \
197    pktverify/addrs.py                                               \
198    pktverify/bytes.py                                               \
199    pktverify/coap.py                                                \
200    pktverify/consts.py                                              \
201    pktverify/decorators.py                                          \
202    pktverify/errors.py                                              \
203    pktverify/layer_fields.py                                        \
204    pktverify/layer_fields_container.py                              \
205    pktverify/layers.py                                              \
206    pktverify/null_field.py                                          \
207    pktverify/packet.py                                              \
208    pktverify/packet_filter.py                                       \
209    pktverify/packet_verifier.py                                     \
210    pktverify/pcap_reader.py                                         \
211    pktverify/summary.py                                             \
212    pktverify/test_info.py                                           \
213    pktverify/utils.py                                               \
214    pktverify/verify_result.py                                       \
215    wpan.py                                                          \
216    $(NULL)
217
218check_PROGRAMS                                                     = \
219    $(NULL)
220
221check_SCRIPTS                                                      = \
222    test_anycast.py                                                  \
223    test_coap.py                                                     \
224    test_coap_block.py                                               \
225    test_coap_observe.py                                             \
226    test_coaps.py                                                    \
227    test_common.py                                                   \
228    test_crypto.py                                                   \
229    test_dataset_updater.py                                          \
230    test_diag.py                                                     \
231    test_dns_client_config_auto_start.py                             \
232    test_dnssd.py                                                    \
233    test_history_tracker.py                                          \
234    test_ipv6.py                                                     \
235    test_ipv6_fragmentation.py                                       \
236    test_ipv6_source_selection.py                                    \
237    test_lowpan.py                                                   \
238    test_mac802154.py                                                \
239    test_mle.py                                                      \
240    test_netdata_publisher.py                                        \
241    test_network_data.py                                             \
242    test_network_layer.py                                            \
243    test_on_mesh_prefix.py                                           \
244    test_pbbr_aloc.py                                                \
245    test_ping.py                                                     \
246    test_reed_address_solicit_rejected.py                            \
247    test_reset.py                                                    \
248    test_route_table.py                                              \
249    test_router_reattach.py                                          \
250    test_service.py                                                  \
251    test_srp_auto_start_mode.py                                      \
252    test_srp_client_remove_host.py                                   \
253    test_srp_client_save_server_info.py                              \
254    test_srp_lease.py                                                \
255    test_srp_name_conflicts.py                                       \
256    test_srp_register_single_service.py                              \
257    test_srp_server_reboot_port.py                                   \
258    test_srp_sub_type.py                                             \
259    test_zero_len_external_route.py                                  \
260    Cert_5_1_01_RouterAttach.py                                      \
261    Cert_5_1_02_ChildAddressTimeout.py                               \
262    Cert_5_1_03_RouterAddressReallocation.py                         \
263    Cert_5_1_04_RouterAddressReallocation.py                         \
264    Cert_5_1_05_RouterAddressTimeout.py                              \
265    Cert_5_1_06_RemoveRouterId.py                                    \
266    Cert_5_1_07_MaxChildCount.py                                     \
267    Cert_5_1_08_RouterAttachConnectivity.py                          \
268    Cert_5_1_09_REEDAttachConnectivity.py                            \
269    Cert_5_1_10_RouterAttachLinkQuality.py                           \
270    Cert_5_1_11_REEDAttachLinkQuality.py                             \
271    Cert_5_1_12_NewRouterNeighborSync.py                             \
272    Cert_5_1_13_RouterReset.py                                       \
273    Cert_5_2_01_REEDAttach.py                                        \
274    Cert_5_2_05_AddressQuery.py                                      \
275    Cert_5_2_06_RouterDowngrade.py                                   \
276    Cert_5_2_07_REEDSynchronization.py                               \
277    Cert_5_2_04_REEDUpgrade.py                                       \
278    Cert_5_3_01_LinkLocal.py                                         \
279    Cert_5_3_02_RealmLocal.py                                        \
280    Cert_5_3_03_AddressQuery.py                                      \
281    Cert_5_3_04_AddressMapCache.py                                   \
282    Cert_5_3_05_RoutingLinkQuality.py                                \
283    Cert_5_3_06_RouterIdMask.py                                      \
284    Cert_5_3_07_DuplicateAddress.py                                  \
285    Cert_5_3_08_ChildAddressSet.py                                   \
286    Cert_5_3_09_AddressQuery.py                                      \
287    Cert_5_3_10_AddressQuery.py                                      \
288    Cert_5_3_11_AddressQueryTimeoutIntervals.py                      \
289    Cert_5_5_01_LeaderReboot.py                                      \
290    Cert_5_5_02_LeaderReboot.py                                      \
291    Cert_5_5_03_SplitMergeChildren.py                                \
292    Cert_5_5_04_SplitMergeRouters.py                                 \
293    Cert_5_5_05_SplitMergeREED.py                                    \
294    Cert_5_5_07_SplitMergeThreeWay.py                                \
295    Cert_5_6_01_NetworkDataRegisterBeforeAttachLeader.py             \
296    Cert_5_6_02_NetworkDataRegisterBeforeAttachRouter.py             \
297    Cert_5_6_03_NetworkDataRegisterAfterAttachLeader.py              \
298    Cert_5_6_04_NetworkDataRegisterAfterAttachRouter.py              \
299    Cert_5_6_05_NetworkDataRegisterAfterAttachRouter.py              \
300    Cert_5_6_06_NetworkDataExpiration.py                             \
301    Cert_5_6_07_NetworkDataRequestREED.py                            \
302    Cert_5_6_09_NetworkDataForwarding.py                             \
303    Cert_5_7_01_CoapDiagCommands.py                                  \
304    Cert_5_7_02_CoapDiagCommands.py                                  \
305    Cert_5_7_03_CoapDiagCommands.py                                  \
306    Cert_5_8_02_KeyIncrement.py                                      \
307    Cert_5_8_03_KeyIncrementRollOver.py                              \
308    Cert_5_8_04_SecurityPolicyTLV.py                                 \
309    Cert_6_1_01_RouterAttach.py                                      \
310    Cert_6_1_02_REEDAttach.py                                        \
311    Cert_6_1_03_RouterAttachConnectivity.py                          \
312    Cert_6_1_04_REEDAttachConnectivity.py                            \
313    Cert_6_1_05_REEDAttachConnectivity.py                            \
314    Cert_6_1_06_REEDAttachLinkQuality.py                             \
315    Cert_6_1_07_RouterAttachLinkQuality.py                           \
316    Cert_6_2_01_NewPartition.py                                      \
317    Cert_6_2_02_NewPartition.py                                      \
318    Cert_6_3_01_OrphanReattach.py                                    \
319    Cert_6_3_02_NetworkDataUpdate.py                                 \
320    Cert_6_4_01_LinkLocal.py                                         \
321    Cert_6_4_02_RealmLocal.py                                        \
322    Cert_6_5_01_ChildResetReattach.py                                \
323    Cert_6_5_02_ChildResetReattach.py                                \
324    Cert_6_5_03_ChildResetSynchronize.py                             \
325    Cert_6_6_01_KeyIncrement.py                                      \
326    Cert_6_6_02_KeyIncrementRollOver.py                              \
327    Cert_5_2_03_LeaderReject2Hops.py                                 \
328    Cert_7_1_01_BorderRouterAsLeader.py                              \
329    Cert_7_1_02_BorderRouterAsRouter.py                              \
330    Cert_7_1_03_BorderRouterAsLeader.py                              \
331    Cert_7_1_04_BorderRouterAsRouter.py                              \
332    Cert_7_1_05_BorderRouterAsRouter.py                              \
333    Cert_7_1_06_BorderRouterAsLeader.py                              \
334    Cert_7_1_07_BorderRouterAsLeader.py                              \
335    Cert_7_1_08_BorderRouterAsFED.py                                 \
336    Cert_8_1_01_Commissioning.py                                     \
337    Cert_8_1_02_Commissioning.py                                     \
338    Cert_8_2_01_JoinerRouter.py                                      \
339    Cert_8_2_02_JoinerRouter.py                                      \
340    Cert_9_2_01_MGMTCommissionerGet.py                               \
341    Cert_9_2_02_MGMTCommissionerSet.py                               \
342    Cert_9_2_03_ActiveDatasetGet.py                                  \
343    Cert_9_2_04_ActiveDataset.py                                     \
344    Cert_9_2_05_ActiveDataset.py                                     \
345    Cert_9_2_06_DatasetDissemination.py                              \
346    Cert_9_2_07_DelayTimer.py                                        \
347    Cert_9_2_08_PersistentDatasets.py                                \
348    Cert_9_2_09_PendingPartition.py                                  \
349    Cert_9_2_10_PendingPartition.py                                  \
350    Cert_9_2_11_NetworkKey.py                                        \
351    Cert_9_2_12_Announce.py                                          \
352    Cert_9_2_13_EnergyScan.py                                        \
353    Cert_9_2_14_PanIdQuery.py                                        \
354    Cert_9_2_15_PendingPartition.py                                  \
355    Cert_9_2_16_ActivePendingPartition.py                            \
356    Cert_9_2_17_Orphan.py                                            \
357    Cert_9_2_18_RollBackActiveTimestamp.py                           \
358    Cert_9_2_19_PendingDatasetGet.py                                 \
359    $(NULL)
360
361TESTS_ENVIRONMENT                                                  = \
362    export                                                           \
363    top_builddir='$(top_builddir)'                                   \
364    top_srcdir='$(top_srcdir)'                                       \
365    VERBOSE=1;                                                       \
366    $(NULL)
367
368TESTS                                                              = \
369    $(check_PROGRAMS)                                                \
370    $(check_SCRIPTS)                                                 \
371    $(NULL)
372
373include $(abs_top_nlbuild_autotools_dir)/automake/post.am
374