diff options
Diffstat (limited to 'test/regression/interoperability_test/test_frame')
25 files changed, 275 insertions, 0 deletions
diff --git a/test/regression/interoperability_test/test_frame/tls_test_director_clean_all.c b/test/regression/interoperability_test/test_frame/tls_test_director_clean_all.c index 529b7d19..337649dc 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_director_clean_all.c +++ b/test/regression/interoperability_test/test_frame/tls_test_director_clean_all.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 "tls_test_frame.h" /* Destroy both registered instances and director. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_director_cleanup_registered_instances.c b/test/regression/interoperability_test/test_frame/tls_test_director_cleanup_registered_instances.c index 4b4451c1..04f352e5 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_director_cleanup_registered_instances.c +++ b/test/regression/interoperability_test/test_frame/tls_test_director_cleanup_registered_instances.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 "tls_test_frame.h" /* Cleanup registered instances. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_director_create.c b/test/regression/interoperability_test/test_frame/tls_test_director_create.c index 2101aa6a..0db64f65 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_director_create.c +++ b/test/regression/interoperability_test/test_frame/tls_test_director_create.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 "tls_test_frame.h" /* Construct tls test director. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_director_destroy.c b/test/regression/interoperability_test/test_frame/tls_test_director_destroy.c index 9440303f..e3de2a8a 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_director_destroy.c +++ b/test/regression/interoperability_test/test_frame/tls_test_director_destroy.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 "tls_test_frame.h" /* Destroy test director. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_director_register_test_instance.c b/test/regression/interoperability_test/test_frame/tls_test_director_register_test_instance.c index cb19e2f9..5169ed9e 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_director_register_test_instance.c +++ b/test/regression/interoperability_test/test_frame/tls_test_director_register_test_instance.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 "tls_test_frame.h" /* Register tlst test instance to tls test director. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_director_test_start.c b/test/regression/interoperability_test/test_frame/tls_test_director_test_start.c index 411da1a1..debfe66f 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_director_test_start.c +++ b/test/regression/interoperability_test/test_frame/tls_test_director_test_start.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 "tls_test_frame.h" static void signal_handler_wait_all( int signum) diff --git a/test/regression/interoperability_test/test_frame/tls_test_frame.h b/test/regression/interoperability_test/test_frame/tls_test_frame.h index c4626e8f..7ce993b0 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_frame.h +++ b/test/regression/interoperability_test/test_frame/tls_test_frame.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 __TLS_TEST_FRAME__ #define __TLS_TEST_FRAME__ diff --git a/test/regression/interoperability_test/test_frame/tls_test_get_external_test_process_output.c b/test/regression/interoperability_test/test_frame/tls_test_get_external_test_process_output.c index 92ca5cfb..c70d4a4a 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_get_external_test_process_output.c +++ b/test/regression/interoperability_test/test_frame/tls_test_get_external_test_process_output.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 "tls_test_frame.h" /* Launch an external test process and redirect the output to a given buffer. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_instance_append.c b/test/regression/interoperability_test/test_frame/tls_test_instance_append.c index ca57ed50..a9679ce1 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_instance_append.c +++ b/test/regression/interoperability_test/test_frame/tls_test_instance_append.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 "tls_test_frame.h" /* Appended next_instance_ptr to instance_ptr. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_instance_attributes_access.c b/test/regression/interoperability_test/test_frame/tls_test_instance_attributes_access.c index 191fc5dd..f11a0b34 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_instance_attributes_access.c +++ b/test/regression/interoperability_test/test_frame/tls_test_instance_attributes_access.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 "tls_test_frame.h" /* Get the name of the instance. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_instance_create.c b/test/regression/interoperability_test/test_frame/tls_test_instance_create.c index c04b70b3..c6ad9091 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_instance_create.c +++ b/test/regression/interoperability_test/test_frame/tls_test_instance_create.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 "tls_test_frame.h" /* Construct a tls test instance. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_instance_destroy.c b/test/regression/interoperability_test/test_frame/tls_test_instance_destroy.c index 8a72ac47..807d5b8d 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_instance_destroy.c +++ b/test/regression/interoperability_test/test_frame/tls_test_instance_destroy.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 "tls_test_frame.h" /* Destroy test instance. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_instance_find_next.c b/test/regression/interoperability_test/test_frame/tls_test_instance_find_next.c index f137f630..aaed9c1a 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_instance_find_next.c +++ b/test/regression/interoperability_test/test_frame/tls_test_instance_find_next.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 "tls_test_frame.h" /* Find next instance. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_instance_set_exit_status.c b/test/regression/interoperability_test/test_frame/tls_test_instance_set_exit_status.c index d897fed0..95109451 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_instance_set_exit_status.c +++ b/test/regression/interoperability_test/test_frame/tls_test_instance_set_exit_status.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 "tls_test_frame.h" /* Set the exit status of the test instance. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_instance_shared_buffer_manipulate.c b/test/regression/interoperability_test/test_frame/tls_test_instance_shared_buffer_manipulate.c index 3588ee91..36ef72ae 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_instance_shared_buffer_manipulate.c +++ b/test/regression/interoperability_test/test_frame/tls_test_instance_shared_buffer_manipulate.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 "tls_test_frame.h" /* Get offset of the shared buffer. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_kill_external_test_process.c b/test/regression/interoperability_test/test_frame/tls_test_kill_external_test_process.c index 6fabc9cf..01250489 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_kill_external_test_process.c +++ b/test/regression/interoperability_test/test_frame/tls_test_kill_external_test_process.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 "tls_test_frame.h" /* Call external program without output redirecting. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_launch_external_test_process.c b/test/regression/interoperability_test/test_frame/tls_test_launch_external_test_process.c index 6b794154..10967a8b 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_launch_external_test_process.c +++ b/test/regression/interoperability_test/test_frame/tls_test_launch_external_test_process.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 "tls_test_frame.h" /* Call external program without output redirecting. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_launch_external_test_process_in_background.c b/test/regression/interoperability_test/test_frame/tls_test_launch_external_test_process_in_background.c index bc9d363a..d59ddd74 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_launch_external_test_process_in_background.c +++ b/test/regression/interoperability_test/test_frame/tls_test_launch_external_test_process_in_background.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 "tls_test_frame.h" /* Call external program without output redirecting. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_semaphore_create.c b/test/regression/interoperability_test/test_frame/tls_test_semaphore_create.c index dd966068..eee9b35b 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_semaphore_create.c +++ b/test/regression/interoperability_test/test_frame/tls_test_semaphore_create.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 "tls_test_frame.h" /* Create semaphore. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_semaphore_destroy.c b/test/regression/interoperability_test/test_frame/tls_test_semaphore_destroy.c index 3e4542af..0638931d 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_semaphore_destroy.c +++ b/test/regression/interoperability_test/test_frame/tls_test_semaphore_destroy.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 "tls_test_frame.h" /* Release the shared memory of the semaphore. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_semaphore_post.c b/test/regression/interoperability_test/test_frame/tls_test_semaphore_post.c index 28dc3367..681dc869 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_semaphore_post.c +++ b/test/regression/interoperability_test/test_frame/tls_test_semaphore_post.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 "tls_test_frame.h" /* Post semaphore. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_semaphore_wait.c b/test/regression/interoperability_test/test_frame/tls_test_semaphore_wait.c index 45d8bff4..fddc4553 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_semaphore_wait.c +++ b/test/regression/interoperability_test/test_frame/tls_test_semaphore_wait.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 "tls_test_frame.h" /* Wait the system call return success regardless of signals that do not cause test process to terminate. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_uninterruptable_wait.c b/test/regression/interoperability_test/test_frame/tls_test_uninterruptable_wait.c index 80134812..4b984c31 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_uninterruptable_wait.c +++ b/test/regression/interoperability_test/test_frame/tls_test_uninterruptable_wait.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 "tls_test_frame.h" /* Wait for child processed ignoring signals. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_wait_all_child_process.c b/test/regression/interoperability_test/test_frame/tls_test_wait_all_child_process.c index e112c6f6..3dd6be52 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_wait_all_child_process.c +++ b/test/regression/interoperability_test/test_frame/tls_test_wait_all_child_process.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 "tls_test_frame.h" /* Wait until all child processes terminated. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_wait_external_test_process.c b/test/regression/interoperability_test/test_frame/tls_test_wait_external_test_process.c index 6f40a7a7..8aea1646 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_wait_external_test_process.c +++ b/test/regression/interoperability_test/test_frame/tls_test_wait_external_test_process.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 "tls_test_frame.h" /* Call external program without output redirecting. */ |
