summaryrefslogtreecommitdiffstats
path: root/testsuites (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add rtems_assoc_32_to_string()Sebastian Huber2017-01-121-0/+61
|
* Remove obsolete __RTEMS_HAVE_SYS_CPUSET_H__Joel Sherrill2017-01-119-47/+0
|
* Add support for posix_devctl()Joel Sherrill2017-01-119-0/+225
|
* JFFS2: RTEMS_JFFS2_ON_DEMAND_GARBAGE_COLLECTIONSebastian Huber2016-12-201-1/+5
| | | | Update #2844.
* JFFS2: Add RTEMS_JFFS2_FORCE_GARBAGE_COLLECTIONSebastian Huber2016-12-201-0/+57
| | | | | | Add IO control to force a garbage collection. Update #2844.
* JFFS2: Add RTEMS_JFFS2_GET_INFOSebastian Huber2016-12-206-0/+299
| | | | | | | Add IO control RTEMS_JFFS2_GET_INFO to get some JFFS2 filesystem instance information. Update #2844.
* libdl: Add C++ exception support to loaded modules.Chris Johns2016-12-1410-1200/+1465
| | | | | | This has been tested on SPARC, i386, PowerPC and ARM. Closes #2767.
* Add INTERNAL_ERROR_LIBIO_STDERR_FD_OPEN_FAILEDSebastian Huber2016-12-122-3/+3
| | | | Update #2825.
* Add INTERNAL_ERROR_LIBIO_STDOUT_FD_OPEN_FAILEDSebastian Huber2016-12-122-3/+3
| | | | Update #2825.
* Add INTERNAL_ERROR_LIBIO_SEM_CREATE_FAILEDSebastian Huber2016-12-121-1/+1
| | | | Update #2825.
* INTERNAL_ERROR_LIBIO_USER_ENV_KEY_CREATE_FAILEDSebastian Huber2016-12-122-3/+3
| | | | Update #2825.
* Add INTERNAL_ERROR_POSIX_INIT_THREAD_CREATE_FAILEDSebastian Huber2016-12-122-3/+3
| | | | Update #2825.
* Add INTERNAL_ERROR_RTEMS_INIT_TASK_CREATE_FAILEDSebastian Huber2016-12-122-3/+3
| | | | Update #2825.
* Rename is_internal to always_set_to_falseSebastian Huber2016-12-1223-47/+51
| | | | Update #2825.
* score: Remove fatal is internal indicatorSebastian Huber2016-12-0932-58/+12
| | | | | | | | | The fatal is internal indicator is redundant since the fatal source and error code uniquely identify a fatal error. Keep the fatal user extension is internal parameter for backward compatibility and set it to false always. Update #2825.
* cdtest: Print proper begin/end of test messagesSebastian Huber2016-12-092-28/+56
|
* cdtest: Add std::runtime_error() test caseChris Johns2016-12-091-15/+26
| | | | Update #2830.
* sptimecounter02: Add plot scriptSebastian Huber2016-12-081-0/+42
|
* sptimecounter02: Update screen fileSebastian Huber2016-12-081-32/+986
| | | | Data obtained on QorIQ T4240 running with 1500MHz.
* smplock01: Fix plot scriptsSebastian Huber2016-12-072-2/+4
|
* testsuite: Add test states to the testsuit configuration files.Chris Johns2016-12-078-98/+131
| | | | | | | | | | | | | | | | Change the testsuite configuration files to hold state information about a test. The states are: exclude - Do not build the test expected-fail - The test is expected to fail indeterminate - The test may pass or may fail A message is printed just after the test's BEGIN message to indicate there is a special state for the test. No state message means the test is expected to pass. This support requires tests are correctly written to the use standard support to begin and end a test.
* score: Simplify linker set APISebastian Huber2016-12-061-20/+104
| | | | | | | | | | | | | | | | | Resurrect RTEMS_LINKER_SET_BEGIN() and RTEMS_LINKER_SET_END(). Add new macros RTEMS_LINKER_SET_ITEM_COUNT(), RTEMS_LINKER_SET_IS_EMPTY(), and RTEMS_LINKER_SET_FOREACH(). Remove confusing RTEMS_LINKER_SET_ASSIGN_BEGIN() and RTEMS_LINKER_SET_ASSIGN_END(). Fix RTEMS_LINKER_SET_SIZE() to return the size in characters as specified by the documentation. Update #2408. Update #2790.
* smplock01: Fix fairness plot scriptSebastian Huber2016-12-051-1/+1
|
* smpthreadlife01: Fix due to robust thread dispatchSebastian Huber2016-12-021-13/+19
| | | | Update #2811.
* score: Initialize thread queue context earlySebastian Huber2016-12-022-1/+3
| | | | | | | | Initialize thread queue context early preferably outside the critical section. Remove implicit _Thread_queue_Context_initialize() from _Thread_Wait_acquire().
* cpukit: Add libdebugger, a remote debugger agent for GDB.Chris Johns2016-11-298-0/+654
|
* score: Fix thread queue context initializationSebastian Huber2016-11-281-1/+1
| | | | | Initialize the thread queue context with invalid data in debug configurations to catch missing set up steps.
* smptests/smpfatal03: Use timer to provoke errorSebastian Huber2016-11-231-31/+21
| | | | | | Avoid use of internal _Thread_Dispatch_disable() function. Update #2825.
* score: Uncomment unused internal error codesSebastian Huber2016-11-231-2/+4
| | | | Update #2825.
* posix: Add self-contained pthread spinlockSebastian Huber2016-11-2312-434/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Turn pthread_spinlock_t into a self-contained object. On uni-processor configurations, interrupts are disabled in the lock/trylock operations and the previous interrupt status is restored in the corresponding unlock operations. On SMP configurations, a ticket lock is a acquired and released in addition. The self-contained pthread_spinlock_t object is defined by Newlib in <sys/_pthreadtypes.h>. typedef struct { struct _Ticket_lock_Control _lock; __uint32_t _interrupt_state; } pthread_spinlock_t; This implementation is simple and efficient. However, this test case of the Linux Test Project would fail due to call of printf() and sleep() during spin lock ownership: https://github.com/linux-test-project/ltp/blob/master/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/1-2.c There is only limited support for profiling on SMP configurations. Delete CORE spinlock implementation. Update #2674.
* score: Add thread queue enqueue calloutSebastian Huber2016-11-231-1/+1
| | | | | | | Replace the expected thread dispatch disable level with a thread queue enqueue callout. This enables the use of _Thread_Dispatch_direct() in the thread queue enqueue procedure. This avoids impossible exection paths, e.g. Per_CPU_Control::dispatch_necessary is always true.
* score: Robust thread dispatchSebastian Huber2016-11-237-1/+106
| | | | | | | | | | | | On SMP configurations, it is a fatal error to call blocking operating system with interrupts disabled, since this prevents delivery of inter-processor interrupts. This could lead to executing threads which are not allowed to execute resulting in undefined behaviour. The ARM Cortex-M port has a similar problem, since the interrupt state is not a part of the thread context. Update #2811.
* smptests/smplock01: Test TAS and TTAS locksSebastian Huber2016-11-234-1560/+2508
| | | | Cache align locks in the context.
* libtests/cpuuse: Check status onlySebastian Huber2016-11-231-2/+2
| | | | We may own the allocator mutex during context switches.
* smptests/smpscheduler02: Fix task initializationSebastian Huber2016-11-231-2/+2
| | | | Set scheduler before the task start.
* psxtests/psxkey08: Avoid rtems_semaphore_flush()Sebastian Huber2016-11-232-48/+42
| | | | | | Avoid rtems_semaphore_flush() to reduce the maximum thread dispatch disabled time of this test. Remove superfluous yield and malloc(). Ensure that no resource leak occurs.
* score: Add _ISR_Is_enabled()Sebastian Huber2016-11-181-0/+2
| | | | | | | In contrast to _ISR_Get_level() the _ISR_Is_enabled() function evaluates a level parameter and returns a boolean value. Update #2811.
* score: Restrict task interrupt level to 0 on SMPSebastian Huber2016-11-181-1/+17
| | | | Update #2811.
* score: Add and use _Thread_Dispatch_direct()Sebastian Huber2016-11-187-1/+80
| | | | | | | | | | This function is useful for operations which synchronously block, e.g. self restart, self deletion, yield, sleep. It helps to detect if these operations are called in the wrong context. Since the thread dispatch necessary indicator is not used, this is more robust in some SMP situations. Update #2751.
* sptests/sp37: Better cope with internal paddingSebastian Huber2016-11-181-25/+40
|
* powerpc: Add _CPU_Get_current_per_CPU_control()Sebastian Huber2016-11-102-2560/+2560
| | | | | | | | Add _CPU_Get_current_per_CPU_control() on SMP configurations. Use SPRG0 for the current per-CPU control. This reduces the code size by three instructions and is slightly faster. Update #2805.
* rtems: Add scheduler processor add/removeSebastian Huber2016-11-108-0/+495
| | | | Update #2797.
* score: Add and use Thread_Control::is_idleSebastian Huber2016-11-091-7/+1
| | | | Update #2797.
* score: Simplify _Scheduler_Get_by_id()Sebastian Huber2016-11-091-4/+7
| | | | | | | | | | Avoid dead code in non-SMP configurations. Return scheduler identifier independent of the current processor count of the scheduler via rtems_scheduler_ident(), since this value may change during run-time. Check the processor count in _Scheduler_Set() under scheduler lock protection. Update #2797.
* score: Inline some SMP lock operations by defaultSebastian Huber2016-11-092-2568/+2568
| | | | | | | | | The SMP ticket lock release turned out to be suitable for inlining, e.g. a hand full of instructions, no branches. The changes in the screen files do not reflect the changes due to this commit. However, they are now up to date. Obtained on a T4240 running at 1.5GHz using GCC 7.0.0 20161108..
* Provide kernel space header filesSebastian Huber2016-11-081-0/+2
| | | | | These kernel space header files must be provided for Newlib 172e2050d95b41861db858dd9bc43a3fb4a28987.
* score: Prevent assignment to _Thread_ExecutingSebastian Huber2016-11-072-15/+12
|
* score: Optimize self-contained mutexesSebastian Huber2016-11-041-2100/+2100
|
* testsuites/testdata/dltests-broken-on-this-bsp.tcfg: Add new dl tests 03-05Joel Sherrill2016-11-031-0/+3
|
* score: Conditionally enable thread resource countSebastian Huber2016-11-031-0/+4
| | | | | Maintain the thread resource count only in debug configurations. This is a performance optimization for non-debug configurations.