libtest: Add scheduler test support

Add support to record scheduler operations.  This support is especially
important for tests in SMP configurations since the thread switch extension is
quite difficult to use due to the asynchronous nature of thread dispatching.
In contrast, the scheduler operations occur normally in a deterministic order.

Update #3716.
This commit is contained in:
Sebastian Huber
2021-04-08 08:18:20 +02:00
parent d0de6fdfa8
commit cc1c944042
3 changed files with 950 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ install:
source:
- cpukit/include/rtems/test.h
- cpukit/include/rtems/test-info.h
- cpukit/include/rtems/test-scheduler.h
install-path: ${BSP_LIBDIR}
links: []
source:
@@ -30,6 +31,7 @@ source:
- cpukit/libtest/t-test-rtems-objs.c
- cpukit/libtest/t-test-rtems-posix-keys.c
- cpukit/libtest/t-test-rtems.c
- cpukit/libtest/t-test-scheduler.c
- cpukit/libtest/t-test-thread-switch.c
- cpukit/libtest/t-test-time.c
- cpukit/libtest/t-test.c