summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tests: Use simple console driverSebastian Huber2017-11-0654-54/+54
| | | | | Update #3170. Update #3199.
* smpscheduler02: Avoid sporadic test failuresSebastian Huber2017-11-031-0/+4
|
* tests: Delete obsolete TESTS_USE_PRINTFSebastian Huber2017-11-021-1/+0
| | | | | Update #3170. Update #3199.
* smppsxaffinity02: Fix thread attribute usageSebastian Huber2017-11-021-0/+4
| | | | | | | | | The pthread_getattr_np() returns now the stack address and size. Do not use this stack for the new threads. Update #2514. Update #3145. Update #3168.
* tests: Remove TEST_INITSebastian Huber2017-10-2851-102/+0
| | | | | | | | The TEST_EXTERN is a used only by the system.h style tests and they use CONFIGURE_INIT appropriately. Update #3170. Update #3199.
* tests: Remove obsolete TESTS_USE_PRINTKSebastian Huber2017-10-289-9/+0
| | | | | Update #3170. Update #3199.
* tests: Use rtems_test_printerSebastian Huber2017-10-281-5/+2
| | | | | Update #3170. Update #3199.
* smptests: Fix format warningsSebastian Huber2017-10-262-3/+3
|
* smptests: Remove duplicate Makefile targetsSebastian Huber2017-10-251-2/+0
| | | | Close #3187.
* testsuite: Fix buildSebastian Huber2017-10-231-0/+2
| | | | Updates #3170.
* testsuite: Use printk for all test output where possible.Chris Johns2017-10-2350-0/+100
| | | | | | | | | | - Remove the printf support leaving the direct printk support configured with TESTS_USE_PRINTK and all other output goes via a buffered vsniprintf call to printk. - Control the test's single init for functions and global data with TEST_INIT and not CONFIGURE_INIT. They are now separate. Updates #3170.
* smpaffinity01: Fix test caseSebastian Huber2017-10-112-10/+10
| | | | Update #2514.
* posix: Validate affinity sets by the schedulerSebastian Huber2017-10-112-7/+7
| | | | Update #2514.
* posix: Simplify POSIX_API_ControlSebastian Huber2017-10-092-31/+38
| | | | | | | | | | | | | | | | | | | | | | | | Return stack area via pthread_getattr_np(). Simplify * pthread_attr_setaffinity_np(), and * pthread_attr_getaffinity_np() and let the scheduler do the more sophisticated error checks. Make * pthread_setaffinity_np(), * pthread_getaffinity_np(), * pthread_attr_setaffinity_np(), and * pthread_attr_getaffinity_np() available in all configurations. Update #2514. Close #3145. Close #3168.
* posix: Implement self-contained POSIX mutexSebastian Huber2017-10-051-1/+0
| | | | | | | | POSIX mutexes are now available in all configurations and no longer depend on --enable-posix. Update #2514. Update #3112.
* Include missing <limits.h>Sebastian Huber2017-08-251-0/+1
| | | | Update #2132.
* smptests: Fix format specifierSebastian Huber2017-08-222-3/+3
| | | | Update #3082.
* smptests/smpscheduler02: Remove invalid assertSebastian Huber2017-07-191-3/+1
| | | | Update #3059.
* smptests/smpscheduler01: Use right schedulerSebastian Huber2017-07-191-0/+3
| | | | Update #3063.
* tests: Use floating point taskSebastian Huber2017-07-191-0/+1
| | | | | | | These tests directly or indirectly use fprintf(), etc. which may use the floating point unit. Update #3076.
* tests: Use floating point taskSebastian Huber2017-07-181-0/+2
| | | | | | | These tests directly or indirectly use fprintf(), etc. which may use the floating point unit. Update #3076.
* rtems: Add rtems_scheduler_ident_by_processor_setSebastian Huber2017-07-111-0/+11
| | | | Update #3070.
* rtems: Add rtems_scheduler_ident_by_processor()Sebastian Huber2017-07-111-0/+6
| | | | Update #3069.
* score: Fix set schedulerSebastian Huber2017-07-101-6/+10
| | | | | | | Ensure that the thread processor affinity fits the new scheduler instance. Update #3059.
* score: Add simple affinity support to EDF SMPSebastian Huber2017-07-1012-2/+614
| | | | Update #3059.
* smptests/smpstrongapa01: SimplifySebastian Huber2017-07-071-3/+3
| | | | Update #3059.
* score: Fix default set affinitySebastian Huber2017-07-071-3/+4
| | | | | | | | The set of online processors must be a subset of the thread processor affinity for the schedulers without arbitrary processor affinity support to avoid problems in case of processor addition and removal. Update #3059.
* score: Introduce _SMP_Get_online_processors()Sebastian Huber2017-07-071-2/+2
| | | | Update #3059.
* score: Use processor mask for set affinitySebastian Huber2017-07-072-2/+2
| | | | Update #3059.
* score: Move processor affinity to Thread_ControlSebastian Huber2017-07-073-7/+16
| | | | Update #3059.
* score: Use <sys/bitset.h> for Processor_maskSebastian Huber2017-07-061-2/+2
| | | | | | | | Implement the Processor_mask via <sys/bitset.h>. Provide _Processor_mask_To_uint32_t() to enable its use in device specific routines, e.g. interrupt affinity register in an interrupt controller. Update #3059.
* smptests/smpschededf01: New testSebastian Huber2017-06-296-0/+215
| | | | Update #3056.
* score: Add SMP EDF schedulerSebastian Huber2017-06-297-0/+90
| | | | Update #3056.
* smptests: Split smpscheduler03Sebastian Huber2017-06-2915-659/+761
| | | | | | Split smpscheduler03 to run the tests with only one processor. Update #3056.
* Fix CPU_COPY() usageSebastian Huber2017-06-072-4/+4
| | | | | | | | The original CPU_COPY() support of Newlib <sys/cpuset.h> had the parameters in the wrong order. This is fixed in Newlib since 2017-05-22. Update #3023.
* smpcache01: Fix test to run on QorIQ T4240Sebastian Huber2017-04-051-31/+70
|
* testsuite: Add a common test configuration. Fix configure.ac and Makefile.am ↵Chris Johns2017-04-042-53/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | errors. - Add a top level test configuration file for test states that are common to all BSPs. This saves adding a test configuration (tcfg) file for every BSP. - Add the test states 'user-input' and 'benchmark'. This lets 'rtems-test' stop the test rather than waiting for a timeout or letting a benchmark run without the user asking for it to run. - Implement rtems-test-check in Python to make it faster. The shell script had grown to a point it was noticably slowing the build down. - Fix the configure.ac and Makefile.am files for a number of the test directories. The files are difficiult to keep in sync with the number of tests and mistakes can happen such as tests being left out of the build. The test fsrofs01 is an example. Also a there was a mix of SUBDIRS and _SUBDIRS being used and only _SUBDIRS should be used. - Fix the test fsrofs01 so it compiles. Closes #2963.
* Rename CONFIGURE_SMP_MAXIMUM_PROCESSORSSebastian Huber2017-02-1446-54/+54
| | | | | | | Rename CONFIGURE_SMP_MAXIMUM_PROCESSORS to CONFIGURE_MAXIMUM_PROCESSORS since the SMP part is superfluous. Update #2894.
* smptests: Fix warningsSebastian Huber2017-02-034-28/+27
|
* score: Improve scheduler helping protocolSebastian Huber2017-02-031-20/+6
| | | | | | | | | | | Only register ask for help requests in the scheduler unblock and yield operations. The actual ask for help operation is carried out during _Thread_Do_dispatch() on a processor related to the thread. This yields a better separation of scheduler instances. A thread of one scheduler instance should not be forced to carry out too much work for threads on other scheduler instances. Update #2556.
* Remove CONFIGURE_SMP_APPLICATIONSebastian Huber2017-02-0247-89/+2
| | | | | | Enable the SMP support if CONFIGURE_SMP_MAXIMUM_PROCESSORS > 1. Update #2893.
* smptests/smpsignal01: Check signal ISR levelSebastian Huber2017-01-242-7/+68
| | | | Close #2751.
* Remove obsolete __RTEMS_HAVE_SYS_CPUSET_H__Joel Sherrill2017-01-112-16/+0
|
* Rename is_internal to always_set_to_falseSebastian Huber2016-12-127-14/+14
| | | | Update #2825.
* smplock01: Fix plot scriptsSebastian Huber2016-12-072-2/+4
|
* 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-021-1/+2
| | | | | | | | Initialize thread queue context early preferably outside the critical section. Remove implicit _Thread_queue_Context_initialize() from _Thread_Wait_acquire().
* 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.