Skip to content

Commit 9d29a9a

Browse files
committed
fix the typos
1 parent 9f527a3 commit 9d29a9a

19 files changed

+200
-200
lines changed

test/smp/cmake/regression/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ set(regression_test_cases
7474
${SOURCE_DIR}/threadx_smp_random_resume_suspend_test.c
7575
${SOURCE_DIR}/threadx_smp_rebalance_exclusion_test.c
7676
${SOURCE_DIR}/threadx_smp_relinquish_test.c
77-
${SOURCE_DIR}/threadx_smp_resume_suspend_accending_order_test.c
78-
${SOURCE_DIR}/threadx_smp_resume_suspend_decending_order_test.c
77+
${SOURCE_DIR}/threadx_smp_resume_suspend_ascending_order_test.c
78+
${SOURCE_DIR}/threadx_smp_resume_suspend_descending_order_test.c
7979
${SOURCE_DIR}/threadx_smp_time_slice_test.c
8080
${SOURCE_DIR}/threadx_smp_two_threads_one_core_test.c
8181
${SOURCE_DIR}/threadx_thread_basic_execution_test.c

test/smp/regression/testcontrol.c

+7-7
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ void threadx_semaphore_information_application_define(void *);
208208
void threadx_thread_basic_execution_application_define(void *);
209209
void threadx_thread_completed_application_define(void *);
210210
void threadx_thread_relinquish_application_define(void *);
211-
void threadx_thread_simple_supsend_application_define(void *);
211+
void threadx_thread_simple_suspend_application_define(void *);
212212
void threadx_thread_multiple_suspension_application_define(void *);
213213
void threadx_thread_multiple_non_current_suspension_application_define(void *);
214214
void threadx_thread_multi_level_preemption_threshold_application_define(void *);
@@ -249,8 +249,8 @@ void threadx_smp_two_threads_one_core_test(void *first_unused_memory);
249249
void threadx_smp_multiple_threads_one_core_test(void *first_unused_memory);
250250
void threadx_smp_one_thread_dynamic_exclusion_test(void *first_unused_memory);
251251
void threadx_smp_non_trivial_scheduling_test(void *first_unused_memory);
252-
void threadx_smp_resume_suspend_accending_order_test(void *first_unused_memory);
253-
void threadx_smp_resume_suspend_decending_order_test(void *first_unused_memory);
252+
void threadx_smp_resume_suspend_ascending_order_test(void *first_unused_memory);
253+
void threadx_smp_resume_suspend_descending_order_test(void *first_unused_memory);
254254
void threadx_smp_preemption_threshold_test(void *first_unused_memory);
255255
void threadx_smp_relinquish_test(void *first_unused_memory);
256256
void threadx_smp_time_slice_test(void *first_unused_memory);
@@ -273,8 +273,8 @@ TEST_ENTRY test_control_tests[] =
273273
threadx_smp_multiple_threads_one_core_test,
274274
threadx_smp_one_thread_dynamic_exclusion_test,
275275
threadx_smp_non_trivial_scheduling_test,
276-
threadx_smp_resume_suspend_accending_order_test,
277-
threadx_smp_resume_suspend_decending_order_test,
276+
threadx_smp_resume_suspend_ascending_order_test,
277+
threadx_smp_resume_suspend_descending_order_test,
278278
threadx_smp_preemption_threshold_test,
279279
threadx_smp_relinquish_test,
280280
threadx_smp_time_slice_test,
@@ -351,7 +351,7 @@ TEST_ENTRY test_control_tests[] =
351351
threadx_thread_basic_execution_application_define,
352352
threadx_thread_completed_application_define,
353353
threadx_thread_relinquish_application_define,
354-
threadx_thread_simple_supsend_application_define,
354+
threadx_thread_simple_suspend_application_define,
355355
threadx_thread_multiple_suspension_application_define,
356356
threadx_thread_multiple_non_current_suspension_application_define,
357357
threadx_thread_multi_level_preemption_threshold_application_define,
@@ -1428,7 +1428,7 @@ UINT old_posture = TX_INT_ENABLE;
14281428
if (old_posture == TX_INT_DISABLE)
14291429
{
14301430

1431-
/* System error - interrupts should alwasy be enabled in our test threads! */
1431+
/* System error - interrupts should always be enabled in our test threads! */
14321432
printf(" ***** SYSTEM ERROR ***** test returned with interrupts disabled!\n");
14331433
test_control_system_errors++;
14341434
}

test/smp/regression/threadx_mutex_information_test.c

+17-17
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ ULONG inheritances;
312312
test_control_return(1);
313313
}
314314

315-
/* Now get the performance inforamtion. */
315+
/* Now get the performance information. */
316316
status = tx_mutex_performance_info_get(&mutex_2, &puts, &gets, &suspensions, &timeouts, &inversions, &inheritances);
317317

318318
/* Check status. */
@@ -326,7 +326,7 @@ ULONG inheritances;
326326
test_control_return(1);
327327
}
328328

329-
/* Now get the system performance inforamtion. */
329+
/* Now get the system performance information. */
330330
status = tx_mutex_performance_system_info_get(&puts, &gets, &suspensions, &timeouts, &inversions, &inheritances);
331331

332332
/* Check status. */
@@ -342,7 +342,7 @@ ULONG inheritances;
342342

343343
#else
344344

345-
/* Now get the performance inforamtion. */
345+
/* Now get the performance information. */
346346
status = tx_mutex_performance_info_get(&mutex_2, &puts, &gets, &suspensions, &timeouts, &inversions, &inheritances);
347347

348348
/* Check status. */
@@ -354,7 +354,7 @@ ULONG inheritances;
354354
test_control_return(1);
355355
}
356356

357-
/* Now get the performance inforamtion. */
357+
/* Now get the performance information. */
358358
status = tx_mutex_performance_info_get(TX_NULL, &puts, &gets, &suspensions, &timeouts, &inversions, &inheritances);
359359

360360
/* Check status. */
@@ -366,7 +366,7 @@ ULONG inheritances;
366366
test_control_return(1);
367367
}
368368

369-
/* Now get the performance inforamtion. */
369+
/* Now get the performance information. */
370370
status = tx_mutex_performance_info_get(TX_NULL, TX_NULL, &gets, &suspensions, &timeouts, &inversions, &inheritances);
371371

372372
/* Check status. */
@@ -378,7 +378,7 @@ ULONG inheritances;
378378
test_control_return(1);
379379
}
380380

381-
/* Now get the performance inforamtion. */
381+
/* Now get the performance information. */
382382
status = tx_mutex_performance_info_get(TX_NULL, TX_NULL, TX_NULL, &suspensions, &timeouts, &inversions, &inheritances);
383383

384384
/* Check status. */
@@ -390,7 +390,7 @@ ULONG inheritances;
390390
test_control_return(1);
391391
}
392392

393-
/* Now get the performance inforamtion. */
393+
/* Now get the performance information. */
394394
status = tx_mutex_performance_info_get(TX_NULL, TX_NULL, TX_NULL, TX_NULL, &timeouts, &inversions, &inheritances);
395395

396396
/* Check status. */
@@ -402,7 +402,7 @@ ULONG inheritances;
402402
test_control_return(1);
403403
}
404404

405-
/* Now get the performance inforamtion. */
405+
/* Now get the performance information. */
406406
status = tx_mutex_performance_info_get(TX_NULL, TX_NULL, TX_NULL, TX_NULL, TX_NULL, &inversions, &inheritances);
407407

408408
/* Check status. */
@@ -414,7 +414,7 @@ ULONG inheritances;
414414
test_control_return(1);
415415
}
416416

417-
/* Now get the performance inforamtion. */
417+
/* Now get the performance information. */
418418
status = tx_mutex_performance_info_get(TX_NULL, TX_NULL, TX_NULL, TX_NULL, TX_NULL, TX_NULL, &inheritances);
419419

420420
/* Check status. */
@@ -426,7 +426,7 @@ ULONG inheritances;
426426
test_control_return(1);
427427
}
428428

429-
/* Now get the performance inforamtion. */
429+
/* Now get the performance information. */
430430
status = tx_mutex_performance_info_get(TX_NULL, TX_NULL, TX_NULL, TX_NULL, TX_NULL, TX_NULL, TX_NULL);
431431

432432
/* Check status. */
@@ -438,7 +438,7 @@ ULONG inheritances;
438438
test_control_return(1);
439439
}
440440

441-
/* Now get the system performance inforamtion. */
441+
/* Now get the system performance information. */
442442
status = tx_mutex_performance_system_info_get(&puts, &gets, &suspensions, &timeouts, &inversions, &inheritances);
443443

444444
/* Check status. */
@@ -450,7 +450,7 @@ ULONG inheritances;
450450
test_control_return(1);
451451
}
452452

453-
/* Now get the system performance inforamtion. */
453+
/* Now get the system performance information. */
454454
status = tx_mutex_performance_system_info_get(TX_NULL, &gets, &suspensions, &timeouts, &inversions, &inheritances);
455455

456456
/* Check status. */
@@ -462,7 +462,7 @@ ULONG inheritances;
462462
test_control_return(1);
463463
}
464464

465-
/* Now get the system performance inforamtion. */
465+
/* Now get the system performance information. */
466466
status = tx_mutex_performance_system_info_get(TX_NULL, TX_NULL, &suspensions, &timeouts, &inversions, &inheritances);
467467

468468
/* Check status. */
@@ -474,7 +474,7 @@ ULONG inheritances;
474474
test_control_return(1);
475475
}
476476

477-
/* Now get the system performance inforamtion. */
477+
/* Now get the system performance information. */
478478
status = tx_mutex_performance_system_info_get(TX_NULL, TX_NULL, TX_NULL, &timeouts, &inversions, &inheritances);
479479

480480
/* Check status. */
@@ -486,7 +486,7 @@ ULONG inheritances;
486486
test_control_return(1);
487487
}
488488

489-
/* Now get the system performance inforamtion. */
489+
/* Now get the system performance information. */
490490
status = tx_mutex_performance_system_info_get(TX_NULL, TX_NULL, TX_NULL, TX_NULL, &inversions, &inheritances);
491491

492492
/* Check status. */
@@ -498,7 +498,7 @@ ULONG inheritances;
498498
test_control_return(1);
499499
}
500500

501-
/* Now get the system performance inforamtion. */
501+
/* Now get the system performance information. */
502502
status = tx_mutex_performance_system_info_get(TX_NULL, TX_NULL, TX_NULL, TX_NULL, TX_NULL, &inheritances);
503503

504504
/* Check status. */
@@ -510,7 +510,7 @@ ULONG inheritances;
510510
test_control_return(1);
511511
}
512512

513-
/* Now get the system performance inforamtion. */
513+
/* Now get the system performance information. */
514514
status = tx_mutex_performance_system_info_get(TX_NULL, TX_NULL, TX_NULL, TX_NULL, TX_NULL, TX_NULL);
515515

516516
/* Check status. */

test/smp/regression/threadx_mutex_nested_priority_inheritance_test.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ UINT status;
404404

405405
tx_mutex_put(&mutex_2);
406406

407-
/* Should reurn us back to priority 15. */
407+
/* Should return us back to priority 15. */
408408
if (thread_0.tx_thread_priority != 15)
409409
{
410410

@@ -441,7 +441,7 @@ UINT status;
441441

442442
tx_mutex_put(&mutex_2);
443443

444-
/* Should reurn us back to priority 8. */
444+
/* Should return us back to priority 8. */
445445
if (thread_0.tx_thread_priority != 8)
446446
{
447447

0 commit comments

Comments
 (0)