summaryrefslogtreecommitdiff
path: root/testsuites (follow)
AgeCommit message (Collapse)Author
2020-02-04bsps: Rework work area initializationSebastian Huber
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 Huber
Commit e22554535796fc29a7ed7c5e2338128e324a621d changed the error status from ENOMEM to EAGAIN. Update #3857.
2020-01-28smptests/smpmulticast01: Fix test configurationSebastian Huber
Problem introduced by 77ac1519e863b7095f69c976353f7647c6f6f63b.
2020-01-17posix_devctl - Add support for SOCKCLOSEJoel Sherrill
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 Huber
Update #2408.
2019-12-20sppercpudata01: Test PER_CPU_DATA_OFFSET()Sebastian Huber
Make sure PER_CPU_DATA_OFFSET() is tested also in uniprocessor configurations.
2019-12-20libtest: Add T_check_task_context() actionSebastian Huber
2019-12-20libtest: Use test configuration in T_now()Sebastian Huber
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 Huber
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 Huber
Update #3845.
2019-12-19config: CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORSSebastian Huber
Rename CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS into CONFIGURE_MAXIMUM_FILE_DESCRIPTORS. Update #3753.
2019-12-13score: Remove _Workspace_Allocate_or_fatal_error()Sebastian Huber
This function is unused. Update #3735.
2019-12-13config: Add _MPCI_ConfigurationSebastian Huber
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 Huber
Update #3841.
2019-12-13config: Add CONFIGURE_IMFS_ENABLE_MKFIFOSebastian Huber
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 Huber
Update #3818.
2019-12-11Add TOD Hooks to allow BSP to take action when TOD is setJoel Sherrill
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 Huber
Use self-contained condition variables instead of Classic API barriers. This simplifies the implementation and configuration. Update #3840.
2019-12-11rtems: Simplify semaphore configurationSebastian Huber
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 Huber
Use a system initialization handler instead of a legacy IO driver. Update #3834.
2019-12-05libtest: Change expected pass state stringSebastian Huber
Use separator character '_' for all test states.
2019-12-04testsuites: Remove rtems_test_pause*()Sebastian Huber
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 Huber
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 Huber
Update #3818.
2019-11-27testsuites/ada: Introduce init.c filesSebastian Huber
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 Huber
Close #3823.
2019-11-26libtests/dl*: Rename source filesSebastian Huber
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.
2019-11-26libtests/dl*: Use rtems_tarfs_load()Sebastian Huber
Use rtems_tarfs_load() instead of Untar_FromMemory() to reduce the memory demands of the tests.
2019-11-26psxinttypes01: Remove invalid test casesSebastian Huber
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.
2019-11-25libtests: Use '-' for TAR file namesSebastian Huber
Use uniform pattern for all TAR file names. Use the dl* tests as a template. Update #3818.
2019-11-25libtests/dl*: Do not generate files via "echo"Sebastian Huber
Add the static files to the repository. This simplifies the build. Update #3818.
2019-11-25libtests/tar0[12]:: Use static archive contentSebastian Huber
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.
2019-11-21testsuite: Only include termios10/termios11 tests if compiled with POSIXHesham Almatary
Both need POSIX support
2019-11-19imfs: Add IMFS_make_linfile()Sebastian Huber
Update #3818.
2019-11-15Remove BSP_SMALL_MEMORY BSP optionSebastian Huber
Use the test state configuration instead. Update #3818.
2019-11-12testsuite/dl02: Fix bug to correctly check the handle of the second object fileHesham Almatary
2019-11-12riscv: preliminarily support for libdlHesham Almatary
Support for targets compiled with -fno-pic and -mno-relax
2019-11-12ada/mptests: Make them compile cleanSebastian Huber
Fix all warnings. Update #3818.
2019-11-12sptests: Avoid include path magicSebastian Huber
Update #3818.
2019-11-12tests: Simplify fatal error test supportSebastian Huber
Move system.h to shared init.c. Update #3818.
2019-11-12block08: Use local includeSebastian Huber
Update #3818.
2019-11-12libtests: Remove superfluous include pathSebastian Huber
Update #3818.
2019-11-12fstests: Use tmacros.h instead of pmacros.hSebastian Huber
This avoids an extra include path. Update #3818.
2019-11-12mptests: Avoid build system defined definesSebastian Huber
Update #3818.
2019-11-12ada/samples: Avoid build system defined definesSebastian Huber
Update #3818.
2019-11-12mptests/mp14: Make MAX_LONG_TEST_DURATION constantSebastian Huber
If there is a real need, it can be made a configuration option again. Update #3818.
2019-11-12tmtests: Avoid build system defined definesSebastian Huber
Update #3818.
2019-11-12samples/paranoia: Remove <bsp.h> includeSebastian Huber
This include is superfluous.
2019-11-12samples: Avoid build system defined definesSebastian Huber
Update #3818.
2019-11-12libtests: Avoid build system defined definesSebastian Huber
Update #3818.