summaryrefslogtreecommitdiffstats
path: root/testsuites (follow)
Commit message (Collapse)AuthorAgeFilesLines
* config: Remove CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLESebastian Huber2020-02-252-48/+14
| | | | | | | | | | | | | | | | | | | The CONFIGURE_HAS_OWN_INIT_TASK_TABLE and CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE are the last *_HAS_OWN_* configuration options. These two options are probably unused, see also: * https://lists.rtems.org/pipermail/users/2019-April/033129.html * https://lists.rtems.org/pipermail/users/2019-April/033130.html Removing them simplifies the configuration. If there is a real user need which shows up after the removal, we can resurrect them on demand. Using CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE would have required the use of the undocumented CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME and CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE configuration options. Update #3874.
* config: Bring back RTEMS 4.11 configuration tableSebastian Huber2020-02-251-0/+21
| | | | | This improves API backward compatibility of RTEMS 5.1 to previous versions.
* config: Remove CONFIGURE_HAS_OWN_INIT_TASK_TABLESebastian Huber2020-02-256-120/+23
| | | | | | | | | | | | | | | | | | | The CONFIGURE_HAS_OWN_INIT_TASK_TABLE and CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE are the last *_HAS_OWN_* configuration options. These two options are probably unused, see also: * https://lists.rtems.org/pipermail/users/2019-April/033129.html * https://lists.rtems.org/pipermail/users/2019-April/033130.html Removing them simplifies the configuration. If there is a real user need which shows up after the removal, we can resurrect them on demand. Using CONFIGURE_HAS_OWN_INIT_TASK_TABLE would have required the use of the undocumented CONFIGURE_INIT_TASK_TABLE and CONFIGURE_INIT_TASK_TABLE_SIZE configuration options. Update #3873.
* sptests/spcbssched03: Include missing header fileSebastian Huber2020-02-251-0/+2
| | | | Update #3875.
* libtests/stackchk: Include missing header fileSebastian Huber2020-02-251-0/+2
| | | | Update #3875.
* mptests/mp14: Include missing header fileSebastian Huber2020-02-251-0/+2
| | | | | | Include <mpci.h> for MPCI_Print_statistics(). Update #3875.
* testsuite/newlib: Check newlib does not touch an assigned std FILE pointerChris Johns2020-02-181-1/+15
| | | | Update #3870
* score: Remove unused _Workspace_Allocate_aligned()Sebastian Huber2020-02-171-14/+0
|
* smpschededf02: Improve readabilitySebastian Huber2020-02-141-66/+74
|
* smpfatal09: Fix test caseSebastian Huber2020-02-141-6/+0
| | | | Update #3838.
* score: Simplify _Thread_Initialize()Sebastian Huber2020-02-121-0/+2
| | | | | | | | Allocate new thread queue heads during objects information extend. This removes an error case and the last dependency on the workspace in _Thread_Initialize(). Update #3835.
* score: Add _Freechain_Pop()Sebastian Huber2020-02-121-0/+4
| | | | Update #3835.
* score: Add _Freechain_Is_empty()Sebastian Huber2020-02-121-1/+2
| | | | Update #3835.
* score: Statically allocate idle/MPCI stacksSebastian Huber2020-02-121-2/+2
| | | | | | | Place idle and MPCI stacks into extra linker sections. This can be optionally used by applications to control the placement of the stacks. Update #3835.
* sptests/spregion_err01: Reduce memory demandsSebastian Huber2020-02-111-7/+4
| | | | Make functions and data static.
* config: Add CONFIGURE_DIRTY_MEMORYSebastian Huber2020-02-061-0/+2
| | | | | | | Replace the BSP_DIRTY_MEMORY BSP option with a CONFIGURE_DIRTY_MEMORY configuration option. Update #3843.
* sysinit: Add RTEMS_SYSINIT_ZERO_MEMORYSebastian Huber2020-02-061-0/+2
| | | | | | | | Use a dedicate system initialization step to zero the memory used for the workspace and C program heap. This avoids dead code in case CONFIGURE_ZERO_WORKSPACE_AUTOMATICALLY is not configured.
* config: CONFIGURE_ZERO_WORKSPACE_AUTOMATICALLYSebastian Huber2020-02-061-3/+2
| | | | | | | Canonicalize CONFIGURE_ZERO_WORKSPACE_AUTOMATICALLY and use defined/undefined instead of TRUE/FALSE. Close #3862.
* samples/iostream: Simplify configurationSebastian Huber2020-02-061-1/+0
| | | | | Remove CONFIGURE_ZERO_WORKSPACE_AUTOMATICALLY since it is not needed and just increases the boot time.
* libtests/malloc04: Fix typoSebastian Huber2020-02-041-1/+1
| | | | Update #3838.
* fstests/fsstatvfs: Include missing header fileSebastian Huber2020-02-041-0/+1
|
* config: Add CONFIGURE_VERBOSE_SYSTEM_INITIALIZATIONSebastian Huber2020-02-041-2/+4
| | | | Update #3861.
* sysinit: Add RTEMS_SYSINIT_ORDER_LAST_BUT_[1-9]Sebastian Huber2020-02-041-0/+18
| | | | Update #3838.
* bsps: Rework work area initializationSebastian Huber2020-02-045-33/+108
| | | | | | | | | | | | | | | | | | | | The work area initialization was done by the BSP through bsp_work_area_initialize(). This approach predated the system initialization through the system initialization linker set. The workspace and C program heap were unconditionally initialized. The aim is to support RTEMS application configurations which do not need the workspace and C program heap. In these configurations, the workspace and C prgram heap should not get initialized. Change all bsp_work_area_initialize() to implement _Memory_Get() instead. Move the dirty memory, sbrk(), per-CPU data, workspace, and malloc() heap initialization into separate system initialization steps. This makes it also easier to test the individual initialization steps. This change adds a dependency to _Heap_Extend() to all BSPs. This dependency will be removed in a follow up change. Update #3838.
* psxmsgq03: Adjust test caseSebastian Huber2020-01-281-1/+1
| | | | | | | Commit e22554535796fc29a7ed7c5e2338128e324a621d changed the error status from ENOMEM to EAGAIN. Update #3857.
* smptests/smpmulticast01: Fix test configurationSebastian Huber2020-01-281-1/+1
| | | | Problem introduced by 77ac1519e863b7095f69c976353f7647c6f6f63b.
* posix_devctl - Add support for SOCKCLOSEJoel Sherrill2020-01-174-2/+38
| | | | | | | | | The FACE Technical Standard, Edition 3.0 and later require the definition of the subcommand SOCKCLOSE in <devctl.h>. Reference: ​https://www.opengroup.org/face closes #3856.
* rtems: Fix MPCI initializationSebastian Huber2020-01-021-26/+0
| | | | Update #2408.
* sppercpudata01: Test PER_CPU_DATA_OFFSET()Sebastian Huber2019-12-201-1/+4
| | | | | Make sure PER_CPU_DATA_OFFSET() is tested also in uniprocessor configurations.
* libtest: Add T_check_task_context() actionSebastian Huber2019-12-203-2/+62
|
* libtest: Use test configuration in T_now()Sebastian Huber2019-12-202-31/+6
| | | | | Use the user provided now handler of the test configuration to get the time in T_now().
* config: Improve EDF SMP scheduler configurationSebastian Huber2019-12-195-7/+7
| | | | | | | | Use CONFIGURE_MAXIMUM_PROCESSORS to configure the EDF SMP scheduler context. This avoids hard to debug configuration errors resulting in memory corruptions. Close #3815.
* config: Remove Ada configuration optionsSebastian Huber2019-12-192-2/+4
| | | | Update #3845.
* config: CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORSSebastian Huber2019-12-19114-117/+117
| | | | | | | Rename CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS into CONFIGURE_MAXIMUM_FILE_DESCRIPTORS. Update #3753.
* score: Remove _Workspace_Allocate_or_fatal_error()Sebastian Huber2019-12-135-64/+0
| | | | | | This function is unused. Update #3735.
* config: Add _MPCI_ConfigurationSebastian Huber2019-12-131-8/+1
| | | | | | | Replace the user MPCI configuration table with a system provided _MPCI_Configuration. Update #3735.
* rtems: Add and use rtems_object_get_local_node()Sebastian Huber2019-12-1329-72/+61
| | | | Update #3841.
* config: Add CONFIGURE_IMFS_ENABLE_MKFIFOSebastian Huber2019-12-136-7/+8
| | | | | | | | Obsolete undocumented configuration options CONFIGURE_MAXIMUM_FIFOS and CONFIGURE_MAXIMUM_PIPES. Replace these options with the new CONFIGURE_IMFS_ENABLE_MKFIFO configuration option. Update #3840.
* mptests: Fix configurationSebastian Huber2019-12-135-7/+7
| | | | Update #3818.
* Add TOD Hooks to allow BSP to take action when TOD is setJoel Sherrill2019-12-115-0/+377
| | | | | | | | | | | | Two use cases were envisioned for this. 1) a BSP or application which desires to update a real-time clock when the RTEMS TOD is set. 2) a paravirtualized BSP can use this to propagate setting the time in an RTEMS application to the hosting environment. This enables the entire set of applications in the virtualized environments to have a single consistent TOD.
* pipe: Use condition variablesSebastian Huber2019-12-112-69/+7
| | | | | | | Use self-contained condition variables instead of Classic API barriers. This simplifies the implementation and configuration. Update #3840.
* rtems: Simplify semaphore configurationSebastian Huber2019-12-115-6/+0
| | | | | | | | | | | | | | | The MrsP semaphore implementation predates the addition of self-contained synchronization objects. At this time, the potential memory reduction was justified considering the more complex configuration and additional use of the workspace. With the availability of self-contained synchronization options, e.g. POSIX mutexes, this is no longer justified. Memory constrained applications should use the self-contained synchronization objects. Remove the CONFIGURE_MAXIMUM_MRSP_SEMAPHORES configuration option. This has only an impact on applications which use SMP and a large number of scheduler instances. Update #3833.
* clock: Simplify driver initializationSebastian Huber2019-12-112-3/+4
| | | | | | Use a system initialization handler instead of a legacy IO driver. Update #3834.
* libtest: Change expected pass state stringSebastian Huber2019-12-0527-27/+27
| | | | Use separator character '_' for all test states.
* testsuites: Remove rtems_test_pause*()Sebastian Huber2019-12-0431-131/+3
| | | | | | | | | | | | | The rtems_test_pause() and rtems_test_pause_and_screen_number() macros had different implementations depending on the RTEMS_TEST_NO_PAUSE define. This define was defined to 1 by default. The user was able to change this via the undocumented --disable-test-no-pause configure command line option. Pausing tests and waiting for user input contradicts the goal of having automated test runs. Remove this feature. Update #3818.
* Move feature macro before "config.h" includeSebastian Huber2019-12-0228-46/+70
| | | | | | | This allows to use header includes in "config.h" to reduce the build configuration checks. Update #3818.
* ada/sp19: Add m4 generated sptest.adbSebastian Huber2019-11-292-0/+2996
| | | | Update #3818.
* testsuites/ada: Introduce init.c filesSebastian Huber2019-11-27181-155/+155
| | | | | | | Provide an init.c for each Ada test instead of the #include <config.h> magic which works only due to hand crafted include paths. Update #3818.
* untar: Properly make parent pathSebastian Huber2019-11-263-19/+19
| | | | Close #3823.
* libtests/dl*: Rename source filesSebastian Huber2019-11-2630-29/+29
| | | | | | | | Rename source files to use a %.c -> %.o and %.cc -> %.o pattern. Use *.cc for C++ source files instead of *.cpp to be in line with other C++ source files. Update #3818.