diff options
| author | Frédéric Desbiens <[email protected]> | 2026-06-08 10:03:52 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-06-08 10:03:52 +0200 |
| commit | 1a0e9e43a03e37ddecfb6b49e9b078d6e1803d05 (patch) | |
| tree | c60ec41b4ff4fd2d7566c505cbdd423ceddd65f3 /test/regression/ptp_test | |
| parent | 8b6e03ac30ab688bec02c69d42f2304b7f72a202 (diff) | |
| parent | 4d88828b06d164a5b7e82152395a92254abcd6e4 (diff) | |
Merge pull request #391 from eclipse-threadx/devv6.5.1.202602_reldev
Merging changes for the v.6.5.1.202602 release
Diffstat (limited to 'test/regression/ptp_test')
9 files changed, 99 insertions, 0 deletions
diff --git a/test/regression/ptp_test/netx_ptp_client_announce_timeout_test.c b/test/regression/ptp_test/netx_ptp_client_announce_timeout_test.c index ae7b2771..557721bc 100644 --- a/test/regression/ptp_test/netx_ptp_client_announce_timeout_test.c +++ b/test/regression/ptp_test/netx_ptp_client_announce_timeout_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* PTP Announce test. This test case validates on Announce timeout, PTP client will trigger an event. */ #include "netx_ptp_utility.h" diff --git a/test/regression/ptp_test/netx_ptp_client_api_test.c b/test/regression/ptp_test/netx_ptp_client_api_test.c index ad1c9968..78e1d9b7 100644 --- a/test/regression/ptp_test/netx_ptp_client_api_test.c +++ b/test/regression/ptp_test/netx_ptp_client_api_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* PTP API test. This test case extends the basic test case to cover API not tested by others. */ #include "netx_ptp_utility.h" diff --git a/test/regression/ptp_test/netx_ptp_client_basic_test.c b/test/regression/ptp_test/netx_ptp_client_basic_test.c index 6a3ccf89..4579ae61 100644 --- a/test/regression/ptp_test/netx_ptp_client_basic_test.c +++ b/test/regression/ptp_test/netx_ptp_client_basic_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* PTP basic test. This test case validates basic procedure of PTP client synchronize. */ #include "netx_ptp_utility.h" diff --git a/test/regression/ptp_test/netx_ptp_client_calibrate_test.c b/test/regression/ptp_test/netx_ptp_client_calibrate_test.c index ffd18a58..892064d4 100644 --- a/test/regression/ptp_test/netx_ptp_client_calibrate_test.c +++ b/test/regression/ptp_test/netx_ptp_client_calibrate_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* PTP calibrate test. This test case validates calibration of PTP client with different values. */ #include "netx_ptp_utility.h" diff --git a/test/regression/ptp_test/netx_ptp_client_ipv6_test.c b/test/regression/ptp_test/netx_ptp_client_ipv6_test.c index 2f773214..403bb4b7 100644 --- a/test/regression/ptp_test/netx_ptp_client_ipv6_test.c +++ b/test/regression/ptp_test/netx_ptp_client_ipv6_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* PTP IPv6 test. This test case validates PTP client synchronize over IPv6. To run this test case, NetXDuo must be built with NX_ENABLE_IPV6_MULTICAST and FEATURE_NX_IPV6. */ diff --git a/test/regression/ptp_test/netx_ptp_client_master_selection_test.c b/test/regression/ptp_test/netx_ptp_client_master_selection_test.c index d02c44fd..64aeb793 100644 --- a/test/regression/ptp_test/netx_ptp_client_master_selection_test.c +++ b/test/regression/ptp_test/netx_ptp_client_master_selection_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* PTP master selection test. This test case validates, 1. Event master will be triggered when different utc offset is announced. 2. Master clock port identity must be same during sync. diff --git a/test/regression/ptp_test/netx_ptp_client_two_steps_off_test.c b/test/regression/ptp_test/netx_ptp_client_two_steps_off_test.c index 2d3a4402..3d46428d 100644 --- a/test/regression/ptp_test/netx_ptp_client_two_steps_off_test.c +++ b/test/regression/ptp_test/netx_ptp_client_two_steps_off_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* PTP two steps off test. This test case validates two steps off procedure of PTP client synchronize. */ #include "netx_ptp_utility.h" diff --git a/test/regression/ptp_test/netx_ptp_utility.c b/test/regression/ptp_test/netx_ptp_utility.c index 0521712b..78bd4c86 100644 --- a/test/regression/ptp_test/netx_ptp_utility.c +++ b/test/regression/ptp_test/netx_ptp_utility.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "netx_ptp_utility.h" diff --git a/test/regression/ptp_test/netx_ptp_utility.h b/test/regression/ptp_test/netx_ptp_utility.h index 88eda3bd..15b44fc3 100644 --- a/test/regression/ptp_test/netx_ptp_utility.h +++ b/test/regression/ptp_test/netx_ptp_utility.h @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #ifndef TEST_UTILITY_H #define TEST_UTILITY_H |
