summaryrefslogtreecommitdiff
path: root/test/tx/regression/testcontrol.c
diff options
context:
space:
mode:
authorFrédéric Desbiens <[email protected]>2026-10-02 10:42:44 -0400
committerGitHub <[email protected]>2026-10-02 10:42:44 -0400
commit93387b0a60382a29579bbad5045c68328e3751df (patch)
tree42be790d602cb76f55090e5a7c418df7ea2b3428 /test/tx/regression/testcontrol.c
parent44d7c95c582d415c4ad84527180b29c93c3bf664 (diff)
parent28281cd5647d4671236ca08d19bd18ed15b2265a (diff)
Merge pull request #783 from eclipse-threadx/devv6.5.2.202603_rel
Merged changes ahead of the v6.5.2.202603 release
Diffstat (limited to 'test/tx/regression/testcontrol.c')
-rw-r--r--test/tx/regression/testcontrol.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/test/tx/regression/testcontrol.c b/test/tx/regression/testcontrol.c
index e2b3f725..bec50ee7 100644
--- a/test/tx/regression/testcontrol.c
+++ b/test/tx/regression/testcontrol.c
@@ -10,7 +10,7 @@
/***************************************************************************/
/* This is the test control routine of the ThreadX kernel. All tests are dispatched from this routine. */
-// Some portions generated by Codex (gpt 5.4).
+// Portions of this file were generated with AI assistance.
#include "tx_api.h"
#include <stdio.h>
@@ -69,6 +69,7 @@ TX_BLOCK_POOL init_block_pool;
ULONG init_block_pool_area[50];
TX_EVENT_FLAGS_GROUP init_event_flags;
TX_TIMER init_timer;
+TX_TIMER init_timer_change;
TX_THREAD init_test_thread;
TX_THREAD second_test_thread;
#ifndef TX_TIMER_PROCESS_IN_ISR
@@ -218,6 +219,7 @@ void threadx_thread_simple_sleep_non_clear_application_define(void *);
void threadx_thread_sleep_for_100ticks_application_define(void *);
void threadx_thread_multiple_sleep_application_define(void *);
void threadx_thread_terminate_delete_application_define(void *);
+void threadx_thread_exit_callback_transition_application_define(void *);
void threadx_thread_preemption_change_application_define(void *);
void threadx_thread_priority_change_application_define(void *);
void threadx_thread_time_slice_change_application_define(void *);
@@ -229,6 +231,7 @@ void threadx_thread_create_preemption_threshold_application_define(void *);
void threadx_thread_information_application_define(void *);
void threadx_thread_reset_application_define(void *);
void threadx_thread_stack_checking_application_define(void *);
+void threadx_thread_stack_fill_value_application_define(void *);
void threadx_time_get_set_application_define(void *);
@@ -335,6 +338,7 @@ TEST_ENTRY test_control_tests[] =
threadx_thread_sleep_for_100ticks_application_define,
threadx_thread_multiple_sleep_application_define,
threadx_thread_terminate_delete_application_define,
+ threadx_thread_exit_callback_transition_application_define,
threadx_thread_priority_change_application_define,
@@ -348,6 +352,7 @@ TEST_ENTRY test_control_tests[] =
threadx_thread_information_application_define,
threadx_thread_reset_application_define,
threadx_thread_stack_checking_application_define,
+ threadx_thread_stack_fill_value_application_define,
threadx_time_get_set_application_define,
@@ -565,6 +570,11 @@ TX_THREAD *thread_ptr;
test_timer_create_init = tx_timer_create(&init_timer, "init timer", init_timer_entry, 0x5678,
100, 200, TX_AUTO_ACTIVATE);
+ /* Test timer change from initialization. */
+ test_timer_create_init += tx_timer_create(&init_timer_change, "init timer change", init_timer_entry, 0x5678,
+ 100, 200, TX_NO_ACTIVATE);
+ test_timer_create_init += tx_timer_change(&init_timer_change, 50, 100);
+
/* Test calling tx_thread_relinquish to see if the error checking throws it out. */
tx_thread_relinquish();
#endif