summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build_azure_iot.sh11
-rwxr-xr-xscripts/build_crypto.sh11
-rwxr-xr-xscripts/build_mqtt.sh11
-rwxr-xr-xscripts/build_mqtt_interoperability.sh11
-rwxr-xr-xscripts/build_nxd.sh11
-rwxr-xr-xscripts/build_nxd64.sh11
-rwxr-xr-xscripts/build_nxd_fast.sh11
-rwxr-xr-xscripts/build_ptp.sh11
-rwxr-xr-xscripts/build_secure.sh11
-rwxr-xr-xscripts/build_secure_interoperability.sh11
-rwxr-xr-xscripts/build_web.sh11
-rwxr-xr-xscripts/install.sh11
-rwxr-xr-xscripts/install_mqtt.sh11
-rwxr-xr-xscripts/install_secure.sh11
-rwxr-xr-xscripts/prepare_release.sh172
-rwxr-xr-xscripts/submodule_set_dev.sh28
-rwxr-xr-xscripts/submodule_set_release.sh29
-rwxr-xr-xscripts/test_azure_iot.sh11
-rwxr-xr-xscripts/test_crypto.sh11
-rwxr-xr-xscripts/test_mqtt.sh11
-rwxr-xr-xscripts/test_mqtt_interoperability.sh11
-rwxr-xr-xscripts/test_nxd.sh11
-rwxr-xr-xscripts/test_nxd64.sh11
-rwxr-xr-xscripts/test_nxd_fast.sh11
-rwxr-xr-xscripts/test_ptp.sh11
-rwxr-xr-xscripts/test_secure.sh11
-rwxr-xr-xscripts/test_secure_interoperability.sh11
-rwxr-xr-xscripts/test_web.sh11
28 files changed, 504 insertions, 0 deletions
diff --git a/scripts/build_azure_iot.sh b/scripts/build_azure_iot.sh
index 3b7bec71..a0d2404b 100755
--- a/scripts/build_azure_iot.sh
+++ b/scripts/build_azure_iot.sh
@@ -1,3 +1,14 @@
#! /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
+##############################################################################
+
$(dirname `realpath $0`)/../test/cmake/azure_iot/run.sh build all \ No newline at end of file
diff --git a/scripts/build_crypto.sh b/scripts/build_crypto.sh
index 451194ad..3112157c 100755
--- a/scripts/build_crypto.sh
+++ b/scripts/build_crypto.sh
@@ -1,3 +1,14 @@
#! /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
+##############################################################################
+
$(dirname `realpath $0`)/../test/cmake/crypto/run.sh build all
diff --git a/scripts/build_mqtt.sh b/scripts/build_mqtt.sh
index 25014531..bd5ee5aa 100755
--- a/scripts/build_mqtt.sh
+++ b/scripts/build_mqtt.sh
@@ -1,3 +1,14 @@
#! /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
+##############################################################################
+
$(dirname `realpath $0`)/../test/cmake/mqtt/run.sh build all
diff --git a/scripts/build_mqtt_interoperability.sh b/scripts/build_mqtt_interoperability.sh
index 573c8e6d..94d7a792 100755
--- a/scripts/build_mqtt_interoperability.sh
+++ b/scripts/build_mqtt_interoperability.sh
@@ -1,3 +1,14 @@
#! /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
+##############################################################################
+
$(dirname `realpath $0`)/../test/cmake/mqtt_interoperability/run.sh build all
diff --git a/scripts/build_nxd.sh b/scripts/build_nxd.sh
index 2512fb67..a8d8e9d6 100755
--- a/scripts/build_nxd.sh
+++ b/scripts/build_nxd.sh
@@ -1,3 +1,14 @@
#! /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
+##############################################################################
+
$(dirname `realpath $0`)/../test/cmake/netxduo/run.sh build all
diff --git a/scripts/build_nxd64.sh b/scripts/build_nxd64.sh
index 93fc15c1..5c1e9f4d 100755
--- a/scripts/build_nxd64.sh
+++ b/scripts/build_nxd64.sh
@@ -1,3 +1,14 @@
#! /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
+##############################################################################
+
$(dirname `realpath $0`)/../test/cmake/netxduo64/run.sh build all
diff --git a/scripts/build_nxd_fast.sh b/scripts/build_nxd_fast.sh
index cf9ba54d..9081febd 100755
--- a/scripts/build_nxd_fast.sh
+++ b/scripts/build_nxd_fast.sh
@@ -1,3 +1,14 @@
#! /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
+##############################################################################
+
$(dirname `realpath $0`)/../test/cmake/netxduo_fast/run.sh build all
diff --git a/scripts/build_ptp.sh b/scripts/build_ptp.sh
index 6f715749..475e8b6e 100755
--- a/scripts/build_ptp.sh
+++ b/scripts/build_ptp.sh
@@ -1,3 +1,14 @@
#! /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
+##############################################################################
+
$(dirname `realpath $0`)/../test/cmake/ptp/run.sh build all
diff --git a/scripts/build_secure.sh b/scripts/build_secure.sh
index d1c77c02..5dd992ca 100755
--- a/scripts/build_secure.sh
+++ b/scripts/build_secure.sh
@@ -1,3 +1,14 @@
#! /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
+##############################################################################
+
$(dirname `realpath $0`)/../test/cmake/nx_secure/run.sh build all
diff --git a/scripts/build_secure_interoperability.sh b/scripts/build_secure_interoperability.sh
index a1ada03b..25b7ffbf 100755
--- a/scripts/build_secure_interoperability.sh
+++ b/scripts/build_secure_interoperability.sh
@@ -1,3 +1,14 @@
#! /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
+##############################################################################
+
$(dirname `realpath $0`)/../test/cmake/nx_secure_interoperability/run.sh build all
diff --git a/scripts/build_web.sh b/scripts/build_web.sh
index a8bee025..f881e2a4 100755
--- a/scripts/build_web.sh
+++ b/scripts/build_web.sh
@@ -1,3 +1,14 @@
#! /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
+##############################################################################
+
$(dirname `realpath $0`)/../test/cmake/web/run.sh build all
diff --git a/scripts/install.sh b/scripts/install.sh
index dd55b3e4..63b40408 100755
--- a/scripts/install.sh
+++ b/scripts/install.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
+##############################################################################
+
#
# Remove large folder
diff --git a/scripts/install_mqtt.sh b/scripts/install_mqtt.sh
index 41824416..bcb74a40 100755
--- a/scripts/install_mqtt.sh
+++ b/scripts/install_mqtt.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
+##############################################################################
+
sudo dpkg --add-architecture i386
diff --git a/scripts/install_secure.sh b/scripts/install_secure.sh
index 9b1c5074..05ed0235 100755
--- a/scripts/install_secure.sh
+++ b/scripts/install_secure.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
+##############################################################################
+
sudo dpkg --add-architecture i386
diff --git a/scripts/prepare_release.sh b/scripts/prepare_release.sh
new file mode 100755
index 00000000..e3b896d1
--- /dev/null
+++ b/scripts/prepare_release.sh
@@ -0,0 +1,172 @@
+#!/usr/bin/env bash
+# prepare_release.sh
+# Prepares a NetX Duo release by updating version constants and port version strings.
+#
+# Usage: prepare_release.sh <version>
+# Example: prepare_release.sh 6.5.1.202602
+# Hotfix: prepare_release.sh 6.5.1.202602a
+#
+# This script:
+# 1. Creates branch release-<version>-preparation from dev
+# 2. Updates version constants in common/inc/nx_api.h
+# (commit: "Updated version number constants")
+# 3. Updates port version strings in all nx_port.h files
+# (commit: "Updated port version strings")
+#
+# Copyright (C) 2026 Eclipse ThreadX contributors
+# SPDX-License-Identifier: MIT
+
+set -eu
+
+SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
+REPO_ROOT="$(cd "${SCRIPT_DIR}/.." && pwd)"
+
+API_HEADER="${REPO_ROOT}/common/inc/nx_api.h"
+PORT_HEADER_NAME="nx_port.h"
+PORT_DIRS="ports"
+
+# --------------------------------------------------------------------------
+# Argument validation
+# --------------------------------------------------------------------------
+if [ "$#" -ne 1 ]; then
+ printf "Usage: %s <version>\n" "$(basename "$0")" >&2
+ printf "Example: %s 6.5.1.202602\n" "$(basename "$0")" >&2
+ exit 1
+fi
+
+VERSION="$1"
+
+if ! printf "%s" "${VERSION}" | grep -qE '^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+[a-z]?$'; then
+ printf "Error: Invalid version format '%s'.\n" "${VERSION}" >&2
+ printf "Expected: MAJOR.MINOR.PATCH.BUILD[hotfix_letter]\n" >&2
+ exit 1
+fi
+
+# --------------------------------------------------------------------------
+# Parse version components
+# --------------------------------------------------------------------------
+MAJOR=$(printf "%s" "${VERSION}" | cut -d. -f1)
+MINOR=$(printf "%s" "${VERSION}" | cut -d. -f2)
+PATCH=$(printf "%s" "${VERSION}" | cut -d. -f3)
+BUILD_AND_HOTFIX=$(printf "%s" "${VERSION}" | cut -d. -f4)
+BUILD=$(printf "%s" "${BUILD_AND_HOTFIX}" | sed -E 's/[a-z]+$//')
+HOTFIX=$(printf "%s" "${BUILD_AND_HOTFIX}" | sed -E 's/^[0-9]+//')
+
+if [ -z "${HOTFIX}" ]; then
+ HOTFIX_DEFINE="' '"
+else
+ HOTFIX_DEFINE="'${HOTFIX}'"
+fi
+
+# --------------------------------------------------------------------------
+# Read and display current version
+# --------------------------------------------------------------------------
+CURR_MAJOR=$(grep -E "^#define NETXDUO_MAJOR_VERSION" "${API_HEADER}" | awk '{print $NF}')
+CURR_MINOR=$(grep -E "^#define NETXDUO_MINOR_VERSION" "${API_HEADER}" | awk '{print $NF}')
+CURR_PATCH=$(grep -E "^#define NETXDUO_PATCH_VERSION" "${API_HEADER}" | awk '{print $NF}')
+CURR_BUILD=$(grep -E "^#define NETXDUO_BUILD_VERSION" "${API_HEADER}" | awk '{print $NF}')
+CURR_HOTFIX=$(grep -E "^#define NETXDUO_HOTFIX_VERSION" "${API_HEADER}" | \
+ sed -E "s/.*'([^']*)'.*/\1/" | tr -d ' ')
+
+if [ -z "${CURR_HOTFIX}" ]; then
+ CURR_VER="${CURR_MAJOR}.${CURR_MINOR}.${CURR_PATCH}.${CURR_BUILD}"
+else
+ CURR_VER="${CURR_MAJOR}.${CURR_MINOR}.${CURR_PATCH}.${CURR_BUILD}${CURR_HOTFIX}"
+fi
+
+printf "\nNetX Duo release preparation\n"
+printf " Repository : %s\n" "${REPO_ROOT}"
+printf " Current version : %s\n" "${CURR_VER}"
+printf " Target version : %s\n\n" "${VERSION}"
+printf "Proceed with update? [y/N] "
+read -r CONFIRM
+case "${CONFIRM}" in
+ y|Y) ;;
+ *)
+ printf "Aborted.\n"
+ exit 0
+ ;;
+esac
+
+# --------------------------------------------------------------------------
+# Pre-flight checks
+# --------------------------------------------------------------------------
+if ! git -C "${REPO_ROOT}" diff --quiet HEAD 2>/dev/null; then
+ printf "Error: Working tree has uncommitted changes. Commit or stash first.\n" >&2
+ exit 1
+fi
+
+# --------------------------------------------------------------------------
+# Create feature branch from dev
+# --------------------------------------------------------------------------
+BRANCH_NAME="release-${VERSION}-preparation"
+printf "\nChecking out dev and pulling latest changes...\n"
+git -C "${REPO_ROOT}" checkout dev
+git -C "${REPO_ROOT}" pull origin dev
+printf "Creating branch '%s'...\n" "${BRANCH_NAME}"
+git -C "${REPO_ROOT}" checkout -b "${BRANCH_NAME}"
+
+# --------------------------------------------------------------------------
+# Update version constants
+# --------------------------------------------------------------------------
+printf "\nUpdating version constants in %s...\n" "${API_HEADER}"
+
+sed -i -E "s|(#define NETXDUO_MAJOR_VERSION[[:space:]]+)[0-9]+|\1${MAJOR}|" "${API_HEADER}"
+sed -i -E "s|(#define NETXDUO_MINOR_VERSION[[:space:]]+)[0-9]+|\1${MINOR}|" "${API_HEADER}"
+sed -i -E "s|(#define NETXDUO_PATCH_VERSION[[:space:]]+)[0-9]+|\1${PATCH}|" "${API_HEADER}"
+sed -i -E "s|(#define NETXDUO_BUILD_VERSION[[:space:]]+)[0-9]+|\1${BUILD}|" "${API_HEADER}"
+sed -i -E "s|(#define NETXDUO_HOTFIX_VERSION[[:space:]]+)'[^']*'|\1${HOTFIX_DEFINE}|" "${API_HEADER}"
+
+git -C "${REPO_ROOT}" add "${API_HEADER}"
+git -C "${REPO_ROOT}" commit -F - <<'COMMIT_EOF'
+Updated version number constants
+
+Co-authored-by: Copilot <[email protected]>
+COMMIT_EOF
+
+printf "Committed version constant updates.\n"
+
+# --------------------------------------------------------------------------
+# Update port version strings
+# --------------------------------------------------------------------------
+printf "\nUpdating port version strings...\n"
+
+PORT_FILES=""
+for dir in ${PORT_DIRS}; do
+ if [ -d "${REPO_ROOT}/${dir}" ]; then
+ found=$(find "${REPO_ROOT}/${dir}" -name "${PORT_HEADER_NAME}" 2>/dev/null | sort)
+ if [ -n "${found}" ]; then
+ PORT_FILES="${PORT_FILES}${found}
+"
+ fi
+ fi
+done
+PORT_FILES=$(printf "%s" "${PORT_FILES}" | grep -v '^[[:space:]]*$' || true)
+
+if [ -z "${PORT_FILES}" ]; then
+ printf "Warning: No port header files found. Skipping port version string commit.\n"
+else
+ while IFS= read -r port_file; do
+ if [ -n "${port_file}" ] && grep -qE "Version [0-9]" "${port_file}" 2>/dev/null; then
+ sed -i -E "s/Version [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+[a-z]*/Version ${VERSION}/g" "${port_file}"
+ printf " Updated: %s\n" "${port_file#${REPO_ROOT}/}"
+ fi
+ done <<EOF
+${PORT_FILES}
+EOF
+
+ git -C "${REPO_ROOT}" add -u
+ if git -C "${REPO_ROOT}" diff --cached --quiet; then
+ printf "No port version string changes staged. Skipping commit.\n"
+ else
+ git -C "${REPO_ROOT}" commit -F - <<'COMMIT_EOF'
+Updated port version strings
+
+Co-authored-by: Copilot <[email protected]>
+COMMIT_EOF
+ printf "Committed port version string updates.\n"
+ fi
+fi
+
+printf "\nRelease preparation complete.\n"
+printf "Branch '%s' is ready for review.\n" "${BRANCH_NAME}"
diff --git a/scripts/submodule_set_dev.sh b/scripts/submodule_set_dev.sh
new file mode 100755
index 00000000..22bb8948
--- /dev/null
+++ b/scripts/submodule_set_dev.sh
@@ -0,0 +1,28 @@
+#!/bin/bash
+# SPDX-License-Identifier: MIT
+# Copyright (c) 2026 Eclipse ThreadX Contributors
+# Some portions generated by Copilot (claude-sonnet-4.6).
+#
+# Update test submodules to the latest commit on their dev branch.
+# Run this script from the repository root.
+
+set -euo pipefail
+
+REPO_ROOT="$(dirname "$(realpath "$0")")/.."
+SUBMODULES=(
+ "test/cmake/filex"
+ "test/cmake/threadx"
+)
+
+cd "$REPO_ROOT"
+
+for sub in "${SUBMODULES[@]}"; do
+ echo "Updating $sub to origin/dev..."
+ git -C "$sub" fetch origin dev
+ git -C "$sub" checkout origin/dev
+done
+
+git add "${SUBMODULES[@]}"
+echo ""
+echo "Submodules updated. Review with 'git diff --cached', then commit:"
+echo " git commit -m \"chore: update submodules to latest dev commits\""
diff --git a/scripts/submodule_set_release.sh b/scripts/submodule_set_release.sh
new file mode 100755
index 00000000..c48a6b93
--- /dev/null
+++ b/scripts/submodule_set_release.sh
@@ -0,0 +1,29 @@
+#!/bin/bash
+# SPDX-License-Identifier: MIT
+# Copyright (c) 2026 Eclipse ThreadX Contributors
+# Some portions generated by Copilot (claude-sonnet-4.6).
+#
+# Update test submodules to the latest commit on their release branch (master).
+# Run this on release day after dev has been merged to master.
+
+set -euo pipefail
+
+REPO_ROOT="$(dirname "$(realpath "$0")")/.."
+SUBMODULES=(
+ "test/cmake/filex"
+ "test/cmake/threadx"
+)
+RELEASE_BRANCH="master"
+
+cd "$REPO_ROOT"
+
+for sub in "${SUBMODULES[@]}"; do
+ echo "Updating $sub to origin/$RELEASE_BRANCH..."
+ git -C "$sub" fetch origin "$RELEASE_BRANCH"
+ git -C "$sub" checkout "origin/$RELEASE_BRANCH"
+done
+
+git add "${SUBMODULES[@]}"
+echo ""
+echo "Submodules updated. Review with 'git diff --cached', then commit:"
+echo " git commit -m \"chore: update submodules to latest release commits\""
diff --git a/scripts/test_azure_iot.sh b/scripts/test_azure_iot.sh
index 33acf55a..148216ca 100755
--- a/scripts/test_azure_iot.sh
+++ b/scripts/test_azure_iot.sh
@@ -1,3 +1,14 @@
#! /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
+##############################################################################
+
CTEST_PARALLEL_LEVEL=4 $(dirname `realpath $0`)/../test/cmake/azure_iot/run.sh test all
diff --git a/scripts/test_crypto.sh b/scripts/test_crypto.sh
index 35cf7b7c..775a1ecd 100755
--- a/scripts/test_crypto.sh
+++ b/scripts/test_crypto.sh
@@ -1,3 +1,14 @@
#! /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
+##############################################################################
+
CTEST_PARALLEL_LEVEL=4 $(dirname `realpath $0`)/../test/cmake/crypto/run.sh test all
diff --git a/scripts/test_mqtt.sh b/scripts/test_mqtt.sh
index ca83fa90..7f36945a 100755
--- a/scripts/test_mqtt.sh
+++ b/scripts/test_mqtt.sh
@@ -1,3 +1,14 @@
#! /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
+##############################################################################
+
CTEST_PARALLEL_LEVEL=4 $(dirname `realpath $0`)/../test/cmake/mqtt/run.sh test all
diff --git a/scripts/test_mqtt_interoperability.sh b/scripts/test_mqtt_interoperability.sh
index b3dac54d..78ffb03c 100755
--- a/scripts/test_mqtt_interoperability.sh
+++ b/scripts/test_mqtt_interoperability.sh
@@ -1,3 +1,14 @@
#! /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
+##############################################################################
+
sudo CTEST_PARALLEL_LEVEL=1 $(dirname `realpath $0`)/../test/cmake/mqtt_interoperability/run.sh test all
diff --git a/scripts/test_nxd.sh b/scripts/test_nxd.sh
index e0de4019..1e56fac4 100755
--- a/scripts/test_nxd.sh
+++ b/scripts/test_nxd.sh
@@ -1,3 +1,14 @@
#! /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
+##############################################################################
+
CTEST_PARALLEL_LEVEL=4 $(dirname `realpath $0`)/../test/cmake/netxduo/run.sh test all
diff --git a/scripts/test_nxd64.sh b/scripts/test_nxd64.sh
index 4bac622e..27e20e4f 100755
--- a/scripts/test_nxd64.sh
+++ b/scripts/test_nxd64.sh
@@ -1,3 +1,14 @@
#! /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
+##############################################################################
+
CTEST_PARALLEL_LEVEL=4 $(dirname `realpath $0`)/../test/cmake/netxduo64/run.sh test all
diff --git a/scripts/test_nxd_fast.sh b/scripts/test_nxd_fast.sh
index 94185b79..b75f1353 100755
--- a/scripts/test_nxd_fast.sh
+++ b/scripts/test_nxd_fast.sh
@@ -1,3 +1,14 @@
#! /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
+##############################################################################
+
CTEST_PARALLEL_LEVEL=4 $(dirname `realpath $0`)/../test/cmake/netxduo_fast/run.sh test all
diff --git a/scripts/test_ptp.sh b/scripts/test_ptp.sh
index f7df4ce7..5db3f6df 100755
--- a/scripts/test_ptp.sh
+++ b/scripts/test_ptp.sh
@@ -1,3 +1,14 @@
#! /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
+##############################################################################
+
CTEST_PARALLEL_LEVEL=4 $(dirname `realpath $0`)/../test/cmake/ptp/run.sh test all
diff --git a/scripts/test_secure.sh b/scripts/test_secure.sh
index 412f723c..3dde3fa8 100755
--- a/scripts/test_secure.sh
+++ b/scripts/test_secure.sh
@@ -1,3 +1,14 @@
#! /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
+##############################################################################
+
CTEST_PARALLEL_LEVEL=4 $(dirname `realpath $0`)/../test/cmake/nx_secure/run.sh test all
diff --git a/scripts/test_secure_interoperability.sh b/scripts/test_secure_interoperability.sh
index 6c2ff019..4e339c25 100755
--- a/scripts/test_secure_interoperability.sh
+++ b/scripts/test_secure_interoperability.sh
@@ -1,3 +1,14 @@
#! /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
+##############################################################################
+
sudo CTEST_PARALLEL_LEVEL=1 $(dirname `realpath $0`)/../test/cmake/nx_secure_interoperability/run.sh test all
diff --git a/scripts/test_web.sh b/scripts/test_web.sh
index a77050dd..7e285528 100755
--- a/scripts/test_web.sh
+++ b/scripts/test_web.sh
@@ -1,3 +1,14 @@
#! /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
+##############################################################################
+
CTEST_PARALLEL_LEVEL=4 $(dirname `realpath $0`)/../test/cmake/web/run.sh test all