summaryrefslogtreecommitdiffstats
path: root/testsuites (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: Add RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION()Sebastian Huber2019-10-281-0/+7
| | | | Update #3799.
* 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
|
* score: Install timecounter according to qualitySebastian Huber2019-10-021-22/+79
| | | | | | This makes it possible to install higher quality timecounter in plug-and-play systems and helps to override the clock driver provided timecounter in some test scenarios.
* score: Remove strange timecounter init stepSebastian Huber2019-10-021-6/+6
| | | | | The double call of the timecounter get method was added to FreeBSD in 2002 without a comment. It is not clear why this is needed.
* score: Remove superfluous timecounter membersSebastian Huber2019-10-021-2/+2
|
* 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.
* psxtests/psxualarm: Fix test failureSebastian Huber2019-10-011-0/+8
| | | | Update #3794.
* Correct initial POSIX signals maskJoel Sherrill2019-09-2413-0/+513
| | | | | | | | | | | | + Modify POSIX thread create extension to ensure expected initial signal mask is provided to system threads, initial tasks and threads, and inheritied by tasks and threads. + Adds psxsignal07 to verify functionality when using a POSIX Initialization thread and POSIX threads. + Adds psxsignal08 to verify functionality when using a Classic API Initialization task and Classic API tasks. Closes #3794.
* Add rtems_version_control_key_is_valid()Sebastian Huber2019-09-111-1/+7
|
* Add psxfenv01 test to psxtestsVaibhav Gupta2019-09-105-2/+173
| | | | | | Note that this test requires a functional fenv implementation. Some targets have multilib variants where the fenv implementation is not 100% passing.
* 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.
* score: Add RTEMS_RETURN_ADDRESS()Sebastian Huber2019-08-281-1/+6
|
* 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.
* psxtests: Add ndbm test suiteVaibhav Gupta2019-07-305-0/+379
| | | | | | | | | Joel Sherrill <joel@rtems.org> modified the patch to add autoconf logic to avoid building this new test unless the tool chain include <ndbm.h>. The ensures that git bisect continues to work and that the addition of this test does not immediately force the entire community to update their tools.
* 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
* ticker/init.c: Error should say clock set not getJoel Sherrill2019-07-221-1/+1
|
* psxtests: Add psxinttypes01 for <inttypes.h> methodsVaibhav Gupta2019-06-195-0/+327
|
* score: Add _SMP_Unicast_action()Sebastian Huber2019-05-202-43/+151
|
* score: Add _SMP_Synchronize()Sebastian Huber2019-05-201-3/+4
|
* smpipi01: Use per-CPU jobs for IPI flood testSebastian Huber2019-05-201-9/+38
|
* smpipi01: Ensure IPI works on all processorsSebastian Huber2019-05-201-8/+21
|
* smpipi01: Use per-CPU jobs for pending IPI testSebastian Huber2019-05-201-15/+35
|
* score: Modify _Per_CPU_Perform_jobs()Sebastian Huber2019-05-201-0/+41
| | | | | | | | Process only the jobs initially registered on the processing list. This makes it possible to add jobs for the current processor in a job handler. These jobs are processed with the next SMP_MESSAGE_PERFORM_JOBS message. The lock is only acquired and released once.
* score: Add _Per_CPU_Add_job()Sebastian Huber2019-05-201-0/+43
|
* score: Simplify _SMP_Multicast_action()Sebastian Huber2019-05-201-10/+4
| | | | | | Move resposibility to disable thread dispatching to the caller of _SMP_Multicast_action(). Using an interrupt disable for this purpose is questionable.
* score: Add _SMP_Broadcast_action()Sebastian Huber2019-05-201-8/+32
|
* smptests: Move SMP broadcast action test caseSebastian Huber2019-05-202-51/+79
|
* smpmulticast01: Use T_TEST_CASE()Sebastian Huber2019-05-201-22/+27
|
* Makefile.am: Add psxhdrs/termios files to buildJoel Sherrill2019-05-071-12/+12
|
* psxhdrs: Add POSIX API Signature Compliance Tests for termios.hJacob Shin2019-05-0712-0/+560
|
* 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
* score: More robust _SMP_Multicast_action()Sebastian Huber2019-04-122-7/+1
| | | | | | If the caller already disabled interrupts, then do not disable thread dispatching. Calling _SMP_Multicast_action() with interrupts disabled is a questionable use case.
* score: Improve _SMP_Multicast_action()Sebastian Huber2019-04-122-73/+127
| | | | Let it work during system initialization.