summaryrefslogtreecommitdiffstats
path: root/testsuites (unfollow)
Commit message (Collapse)AuthorFilesLines
7 daysvalidation: Fix typoHEADmasterSebastian Huber1-1/+1
8 daysvalidation: Improve bad thread dispatch validationSebastian Huber1-17/+70
8 dayssmptests/smpipi01: Fix sporadic test failureSebastian Huber1-6/+42
Make sure that the last IPI is processed before the next test case is carried out.
8 dayssmpmulticast01: Ignore SMP_FATAL_SHUTDOWN_RESPONSESebastian Huber1-8/+10
This fatal code is a part of the normal SMP termination procedure.
8 daystestsuites/unit: Add tests for compiler builtinsSebastian Huber1-14/+207
On the arm target, __udivmoddi4() cannot be fully tested through normal integer divisions. Update #3716.
13 daysbsps/xil-ttc: Improve clock driverSebastian Huber1-0/+136
Make the clock driver parameters configurable. Use the maximum counter frequency to get the best time resolution. Decouple the CPU counter from the timecounter. Make the tick catch up handling more robust. Add a validation test for the tick catch up.
13 daysbsps/xil-ttc: Add XIL_FATAL_TTC_IRQ_INSTALLSebastian Huber3-0/+350
2024-04-09validation: Fix powerpc in test caseSebastian Huber1-1/+1
The powerpc context switch restores the interrupt state. Update #4955.
2024-03-20Do not define CONFIGURE_TICKS_PER_TIMESLICE to 0Sebastian Huber63-63/+0
Unconditionally make a CONFIGURE_TICKS_PER_TIMESLICE value less than or equal to zero an error. Update #4986.
2024-03-11validation/tc-sched-smp: Fix synchronization issueMatt Joyce1-0/+1
Update #3716.
2024-03-05testsuites/dhrystone: Initialize before useKinsey Moore1-0/+1
This resovles a warning where a variable could be used before it is initialized in some code paths.
2024-02-27testsuites/unit: Add files to groupSebastian Huber2-0/+12
2024-02-26testsuites/jffs2: Add test for empty NOR FSKinsey Moore3-0/+262
This adds a test to very that remounting a completely used, but empty NOR JFFS2 filesystem is possible. Previously, this triggered an edge condition in the JFFS2 scan code that prevented remount of a correctly formed and uncorrupted filesystem.
2024-02-19testsuites/dl11: Test TLS on a secondary threadKinsey Moore2-15/+59
This adds a pthread that runs the test as well to increase test coverage. The original test would have passed if all threads returned the address of the Init task's errno since no additional threads or tasks were checked.
2024-02-16crc: Add a CRC-24Q implementationSebastian Huber1-0/+42
2024-02-16base64: Add decoderMatthew Joyce1-0/+180
2024-02-16base64: Move base64 encoding supportSebastian Huber1-11/+12
2024-01-15smpopenmp01: Convert to JSON dataSebastian Huber3-126/+118
This avoids a dependency on the non-standard libxml2 module.
2024-01-15smplock01: Convert to JSON dataSebastian Huber4-2682/+397
This avoids a dependency on the non-standard libxml2 module.
2024-01-15sptimecounter02: Convert to JSON dataSebastian Huber3-1064/+120
This avoids a dependency on the non-standard libxml2 module.
2024-01-15tmtimer01: Convert to JSON dataSebastian Huber4-178/+328
This avoids a dependency on the non-standard libxml2 module.
2024-01-15tmfine01: Convert to JSON dataSebastian Huber3-4270/+239
This avoids a dependency on the non-standard libxml2 module. Reorder test cases according to expected performance.
2024-01-15tmcontext01: Convert to JSON dataSebastian Huber3-317/+181
This avoids a dependency on the non-standard libxml2 module.
2024-01-15tmcontext01: Improve timing measurements for sparcSebastian Huber1-16/+12
Use a SPARC-specific method to flush the register windows. This improves the timing measurements.
2024-01-15tmcontext01: Prevent optimizationsSebastian Huber1-12/+3
The previous method to prevent optimizations no longer worked at least with GCC 13. Disable intra-procedural optimizations.
2024-01-10libio: Clean up usage of rtems_termios_device_modeKinsey Moore3-3/+3
This cleans up outputUsesInterrupts usage with rtems_termios_device_mode enum values. The outputUsesInterrupts member was typed as an int, named as if it were a boolean value, and used as if it were a rtems_termios_device_mode enum. In this patch, values assigned to outputUsesInterrupts have been converted to the corresponding rtems_termios_device_mode enum value, conversions from deviceOutputUsesInterrupts have been made explicit, and uses of rtems_termios_device_mode enum values with deviceOutputUsesInterrupts have been converted to booleans.
2023-12-22testsuites/fstests: Add JFFS2 NAND support testsKinsey Moore2-0/+290
This adds a second set of JFFS2 tests running on top of a simulated NAND backend to ensure that interactions with delayed writes operate as expected.
2023-12-19fstests/tftpfs: Use rtems_test_run()Sebastian Huber1-56/+2
2023-12-19tm27: Add TM27_INTERRUPT_VECTOR_ALTERNATIVESebastian Huber4-6/+44
The TM27 support may define TM27_INTERRUPT_VECTOR_ALTERNATIVE to provide an alternative software generated interrupt request which is raised by _TM27_Raise_alternative() and cleared by _TM27_Clear_alternative(). Both functions shall return an RTEMS status code. This interrupt vector may be used to test the interrupt controller support on targets which do not provide generic software generated interrupts. Update #3716.
2023-12-19tm27: Add optional TM27_INTERRUPT_VECTOR_DEFAULTSebastian Huber1-1/+7
Let the BSP define TM27_INTERRUPT_VECTOR_DEFAULT to more efficiently and reliably get the TM27 default interrupt vector. Update #3716.
2023-12-14psxftw01: Simplify and use rtems_test_run()Sebastian Huber1-56/+6
2023-11-28validation: Add nested test case remarksSebastian Huber26-0/+156
Close #4971.
2023-11-23validation: Remove superfluous includesSebastian Huber1-4/+0
Update #3716.
2023-11-23validation: Improve MrsP validationSebastian Huber4-16/+46
For uniprocessor configurations, the selection of RTEMS_MULTIPROCESSOR_RESOURCE_SHARING results in a priority ceiling mutex. Build the MrsP validation tests only if RTEMS_SMP is enabled. Update #3716.
2023-11-07validation: Fix typosSebastian Huber3-6/+6
2023-11-07validation: Improve thread idle bodies testSebastian Huber1-4/+15
Update #3716.
2023-11-02testsuites/unit: Add tests for compiler builtinsSebastian Huber1-8/+391
Test some compiler builtins which may use integer library routines: https://gcc.gnu.org/onlinedocs/gccint/Integer-library-routines.html Update #3716.
2023-10-27validation: Add wrapped bsp_interrupt_dispatch for MicroBlazeAlex White1-0/+17
This adds a MicroBlaze-specific bsp_interrupt_dispatch wrapper which fixes a linker error.
2023-10-12validation: Support powerpc in test caseSebastian Huber1-0/+17
Update #4955.
2023-10-12testsuites/unit: Fix build error on aarch64Sebastian Huber1-2/+6
Update #3716.
2023-10-12testsuites/unit: Add tests for compiler builtinsSebastian Huber1-0/+561
Explicitly test the 64-bit integer division and modulo operations. They are essential for the timekeeping services. On most 32-bit targets, they need a software implementation. Update #3716.
2023-10-12validation: Test CPU performanceSebastian Huber1-0/+270
Measure the runtime of 1000 no-operation instructions. This may help to investigate runtime measurement variations which do not result from code generation or source code changes. The runtime measurement of a function which does nothing and just returns gives an estimate of the measurement overhead. Update #3716.
2023-10-12validation: Check thread dispatching detailSebastian Huber1-1/+93
Update #3716.
2023-09-26validation: Compatibility for other RTEMS versionsSebastian Huber1-6/+12
Make some performance tests compatible to other RTEMS versions which do not allow changing the priority of a task which owns a priority inheritance mutex. Update #3716.
2023-09-26validation: Simplify partition performance testSebastian Huber1-2/+1
Do not depend on <rtems/chain.h>. Update #3716.
2023-09-26validation: Check stack of interrupted contextSebastian Huber1-0/+251
Check the stack of the interrupted context during the multitasking start. Update #4955.
2023-09-26psx13: Fix use of uninitialized variable warningSebastian Huber1-0/+2
2023-09-26tests: Add header for RTEMS test printerSebastian Huber33-31/+31
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-09-15score: Add _CPU_Get_TLS_thread_pointer()Sebastian Huber1-0/+33
Add _CPU_Get_TLS_thread_pointer() to get the thread pointer which is used to get the address of thread-local storage objects associated with a thread. Update #4920.
2023-09-15score: Fix TLS support for some code modelsSebastian Huber1-1/+3
Store symbols with an arbitrary absolute address such as _TLS_Size, _TLS_Alignment, _TLS_Data_size, and _TLS_BSS_size in an object to avoid issues with some code models. Update #4953.