summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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: CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORSSebastian Huber2019-12-1957-57/+57
| | | | | | | Rename CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS into CONFIGURE_MAXIMUM_FILE_DESCRIPTORS. Update #3753.
* libtest: Change expected pass state stringSebastian Huber2019-12-0511-11/+11
| | | | Use separator character '_' for all test states.
* testsuites: Remove rtems_test_pause*()Sebastian Huber2019-12-041-1/+0
| | | | | | | | | | | | | 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.
* 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.
* 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
* sptests: Avoid include path magicSebastian Huber2019-11-122-5/+11
| | | | Update #3818.
* tests: Simplify fatal error test supportSebastian Huber2019-11-121-1/+1
| | | | | | Move system.h to shared init.c. Update #3818.
* block08: Use local includeSebastian Huber2019-11-1214-14/+14
| | | | Update #3818.
* libtests: Remove superfluous include pathSebastian Huber2019-11-121-2/+1
| | | | Update #3818.
* libtests: Avoid build system defined definesSebastian Huber2019-11-1220-609/+621
| | | | Update #3818.
* ttest01: Check init/final run outputSebastian Huber2019-10-111-0/+85
| | | | Update #3199.
* ttest01: Add test outputs all test casesMikail Yayla2019-10-1115-0/+2880
|
* ttest01: Add more test casesSebastian Huber2019-10-1117-3/+4237
| | | | Update #3199.
* libtest: Do all output in test runnerSebastian Huber2019-10-111-0/+4
| | | | | | | | This ensures that lines are output atomically if they are produced by different other contexts, e.g. interrupts, other processors, other threads. Update #3199.
* ttest01: Adjust SPDX-License-IdentifierSebastian Huber2019-10-111-2/+7
| | | | Update #3199.
* termios: Add Capability to Generate SIGINTR and SIGQUITJoel Sherrill2019-10-087-1/+288
| | | | | | | | | | | | | | 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.
* termios04/init.c: Remove dead copy of change_iflag()Joel Sherrill2019-10-041-17/+0
|
* Revert "record: Add wrappers for malloc() functions"Sebastian Huber2019-10-023-492/+230
| | | | | | It was accidentally committed. This reverts commit a314544a278f1533ae001f742d7fe24fcee253e6.
* libtests/ttest01: Fix typosSebastian Huber2019-10-021-3/+3
|
* record: Add wrappers for malloc() functionsSebastian Huber2019-10-013-230/+492
| | | | | | | | | | 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.
* libtests/record01: Fix test failureSebastian Huber2019-10-011-2/+45
| | | | Update #3665.
* record: Add system eventsSebastian Huber2019-08-301-0/+22
| | | | | | Add system events for memory allocation/free. Update #3665.
* record: Add system eventsSebastian Huber2019-08-301-2/+3
| | | | | | | Add system events to identify the target system. Add system events to transfer blocks of memory and register sets. Update #3665.
* record: Add more system eventsSebastian Huber2019-08-292-75/+262
| | | | | | | | | | Reduce the system dependencies to allow tracing of very low level functions, for example the interrupt disable/enable. Introduce general purpose RTEMS_RECORD_CALLER and RTEMS_RECORD_LINE events. Update #3665.
* record: Add variants for critical sectionsSebastian Huber2019-08-281-2/+5
| | | | Update #3665.
* record: Introduce <rtems/recordserver.h>Sebastian Huber2019-08-281-0/+1
| | | | | | | This helps to get rid of the <rtems/rtems/tasks.h> dependency in <rtems/record.h>. Update #3665.
* record: Use BSS section instead of per-CPU dataSebastian Huber2019-08-281-1/+3
| | | | | | | | | | | The .rtemsrwset section is used for the per-CPU data. This section has loadable content. Place the ring buffers in the BSS section to avoid large executable image sizes. Not using the per-CPU data makes it possible to initialize the record support earlier. Update #3665.
* record: Pass bintime to client handlersSebastian Huber2019-08-171-3/+11
| | | | This is a minor optimization.
* record: Improve overflow handlingSebastian Huber2019-08-172-72/+75
| | | | | | | | In case of a ring buffer overflow, the rtems_record_drain() will push the complete ring buffer content to the client. While the items are processed by the client, new items may overwrite some items being processed. The overwritten items can be detected in the following iteration once the next tail/head information is pushed to the client.
* record: Change thread name encodingSebastian Huber2019-08-061-4/+4
| | | | This scheme is easier to decode.
* record: Add support for thread namesSebastian Huber2019-07-301-0/+32
|
* libdl/arm: Fix ARM mode trampoline parsing of relocsChris Johns2019-07-281-1/+0
| | | | | | - No need to dump globals syms in test dl01 when tracing Closes #3775
* libdl: Do not access the ELF file while the allocator is locked.Chris Johns2019-05-034-3/+4
| | | | | | | | | | | | | - Load symbols before allocation. - Parse reloc records and place any reloc recs in a cache to use while the allocator is locked. - Relocate symbols after section allocation. - Split section loading into allocation/locating and loading. - Update all arch back-ends with a new reloc interface to control tramp handling. - Add `-a` and `-t` to the object list shell command. Closes #3741
* ttest01: New testSebastian Huber2019-03-277-0/+347
| | | | | | | | | | | This is an example test using the RTEMS Test Framework. It tests also the framework itself. Add T_FILE_NAME command line define to get rid of the full file path. This is important to reduce the read-only data of test files and make them build system independent. Update #3199.
* libdl: Add an archive commandChris Johns2019-03-2218-0/+771
| | | | | | | - The archive command lists archives, symbols and any duplicate symbols. - Change the RTL shell commands to the rtems_printer to allow the output to be captured.
* record: Rename internal per-CPU eventsSebastian Huber2019-03-121-11/+11
| | | | Update #3665.
* libdl: Add powerpc large memory and small data support.Chris Johns2019-02-0928-177/+519
| | | | | | | | | | | | | | | | | - Add support for architecure sections that can be handled by the architecture back end. - Add trampoline/fixup support for PowerPC. This means the PowerPC now supports large memory loading of applications. - Add a bit allocator to manage small block based regions of memory. - Add small data (sdata/sbss) support for the PowerPC. The support makes the linker allocated small data region of memory a global resource available to libdl loaded object files. Updates #3687 Updates #3685
* libdl: Add support for large memory programsChris Johns2019-02-094-9/+21
| | | | | | | | | | | | | | | - Add trampolines to support relocs that are out of range on support architectures. - Support not loading separate text/data sections in an object file if the symbol provided in the section is a duplicate. A base image may have pulled in part of an object and another part needs to be dynamically loaded. - Refactor the unresolved handling to scale to hundreds of unresolved symbols when loading large number of files. Updates #3685
* libdl: Add support for trampolinesChris Johns2019-02-0919-20/+1163
| | | | | | | | | | | | | - Trampolines or fixups for veneers provide long jump support for instruciton sets that implement short relative address branches. The linker provides trampolines when creating a static image. This patch adds trampoline support to libdl and the ARM architecture. - The dl09 test requires enough memory so modules are outside the relative branch instruction ranges for the architecture. Updates #3685