summaryrefslogtreecommitdiffstats
path: root/testsuites (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-02-25config: Remove CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLESebastian Huber2-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.
2020-02-25config: Bring back RTEMS 4.11 configuration tableSebastian Huber1-0/+21
This improves API backward compatibility of RTEMS 5.1 to previous versions.
2020-02-25config: Remove CONFIGURE_HAS_OWN_INIT_TASK_TABLESebastian Huber6-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.
2020-02-25sptests/spcbssched03: Include missing header fileSebastian Huber1-0/+2
Update #3875.
2020-02-25libtests/stackchk: Include missing header fileSebastian Huber1-0/+2
Update #3875.
2020-02-25mptests/mp14: Include missing header fileSebastian Huber1-0/+2
Include <mpci.h> for MPCI_Print_statistics(). Update #3875.
2020-02-18testsuite/newlib: Check newlib does not touch an assigned std FILE pointerChris Johns1-1/+15
Update #3870
2020-02-17score: Remove unused _Workspace_Allocate_aligned()Sebastian Huber1-14/+0
2020-02-14smpschededf02: Improve readabilitySebastian Huber1-66/+74
2020-02-14smpfatal09: Fix test caseSebastian Huber1-6/+0
Update #3838.
2020-02-12score: Simplify _Thread_Initialize()Sebastian Huber1-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.
2020-02-12score: Add _Freechain_Pop()Sebastian Huber1-0/+4
Update #3835.
2020-02-12score: Add _Freechain_Is_empty()Sebastian Huber1-1/+2
Update #3835.
2020-02-12score: Statically allocate idle/MPCI stacksSebastian Huber1-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.
2020-02-11sptests/spregion_err01: Reduce memory demandsSebastian Huber1-7/+4
Make functions and data static.
2020-02-06config: Add CONFIGURE_DIRTY_MEMORYSebastian Huber1-0/+2
Replace the BSP_DIRTY_MEMORY BSP option with a CONFIGURE_DIRTY_MEMORY configuration option. Update #3843.
2020-02-06sysinit: Add RTEMS_SYSINIT_ZERO_MEMORYSebastian Huber1-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.
2020-02-06config: CONFIGURE_ZERO_WORKSPACE_AUTOMATICALLYSebastian Huber1-3/+2
Canonicalize CONFIGURE_ZERO_WORKSPACE_AUTOMATICALLY and use defined/undefined instead of TRUE/FALSE. Close #3862.
2020-02-06samples/iostream: Simplify configurationSebastian Huber1-1/+0
Remove CONFIGURE_ZERO_WORKSPACE_AUTOMATICALLY since it is not needed and just increases the boot time.
2020-02-04libtests/malloc04: Fix typoSebastian Huber1-1/+1
Update #3838.
2020-02-04fstests/fsstatvfs: Include missing header fileSebastian Huber1-0/+1
2020-02-04config: Add CONFIGURE_VERBOSE_SYSTEM_INITIALIZATIONSebastian Huber1-2/+4
Update #3861.
2020-02-04sysinit: Add RTEMS_SYSINIT_ORDER_LAST_BUT_[1-9]Sebastian Huber1-0/+18
Update #3838.
2020-02-04bsps: Rework work area initializationSebastian Huber5-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.
2020-01-28psxmsgq03: Adjust test caseSebastian Huber1-1/+1
Commit e22554535796fc29a7ed7c5e2338128e324a621d changed the error status from ENOMEM to EAGAIN. Update #3857.
2020-01-28smptests/smpmulticast01: Fix test configurationSebastian Huber1-1/+1
Problem introduced by 77ac1519e863b7095f69c976353f7647c6f6f63b.
2020-01-17posix_devctl - Add support for SOCKCLOSEJoel Sherrill4-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.
2020-01-02rtems: Fix MPCI initializationSebastian Huber1-26/+0
Update #2408.
2019-12-20sppercpudata01: Test PER_CPU_DATA_OFFSET()Sebastian Huber1-1/+4
Make sure PER_CPU_DATA_OFFSET() is tested also in uniprocessor configurations.
2019-12-20libtest: Add T_check_task_context() actionSebastian Huber3-2/+62
2019-12-20libtest: Use test configuration in T_now()Sebastian Huber2-31/+6
Use the user provided now handler of the test configuration to get the time in T_now().
2019-12-19config: Improve EDF SMP scheduler configurationSebastian Huber5-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.
2019-12-19config: Remove Ada configuration optionsSebastian Huber2-2/+4
Update #3845.
2019-12-19config: CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORSSebastian Huber114-117/+117
Rename CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS into CONFIGURE_MAXIMUM_FILE_DESCRIPTORS. Update #3753.
2019-12-13score: Remove _Workspace_Allocate_or_fatal_error()Sebastian Huber5-64/+0
This function is unused. Update #3735.
2019-12-13config: Add _MPCI_ConfigurationSebastian Huber1-8/+1
Replace the user MPCI configuration table with a system provided _MPCI_Configuration. Update #3735.
2019-12-13rtems: Add and use rtems_object_get_local_node()Sebastian Huber29-72/+61
Update #3841.
2019-12-13config: Add CONFIGURE_IMFS_ENABLE_MKFIFOSebastian Huber6-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.
2019-12-13mptests: Fix configurationSebastian Huber5-7/+7
Update #3818.
2019-12-11Add TOD Hooks to allow BSP to take action when TOD is setJoel Sherrill5-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.
2019-12-11pipe: Use condition variablesSebastian Huber2-69/+7
Use self-contained condition variables instead of Classic API barriers. This simplifies the implementation and configuration. Update #3840.
2019-12-11rtems: Simplify semaphore configurationSebastian Huber5-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.
2019-12-11clock: Simplify driver initializationSebastian Huber2-3/+4
Use a system initialization handler instead of a legacy IO driver. Update #3834.
2019-12-05libtest: Change expected pass state stringSebastian Huber27-27/+27
Use separator character '_' for all test states.
2019-12-04testsuites: Remove rtems_test_pause*()Sebastian Huber31-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.
2019-12-02Move feature macro before "config.h" includeSebastian Huber28-46/+70
This allows to use header includes in "config.h" to reduce the build configuration checks. Update #3818.
2019-11-29ada/sp19: Add m4 generated sptest.adbSebastian Huber2-0/+2996
Update #3818.
2019-11-27testsuites/ada: Introduce init.c filesSebastian Huber181-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.
2019-11-26untar: Properly make parent pathSebastian Huber3-19/+19
Close #3823.
2019-11-26libtests/dl*: Rename source filesSebastian Huber30-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.