summaryrefslogtreecommitdiffstats
path: root/testsuites (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* libtests/dl*: Use rtems_tarfs_load()Sebastian Huber2019-11-269-18/+18
| | | | | Use rtems_tarfs_load() instead of Untar_FromMemory() to reduce the memory demands of the tests.
* psxinttypes01: Remove invalid test casesSebastian Huber2019-11-263-30/+6
| | | | | | The functions expect a valid string as input according to POSIX. On systems with a NULL pointer protection the test cases ended up in exceptions.
* libtests: Use '-' for TAR file namesSebastian Huber2019-11-254-29/+29
| | | | | | | Use uniform pattern for all TAR file names. Use the dl* tests as a template. Update #3818.
* libtests/dl*: Do not generate files via "echo"Sebastian Huber2019-11-255-29/+18
| | | | | | Add the static files to the repository. This simplifies the build. Update #3818.
* libtests/tar0[12]:: Use static archive contentSebastian Huber2019-11-254-20/+9
| | | | | | | | This simplifies the build process. Do not generate the archive content through the build system. Let the version control system deal with symbolic links. Update #3818.
* testsuite: Only include termios10/termios11 tests if compiled with POSIXHesham Almatary2019-11-211-0/+4
| | | | Both need POSIX support
* imfs: Add IMFS_make_linfile()Sebastian Huber2019-11-191-31/+29
| | | | Update #3818.
* Remove BSP_SMALL_MEMORY BSP optionSebastian Huber2019-11-152-8/+0
| | | | | | Use the test state configuration instead. Update #3818.
* testsuite/dl02: Fix bug to correctly check the handle of the second object fileHesham Almatary2019-11-121-1/+1
|
* riscv: preliminarily support for libdlHesham Almatary2019-11-121-1/+1
| | | | Support for targets compiled with -fno-pic and -mno-relax
* ada/mptests: Make them compile cleanSebastian Huber2019-11-1219-127/+195
| | | | | | Fix all warnings. Update #3818.
* sptests: Avoid include path magicSebastian Huber2019-11-1229-111/+270
| | | | Update #3818.
* tests: Simplify fatal error test supportSebastian Huber2019-11-127-191/+106
| | | | | | Move system.h to shared init.c. Update #3818.
* block08: Use local includeSebastian Huber2019-11-1214-14/+14
| | | | Update #3818.