diff options
Diffstat (limited to 'test/cmake')
24 files changed, 227 insertions, 2 deletions
diff --git a/test/cmake/azure_iot/coverage.sh b/test/cmake/azure_iot/coverage.sh index 4603acad..7818cb4b 100755 --- a/test/cmake/azure_iot/coverage.sh +++ b/test/cmake/azure_iot/coverage.sh @@ -1,4 +1,15 @@ #!/bin/bash +############################################################################## +# 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 +############################################################################## + set -e diff --git a/test/cmake/azure_iot/run.sh b/test/cmake/azure_iot/run.sh index 266c4d13..2f65f1d1 100755 --- a/test/cmake/azure_iot/run.sh +++ b/test/cmake/azure_iot/run.sh @@ -1,4 +1,15 @@ #!/bin/bash +############################################################################## +# 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 +############################################################################## + set -e function help() { diff --git a/test/cmake/crypto/coverage.sh b/test/cmake/crypto/coverage.sh index f0bcec3f..27134441 100755 --- a/test/cmake/crypto/coverage.sh +++ b/test/cmake/crypto/coverage.sh @@ -1,4 +1,15 @@ #!/bin/bash +############################################################################## +# 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 +############################################################################## + set -e diff --git a/test/cmake/crypto/run.sh b/test/cmake/crypto/run.sh index 4ce326b4..5413dc7e 100755 --- a/test/cmake/crypto/run.sh +++ b/test/cmake/crypto/run.sh @@ -1,4 +1,15 @@ #!/bin/bash +############################################################################## +# 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 +############################################################################## + cd $(dirname $0) diff --git a/test/cmake/filex b/test/cmake/filex -Subproject 9023227ba4cf4e12d010daed121f5148b80403d +Subproject c3e1f15536c21f9dc9d1bbe689c0c256dd5f695 diff --git a/test/cmake/mqtt/coverage.sh b/test/cmake/mqtt/coverage.sh index 4aa7e6bf..61793801 100755 --- a/test/cmake/mqtt/coverage.sh +++ b/test/cmake/mqtt/coverage.sh @@ -1,4 +1,15 @@ #!/bin/bash +############################################################################## +# 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 +############################################################################## + set -e diff --git a/test/cmake/mqtt/run.sh b/test/cmake/mqtt/run.sh index 84a4eb24..c345775d 100755 --- a/test/cmake/mqtt/run.sh +++ b/test/cmake/mqtt/run.sh @@ -1,4 +1,15 @@ #!/bin/bash +############################################################################## +# 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 +############################################################################## + cd $(dirname $0) diff --git a/test/cmake/mqtt_interoperability/run.sh b/test/cmake/mqtt_interoperability/run.sh index fa9d3829..00233905 100755 --- a/test/cmake/mqtt_interoperability/run.sh +++ b/test/cmake/mqtt_interoperability/run.sh @@ -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 +############################################################################## + eclipse-threadx#!/bin/bash cd $(dirname $0) diff --git a/test/cmake/netxduo/coverage.sh b/test/cmake/netxduo/coverage.sh index 435de047..e77ba11e 100755 --- a/test/cmake/netxduo/coverage.sh +++ b/test/cmake/netxduo/coverage.sh @@ -1,4 +1,15 @@ #!/bin/bash +############################################################################## +# 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 +############################################################################## + set -e diff --git a/test/cmake/netxduo/regression/CMakeLists.txt b/test/cmake/netxduo/regression/CMakeLists.txt index 32b1b981..794d4b36 100644 --- a/test/cmake/netxduo/regression/CMakeLists.txt +++ b/test/cmake/netxduo/regression/CMakeLists.txt @@ -53,7 +53,10 @@ if("-DNX_BSD_ENABLE" IN_LIST ${CMAKE_BUILD_TYPE}) ${SOURCE_DIR}/bsd_test/netx_bsd_tcp_getsockname_without_bind_test.c ${SOURCE_DIR}/bsd_test/netx_bsd_tcp_rcvbuf_test.c ${SOURCE_DIR}/bsd_test/netx_bsd_tcp_fionread_test.c - ${SOURCE_DIR}/bsd_test/netx_bsd_select_spurious_event_test.c) + ${SOURCE_DIR}/bsd_test/netx_bsd_select_spurious_event_test.c + ${SOURCE_DIR}/bsd_test/netx_bsd_socket_options_test.c + ${SOURCE_DIR}/bsd_test/netx_bsd_select_improvements_test.c + ${SOURCE_DIR}/bsd_test/netx_bsd_recvfromto_test.c) if("-DNX_BSD_RAW_SUPPORT" IN_LIST ${CMAKE_BUILD_TYPE}) list( APPEND @@ -183,7 +186,8 @@ set(ftp_test_cases ${SOURCE_DIR}/ftp_test/netx_ftp_disconnection_event_test.c ${SOURCE_DIR}/ftp_test/netx_ftp_ipv6_epsv_test.c ${SOURCE_DIR}/ftp_test/netx_ftp_pasv_port_test.c - ${SOURCE_DIR}/ftp_test/netx_ftp_pasv_stor_test.c) + ${SOURCE_DIR}/ftp_test/netx_ftp_pasv_stor_test.c + ${SOURCE_DIR}/ftp_test/netx_ftp_server_activity_timeout_test.c) set(http_test_cases ${SOURCE_DIR}/http_test/netx_http_get_put_referred_URI_test.c diff --git a/test/cmake/netxduo/run.sh b/test/cmake/netxduo/run.sh index 84a4eb24..c345775d 100755 --- a/test/cmake/netxduo/run.sh +++ b/test/cmake/netxduo/run.sh @@ -1,4 +1,15 @@ #!/bin/bash +############################################################################## +# 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 +############################################################################## + cd $(dirname $0) diff --git a/test/cmake/netxduo64/coverage.sh b/test/cmake/netxduo64/coverage.sh index 6716090c..8101a7d4 100755 --- a/test/cmake/netxduo64/coverage.sh +++ b/test/cmake/netxduo64/coverage.sh @@ -1,4 +1,15 @@ #!/bin/bash +############################################################################## +# 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 +############################################################################## + set -e diff --git a/test/cmake/netxduo64/run.sh b/test/cmake/netxduo64/run.sh index ad59df07..1144fe9d 100755 --- a/test/cmake/netxduo64/run.sh +++ b/test/cmake/netxduo64/run.sh @@ -1,4 +1,15 @@ #!/bin/bash +############################################################################## +# 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 +############################################################################## + cd $(dirname $0) diff --git a/test/cmake/netxduo_fast/coverage.sh b/test/cmake/netxduo_fast/coverage.sh index 6716090c..8101a7d4 100755 --- a/test/cmake/netxduo_fast/coverage.sh +++ b/test/cmake/netxduo_fast/coverage.sh @@ -1,4 +1,15 @@ #!/bin/bash +############################################################################## +# 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 +############################################################################## + set -e diff --git a/test/cmake/netxduo_fast/run.sh b/test/cmake/netxduo_fast/run.sh index 84a4eb24..c345775d 100755 --- a/test/cmake/netxduo_fast/run.sh +++ b/test/cmake/netxduo_fast/run.sh @@ -1,4 +1,15 @@ #!/bin/bash +############################################################################## +# 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 +############################################################################## + cd $(dirname $0) diff --git a/test/cmake/nx_secure/coverage.sh b/test/cmake/nx_secure/coverage.sh index 314ef449..a22336f9 100755 --- a/test/cmake/nx_secure/coverage.sh +++ b/test/cmake/nx_secure/coverage.sh @@ -1,4 +1,15 @@ #!/bin/bash +############################################################################## +# 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 +############################################################################## + set -e diff --git a/test/cmake/nx_secure/regression/CMakeLists.txt b/test/cmake/nx_secure/regression/CMakeLists.txt index d14c1a99..f6b5f070 100644 --- a/test/cmake/nx_secure/regression/CMakeLists.txt +++ b/test/cmake/nx_secure/regression/CMakeLists.txt @@ -13,6 +13,7 @@ set(nx_secure_test_cases ${SOURCE_DIR}/nx_secure_test/nx_secure_tls_finished_hash_generate_coverage_test.c ${SOURCE_DIR}/nx_secure_test/nx_secure_tls_generate_keys_coverage_test.c ${SOURCE_DIR}/nx_secure_test/nx_secure_tls_generate_premaster_secret_coverage_test.c + ${SOURCE_DIR}/nx_secure_test/nx_secure_tls_psk_identity_test.c ${SOURCE_DIR}/nx_secure_test/nx_secure_tls_handshake_hash_init_coverage_test.c ${SOURCE_DIR}/nx_secure_test/nx_secure_tls_ecc_generate_keys_coverage_test.c ${SOURCE_DIR}/nx_secure_test/nx_secure_tls_session_renegotiate_coverage_test.c diff --git a/test/cmake/nx_secure/run.sh b/test/cmake/nx_secure/run.sh index 5635c6ff..d90f8cea 100755 --- a/test/cmake/nx_secure/run.sh +++ b/test/cmake/nx_secure/run.sh @@ -1,4 +1,15 @@ #!/bin/bash +############################################################################## +# 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 +############################################################################## + cd $(dirname $0) diff --git a/test/cmake/nx_secure_interoperability/run.sh b/test/cmake/nx_secure_interoperability/run.sh index 5635c6ff..d90f8cea 100755 --- a/test/cmake/nx_secure_interoperability/run.sh +++ b/test/cmake/nx_secure_interoperability/run.sh @@ -1,4 +1,15 @@ #!/bin/bash +############################################################################## +# 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 +############################################################################## + cd $(dirname $0) diff --git a/test/cmake/ptp/coverage.sh b/test/cmake/ptp/coverage.sh index cd0e5ec9..c272b401 100755 --- a/test/cmake/ptp/coverage.sh +++ b/test/cmake/ptp/coverage.sh @@ -1,4 +1,15 @@ #!/bin/bash +############################################################################## +# 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 +############################################################################## + set -e diff --git a/test/cmake/ptp/run.sh b/test/cmake/ptp/run.sh index 234f43c8..5f06b26a 100755 --- a/test/cmake/ptp/run.sh +++ b/test/cmake/ptp/run.sh @@ -1,4 +1,15 @@ #!/bin/bash +############################################################################## +# 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 +############################################################################## + cd $(dirname $0) diff --git a/test/cmake/threadx b/test/cmake/threadx -Subproject 7ad78c40e9702917264a9b722890110fdb909eb +Subproject de1c6e9bbe13e2db480e4e0ed2d3589ebdd5db2 diff --git a/test/cmake/web/coverage.sh b/test/cmake/web/coverage.sh index 3ebcb55f..fb366d70 100755 --- a/test/cmake/web/coverage.sh +++ b/test/cmake/web/coverage.sh @@ -1,4 +1,15 @@ #!/bin/bash +############################################################################## +# 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 +############################################################################## + set -e diff --git a/test/cmake/web/run.sh b/test/cmake/web/run.sh index 52d66e32..46236749 100755 --- a/test/cmake/web/run.sh +++ b/test/cmake/web/run.sh @@ -1,4 +1,15 @@ #!/bin/bash +############################################################################## +# 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 +############################################################################## + cd $(dirname $0) |
