summaryrefslogtreecommitdiffstats
path: root/testsuites (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-04-12score: Add _ISR_lock_Set_name()Sebastian Huber1-5/+17
Add _ISR_lock_Set_name() to optimize the initialization of zero-initialized locks.
2019-04-11score: Rename _SMP_Get_processor_count()Sebastian Huber1-1/+1
Rename _SMP_Get_processor_count() in _SMP_Get_processor_maximum() to be in line with the API level rtems_scheduler_get_processor_maximum(). Update #3732.
2019-04-09spmisc01: Use RTEMS_CONSTSebastian Huber2-0/+7
Update #3734.
2019-04-09rtems: Add rtems_scheduler_get_processor_maximum()Sebastian Huber46-76/+104
Add rtems_scheduler_get_processor_maximum() as a replacement for rtems_get_processor_count(). The rtems_get_processor_count() is a bit orphaned. Adopt it by the Scheduler Manager. The count is also misleading, since the processor set may have gaps and the actual count of online processors may be less than the value returned by rtems_get_processor_count(). Update #3732.
2019-04-09rtems: Add rtems_scheduler_get_processor()Sebastian Huber32-116/+116
Add rtems_scheduler_get_processor() as a replacement for rtems_get_current_processor(). The rtems_get_current_processor() is a bit orphaned. Adopt it by the Scheduler Manager. This is in line with the glibc sched_getcpu() function. Deprecate rtems_get_current_processor(). Update #3731.
2019-03-27ttest01: New testSebastian Huber8-0/+348
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.
2019-03-26build: Move test support to librtemstest.aSebastian Huber2-1/+2
One reason to move the test support into a dedicated library are the standard output __wrap_*() functions. They may conflict with application level wrappers. Update #3199.
2019-03-25psxhdrs/stdio/v*.c: Fix warnings in varargs testsJoel Sherrill8-16/+26
2019-03-22libdl: Add an archive commandChris Johns19-0/+772
- 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.
2019-03-14Remove superfluous <rtems/system.h> includesSebastian Huber1-1/+0
2019-03-14Add rtems_board_support_package()Sebastian Huber1-0/+1
2019-03-12record: Rename internal per-CPU eventsSebastian Huber1-11/+11
Update #3665.
2019-03-11Correct psxtmtests_plan.csvShashvat Jain1-3/+3
2019-03-07testsuite: Make the OPERATION_COUNT a test configuration parameter.Chris Johns49-201/+314
- Add a small memory test config file. - Update the small memory PowerPC BSPs to use the new test config.
2019-03-07testsuite: Add rexclude, rinclude and cflags to test config files.Chris Johns1-11/+83
2019-03-01score: Fix _Scheduler_EDF_Cancel_job()Sebastian Huber2-0/+19
Remove the priority node only in case it is active.
2019-02-18psxtests/psxonce01: Fix typoSebastian Huber1-2/+2
Update #3334.
2019-02-18score: Avoid some deadlocks in _Once()Sebastian Huber5-22/+100
Recursive usage of the same pthread_once_t results now in a deadlock. Previously, an error of EINVAL was returned. This usage scenario is invalid according to the POSIX pthread_once() specification. Close #3334.
2019-02-12psxtests: Remove bogus fileSebastian Huber1-38/+0
This file is unused and makes trouble on Windows. Updates #3638.
2019-02-09libdl: Add powerpc large memory and small data support.Chris Johns28-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
2019-02-09libdl: Add support for large memory programsChris Johns4-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
2019-02-09libdl: Add support for trampolinesChris Johns19-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
2019-02-09libdl: Fix the support for constructors and desctructors.Chris Johns1-1/+1
- Fix the handling of pending objects. - Add a constructor flags in objects to track then being called. Closes #2921
2019-02-09libtest/dl08: Add a test for archives.Chris Johns19-1/+1010
- Create 2 archives. - Load 1 object file which loads 6 object files from the libraries. Updates #3686
2019-02-09libtests/dl02: Update the rtl-shell path. More verbose test.Chris Johns1-9/+12
Updates #3686
2019-02-09libtests/dl02: Update the rtl-shell path.Chris Johns1-0/+1
Updates #3686
2019-02-07score: Fix plain priority thread queues (SMP)Sebastian Huber1-0/+63
We must add/remove the priority queue to the FIFO of priority queues.
2019-02-05fs: Add struct dirent::d_type supportSebastian Huber1-27/+62
2019-01-30build: Do not install test programsSebastian Huber12-33/+11
2019-01-30record: Add enum value for each eventSebastian Huber2-10/+7
Update #3665.
2019-01-29Add low level event recording supportSebastian Huber8-0/+982
Add low level event recording infrastructure for system and user defined events. The infrastructure is able to record high frequency events such as * SMP lock acquire/release, * interrupt entry/exit, * thread switches, * UMA zone allocate/free, and * Ethernet packet input/output, etc. It allows post-mortem analysis in fatal error handlers, e.g. the last events are in the record buffer, the newest event overwrites the oldest event. It is possible to detect record buffer overflows for consumers that expect a continuous stream of events, e.g. to display the system state in real-time. The implementation supports high-end SMP machines (more than 1GHz processor frequency, more than four processors). Add a new API instead. The implementation uses per-processor data structures and no atomic read-modify-write operations. It is uses per-processor ring buffers to record the events. The CPU counter is used to get the time of events. It is combined with periodic uptime events to synchronize it with CLOCK_REALTIME. The existing capture engine tries to solve this problem also, but its performance is not good enough for high-end production systems. The main issues are the variable-size buffers and the use of SMP locks for synchronization. To fix this, the API would change significantly. Update #3665.
2019-01-29samples/pppd: Use less memory hungry configurationSebastian Huber1-5/+4
This avoids link-time failures on some low memory BSPs.
2019-01-28psxtmtests: Fix format warningsSebastian Huber4-36/+36
Update #3384.
2019-01-18score: Remove unused _ISR_lock_Flash()Sebastian Huber1-2/+0
2019-01-18score: Improve debug support for ISR locksSebastian Huber1-0/+12
Ensure that interrupts are disabled while acquiring an ISR lock.
2019-01-14build: Add missing $(LDADD) for dependenciesSebastian Huber1-2/+2
2019-01-14build: Remove bogus spqreslib_LDADDSebastian Huber1-1/+0
2019-01-14build: Add missing $(LDADD) for dependenciesSebastian Huber3-9/+9
2019-01-10Fix format warnings due to ino_t changesSebastian Huber1-1/+1
2019-01-10psxconfig01: Fix pre-processor conditionsSebastian Huber1-20/+20
Do not rely on compiler optimizations to throw away empty loops. Close #3673.
2019-01-09Adjust interrupt mode tests for some CPU portsSebastian Huber2-4/+29
In case the robust thread dispatch is enabled by the CPU port, then the interrupt level must not be changed through the task mode. Update #3000.
2019-01-09rtems: Allow to set ISR level 0 in SMP configSebastian Huber1-1/+1
Update #3000.
2019-01-09tests: Remove bogus RTEMS_INTERRUPT_LEVEL(31)Sebastian Huber5-5/+5
It is unnecessary to run these test cases with interrupts disabled.
2019-01-09libtests/stackchk: Fix for 64-bit targetsSebastian Huber1-22/+11
2019-01-08psxhdrs: Add POSIX API Signature Compliance Tests for errno.hJacob Shin2-0/+45
2019-01-08build: Call rtems-ld with the $(CC) of the buildSebastian Huber1-2/+3
This enables support for non-standard compiler names, e.g. sparc-rtems6-gcc.
2019-01-08build: Call rtems-syms with the $(CC) of the buildSebastian Huber1-6/+6
This enables support for non-standard compiler names, e.g. sparc-rtems6-gcc.
2019-01-07psxfile01: Fix one second sleepJiri Gaisler1-1/+1
Checking of atime in psxfile01 (line 713) can fail since a delay for rtems_clock_get_ticks_per_second (line 699) gives a delay of less than one second, depending on when the last tick occurred. atime is measured in whole seconds, and a fast processor might read the file before a new second occurs. Add one tick to the delay will solve the problem.
2019-01-07Fix format warningsSebastian Huber1-18/+18
2018-12-22psxtmtests: Changed the copyright license to BSD-2-Clause (GCI 2018)Himanshu4010-125/+240