summaryrefslogtreecommitdiff
path: root/testsuites/libtests (follow)
AgeCommit message (Collapse)Author
2020-05-08libtests/tar01: Remove files of tar01.tar archiveSebastian Huber
Update #3968.
2020-05-07libtests/tar0[12]: Add tar archiveSebastian Huber
Do not generate the test tar archive on the host computer since not all file systems support symbolic links. Close #3968.
2020-05-06libtest/dl09: Test trampolines only when supportedChris Johns
2020-05-05testsuite/dl06: Add a local define to control tracingChris Johns
Closes #3969
2020-04-29libtests/heapwalk: Fix for RTEMS_DEBUGSebastian Huber
Update #2962.
2020-04-16Canonicalize config.h includeSebastian Huber
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2020-04-15libmisc/shell: Fix the handling of joel scripts in telnetChris Johns
- Fix the passing of std[in/out] to child threads - Fix deleting of managed memory in the key destructor - Only set the key in the main loop thread - Only allocate a shell env outside of the main loop - Fix memory leak if the task start fails - Remove error level from shell env, it cannot be returned this way. Add exit_code but the API is broken so it cannot be returned. Closes #3859
2020-03-31testsuites: Remove CONFIGURE_MALLOC_STATISTICSSebastian Huber
This configuration option is obsolete since 2014. Update #1367.
2020-03-18record: Add rtems_record_dump()Sebastian Huber
Add rtems_record_dump_base64() and rtems_record_dump_base64_zlib(). Add CONFIGURE_RECORD_FATAL_DUMP_BASE64 and CONFIGURE_RECORD_FATAL_DUMP_BASE64_ZLIB configuration options. Update #3904.
2020-03-09imfs: Replace devfs with an IMFS specializationSebastian Huber
Add a simplified path evaluation function IMFS_eval_path_devfs() for a device only IMFS configuration. The code size can be further reduced by the application if it disables the support for legacy IO drivers via: #define CONFIGURE_IMFS_DISABLE_MKNOD #define CONFIGURE_IMFS_DISABLE_MKNOD_DEVICE Obsolete CONFIGURE_MAXIMUM_DEVICES. Remove BSP_MAXIMUM_DEVICES. Update #3894. Update #3898.
2020-02-25config: Remove CONFIGURE_DISABLE_SMP_CONFIGURATIONSebastian Huber
The CONFIGURE_DISABLE_SMP_CONFIGURATION configuration option and rtems_configuration_is_smp_enabled() were added during the SMP support development cycle as a workaround to fix some testsuite failures in SMP configurations. All use cases were replaced with tests for specific conditions. The configuration option and test macro were undocumented. Close #3876.
2020-02-25libio: Add POSIX user environment pointer to TCBSebastian Huber
The IO library used a POSIX key to store an optional POSIX user environment pointer. This pulled in the POSIX keys support in every application configuration. Add a user environment pointer to the thread control block (TCB) instead. Applications which do not need the POSIX user environment will just get an overhead of one pointer per thread. Close #3882.
2020-02-25libtests/stackchk: Include missing header fileSebastian Huber
Update #3875.
2020-02-18testsuite/newlib: Check newlib does not touch an assigned std FILE pointerChris Johns
Update #3870
2020-02-04libtests/malloc04: Fix typoSebastian Huber
Update #3838.
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.
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: CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORSSebastian Huber
Rename CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS into CONFIGURE_MAXIMUM_FILE_DESCRIPTORS. Update #3753.
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-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-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-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-12libtests: Avoid build system defined definesSebastian Huber
Update #3818.
2019-10-11ttest01: Check init/final run outputSebastian Huber
Update #3199.
2019-10-11ttest01: Add test outputs all test casesMikail Yayla
2019-10-11ttest01: Add more test casesSebastian Huber
Update #3199.
2019-10-11libtest: Do all output in test runnerSebastian Huber
This ensures that lines are output atomically if they are produced by different other contexts, e.g. interrupts, other processors, other threads. Update #3199.
2019-10-11ttest01: Adjust SPDX-License-IdentifierSebastian Huber
Update #3199.
2019-10-08termios: Add Capability to Generate SIGINTR and SIGQUITJoel Sherrill
This patch adds the ability for termios to send SIGINTR on receipt of VINTR and SIGQUIT for VKILL and return -1/EINTR from read() on a termios channel. Importantly, this patch does not alter the default behavior or force POSIX signal code in just because termios is used. The application must explicitly enable the POSIX behavior of generating a signal upon receipt of these characters. This is discussed in the POSIX standard: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap11.html Closes #3800.
2019-10-04termios04/init.c: Remove dead copy of change_iflag()Joel Sherrill
2019-10-02Revert "record: Add wrappers for malloc() functions"Sebastian Huber
It was accidentally committed. This reverts commit a314544a278f1533ae001f742d7fe24fcee253e6.
2019-10-02libtests/ttest01: Fix typosSebastian Huber
2019-10-01record: Add wrappers for malloc() functionsSebastian Huber
Introduce new library librtemsrecordwrap.a which contains wrappers for operating system functions which produce entry/exit events. The wrappers can be selected during link time via the GNU ld --wrap option. Update #3665.
2019-10-01libtests/record01: Fix test failureSebastian Huber
Update #3665.
2019-08-30record: Add system eventsSebastian Huber
Add system events for memory allocation/free. Update #3665.
2019-08-30record: Add system eventsSebastian Huber
Add system events to identify the target system. Add system events to transfer blocks of memory and register sets. Update #3665.