summaryrefslogtreecommitdiff
path: root/cpukit/libtest (follow)
AgeCommit message (Collapse)Author
2023-11-28libtest: Add hash to gcov info dumpHEADmasterSebastian Huber
This helps to validate that the data was transferred correctly.
2023-11-28libtest: Add T_add_remark()Sebastian Huber
This can be used to report that nested test cases did run in a test case. Update #4971.
2023-10-02libtest: Include missing header fileSebastian Huber
This fixes the build if RTEMS_PROFILING is enabled.
2023-09-26tests: Add header for RTEMS test printerSebastian Huber
The <rtems/test-info.h> header file is required for every RTEMS test program. Move the RTEMS test printer support to a dedicated header file <rtems/test-printer.h>. This removes an unnecessary dependency to the RTEMS printer support in <rtems/test-info.h>. Tests using the RTEMS Testing Framework no longer depend on the <rtems/printer.h>.
2023-07-28doxygen: Fix group memberships in libtestSebastian Huber
2023-07-28score: Move <rtems/score/gcov.h>Sebastian Huber
Move <rtems/score/gcov.h> to <rtems/test-gcov.h>. These functions do not belong to an super core service.
2023-07-28score: Move formatted I/O functionsSebastian Huber
These functions do not belong to an super core service.
2023-07-26libtest: Place files into a Doxygen groupSebastian Huber
Canonicalize the file headers. Update #3707.
2023-05-20Update company nameSebastian Huber
The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
2022-08-31libtest: Fix warnings without a pragmaSebastian Huber
It seems that recent GCC versions expect that functions with a "const type *" parameter will read from the referenced location. Update #4662.
2022-08-10libtest: Add T_report_hash_sha256_update()Sebastian Huber
Update #3716.
2022-07-04gcov: Add wrapper to dump the gcov infoSebastian Huber
Update #4670.
2022-07-04gcov: Add functions to dump the gcov informationSebastian Huber
Update #4670.
2022-05-04t-test-checks-psx.c: Add file headers and licensesRyan Long
This file had no header, copyright, or license. Based on git history, added appropriate copyright and license.
2022-03-24libtest: Increase line lengthSebastian Huber
Update #3716.
2022-03-24libtest: Add scheduler test supportSebastian Huber
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.
2022-03-22cpukit/libtest: Change license to BSD-2Joel Sherrill
Updates #3053.
2022-03-10cpukit/: Scripted embedded brains header file clean upJoel Sherrill
Updates #4625.
2021-12-22libtest: Check for pending eventsSebastian Huber
Make sure there are no pending events after a test case.
2021-12-07libtest: Fix sample reportingSebastian Huber
The sample reporting wronly added values to the wrong bin in some cases.
2021-12-07libtest: Fix overlap in measurement contextSebastian Huber
2021-11-15libtest: Improve the interrupt test timingSebastian Huber
If no state change occurred during the test action, then assume a late interrupt.
2021-10-25rtems: Fix rate monotonic statisticsSebastian Huber
The rate monotonic period statistics were affected by rtems_cpu_usage_reset(). The logic to detect and work around a CPU usage reset was broken. The Thread_Contol::cpu_time_used is changed to contain the processor time used throughout the entire lifetime of the thread. The new member Thread_Contol::cpu_time_used_at_last_reset is added to contain the processor time used at the time of the last reset through rtems_cpu_usage_reset(). This decouples the resets of the CPU usage and the rate monotonic period statistics. Update #4528.
2021-09-21libtest: Improve T_now_tick()Sebastian Huber
The T_now_tick() is a fall back time measurement using the CPU counter in case no Clock Driver is configured. Some CPU counter may overflow during the test execution. Accumulate the elapsed time to reduce the chance of CPU counter overflows.
2021-09-02libtest: Return fixture context in T_case_begin()Sebastian Huber
This makes it similar to T_push_fixture().
2021-07-29score: Add _Per_CPU_Submit_job()Sebastian Huber
2021-05-03libtest: Fix use of flexible array memberSebastian Huber
Flexible array members must not appear in the middle of a structure.
2021-02-26libtest: Print SHA256 hash in base64urlSebastian Huber
2021-02-26libtest: Report target hashSebastian Huber
Update #4267.
2021-02-25libtest: Report build labelSebastian Huber
Update #4269.
2021-02-24libtest: Add support to seize/surrender objectsSebastian Huber
2021-02-08libtest: Add T_get_thread_timer_state()Sebastian Huber
2021-02-01libtest: Remove double definitionSebastian Huber
2021-02-01libtest: Fix implicit type conversionsSebastian Huber
This fix relates to a Coverity issue (PW.MIXED_ENUM_TYPE).
2021-02-01libtest: Check return values with RTEMS_DEBUGSebastian Huber
This fix relates to a Coverity issue (UNINIT).
2021-01-27libtest: Remove superfluous NULL pointer checkSebastian Huber
This fix relates to CID 1468683 (REVERSE_INULL).
2021-01-27libtest: Use dependency injectionSebastian Huber
This helps static analyzers.
2020-11-24libtest: Fix undefined setjmp() behaviourSebastian Huber
Bug was introduced by 78baeb757957fa0807c30e6c4d21ae99c9639e6a. Update #3199.
2020-11-19libtest: Simplify "Load" environment reportingSebastian Huber
Report all runtime measurement environments with a name only and encode the worker count of the "Load" environment in the name. Update #3199.
2020-11-19libtest: Allow assert checks during test beginSebastian Huber
Allow assert checks in test begin actions and setup fixture methods.
2020-11-19libtest: Rename ValidCache in FullCacheSebastian Huber
This name better reflects the execution envirnoment in which the cache is fully loaded with valid data unrelated to the body request handler.
2020-11-19libtest: Add primitive test case memory allocatorSebastian Huber
This primitive test case memory allocator uses memory from the low-level memory information provided by the BSP. At the beginning of each test case, the memory available to the test case is reinitialized. This allows the use of a simple allocate only allocator.
2020-11-19libtest: Simplify runtime measurement supportSebastian Huber
Use the test case allocator functions T_zalloc() and T_malloc(). Restore the task affinity of the runner task.
2020-11-19libtest: Make test case allocator configurableSebastian Huber
2020-09-24libtest: Remove superfluous assignmentSebastian Huber
Issue found by Coverity (CID 1437643).
2020-09-17libtest: Fix T_thread_switch_record()Sebastian Huber
If RTEMS_DEBUG is not defined, then we have to explicitly set the node off the chain. Update #3199.
2020-08-18libtest: Add T_push_plan() and T_pop_plan()Sebastian Huber
Update #3199.
2020-08-18libtest: Use a destructorSebastian Huber
Do not set up a new test steps environment. Update #3199.
2020-08-18libtest: Change T_step() and T_assert_step()Sebastian Huber
Normally, the expected test step must be a compile time constant. Allow variable expected test steps for the T_step() and T_assert_step(). This can be used for parameterized test loops with individual fixtures. Remove the ability to use custom failure messages due to some implementation constraints. Update #3199.
2020-08-18libtest: Add fixture stepsSebastian Huber
Support a new test plan for each nested fixture. Update #3199.