summaryrefslogtreecommitdiffstats
path: root/testsuites (follow)
Commit message (Collapse)AuthorAgeFilesLines
* validation: Fix typoHEADmasterSebastian Huber3 days1-1/+1
|
* validation: Improve bad thread dispatch validationSebastian Huber4 days1-17/+70
|
* smptests/smpipi01: Fix sporadic test failureSebastian Huber4 days1-6/+42
| | | | | Make sure that the last IPI is processed before the next test case is carried out.
* smpmulticast01: Ignore SMP_FATAL_SHUTDOWN_RESPONSESebastian Huber4 days1-8/+10
| | | | This fatal code is a part of the normal SMP termination procedure.
* testsuites/unit: Add tests for compiler builtinsSebastian Huber4 days1-14/+207
| | | | | | | On the arm target, __udivmoddi4() cannot be fully tested through normal integer divisions. Update #3716.
* bsps/xil-ttc: Improve clock driverSebastian Huber9 days1-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.
* bsps/xil-ttc: Add XIL_FATAL_TTC_IRQ_INSTALLSebastian Huber9 days3-0/+350
|
* validation: Fix powerpc in test caseSebastian Huber11 days1-1/+1
| | | | | | The powerpc context switch restores the interrupt state. Update #4955.
* Do not define CONFIGURE_TICKS_PER_TIMESLICE to 0Sebastian Huber2024-03-2063-63/+0
| | | | | | | Unconditionally make a CONFIGURE_TICKS_PER_TIMESLICE value less than or equal to zero an error. Update #4986.
* validation/tc-sched-smp: Fix synchronization issueMatt Joyce2024-03-111-0/+1
| | | | Update #3716.
* testsuites/dhrystone: Initialize before useKinsey Moore2024-03-051-0/+1
| | | | | This resovles a warning where a variable could be used before it is initialized in some code paths.
* testsuites/unit: Add files to groupSebastian Huber2024-02-272-0/+12
|
* testsuites/jffs2: Add test for empty NOR FSKinsey Moore2024-02-263-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.
* testsuites/dl11: Test TLS on a secondary threadKinsey Moore2024-02-192-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.
* crc: Add a CRC-24Q implementationSebastian Huber2024-02-161-0/+42
|
* base64: Add decoderMatthew Joyce2024-02-161-0/+180
|
* base64: Move base64 encoding supportSebastian Huber2024-02-161-11/+12
|
* smpopenmp01: Convert to JSON dataSebastian Huber2024-01-153-126/+118
| | | | This avoids a dependency on the non-standard libxml2 module.
* smplock01: Convert to JSON dataSebastian Huber2024-01-154-2682/+397
| | | | This avoids a dependency on the non-standard libxml2 module.
* sptimecounter02: Convert to JSON dataSebastian Huber2024-01-153-1064/+120
| | | | This avoids a dependency on the non-standard libxml2 module.
* tmtimer01: Convert to JSON dataSebastian Huber2024-01-154-178/+328
| | | | This avoids a dependency on the non-standard libxml2 module.
* tmfine01: Convert to JSON dataSebastian Huber2024-01-153-4270/+239
| | | | | This avoids a dependency on the non-standard libxml2 module. Reorder test cases according to expected performance.
* tmcontext01: Convert to JSON dataSebastian Huber2024-01-153-317/+181
| | | | This avoids a dependency on the non-standard libxml2 module.
* tmcontext01: Improve timing measurements for sparcSebastian Huber2024-01-151-16/+12
| | | | | Use a SPARC-specific method to flush the register windows. This improves the timing measurements.
* tmcontext01: Prevent optimizationsSebastian Huber2024-01-151-12/+3
| | | | | The previous method to prevent optimizations no longer worked at least with GCC 13. Disable intra-procedural optimizations.
* libio: Clean up usage of rtems_termios_device_modeKinsey Moore2024-01-103-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.
* testsuites/fstests: Add JFFS2 NAND support testsKinsey Moore2023-12-222-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.
* fstests/tftpfs: Use rtems_test_run()Sebastian Huber2023-12-191-56/+2
|
* tm27: Add TM27_INTERRUPT_VECTOR_ALTERNATIVESebastian Huber2023-12-194-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.
* tm27: Add optional TM27_INTERRUPT_VECTOR_DEFAULTSebastian Huber2023-12-191-1/+7
| | | | | | | Let the BSP define TM27_INTERRUPT_VECTOR_DEFAULT to more efficiently and reliably get the TM27 default interrupt vector. Update #3716.
* psxftw01: Simplify and use rtems_test_run()Sebastian Huber2023-12-141-56/+6
|
* validation: Add nested test case remarksSebastian Huber2023-11-2826-0/+156
| | | | Close #4971.
* validation: Remove superfluous includesSebastian Huber2023-11-231-4/+0
| | | | Update #3716.
* validation: Improve MrsP validationSebastian Huber2023-11-234-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.
* validation: Fix typosSebastian Huber2023-11-073-6/+6
|
* validation: Improve thread idle bodies testSebastian Huber2023-11-071-4/+15
| | | | Update #3716.
* testsuites/unit: Add tests for compiler builtinsSebastian Huber2023-11-021-8/+391
| | | | | | | | Test some compiler builtins which may use integer library routines: https://gcc.gnu.org/onlinedocs/gccint/Integer-library-routines.html Update #3716.
* validation: Add wrapped bsp_interrupt_dispatch for MicroBlazeAlex White2023-10-271-0/+17
| | | | | This adds a MicroBlaze-specific bsp_interrupt_dispatch wrapper which fixes a linker error.
* validation: Support powerpc in test caseSebastian Huber2023-10-121-0/+17
| | | | Update #4955.
* testsuites/unit: Fix build error on aarch64Sebastian Huber2023-10-121-2/+6
| | | | Update #3716.
* testsuites/unit: Add tests for compiler builtinsSebastian Huber2023-10-121-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.
* validation: Test CPU performanceSebastian Huber2023-10-121-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.
* validation: Check thread dispatching detailSebastian Huber2023-10-121-1/+93
| | | | Update #3716.
* validation: Compatibility for other RTEMS versionsSebastian Huber2023-09-261-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.
* validation: Simplify partition performance testSebastian Huber2023-09-261-2/+1
| | | | | | Do not depend on <rtems/chain.h>. Update #3716.
* validation: Check stack of interrupted contextSebastian Huber2023-09-261-0/+251
| | | | | | | Check the stack of the interrupted context during the multitasking start. Update #4955.
* psx13: Fix use of uninitialized variable warningSebastian Huber2023-09-261-0/+2
|
* tests: Add header for RTEMS test printerSebastian Huber2023-09-2633-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>.
* score: Add _CPU_Get_TLS_thread_pointer()Sebastian Huber2023-09-151-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.
* score: Fix TLS support for some code modelsSebastian Huber2023-09-151-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.