summaryrefslogtreecommitdiffstats
path: root/testsuites (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: Add _ISR_lock_Set_name()Sebastian Huber2019-04-121-5/+17
| | | | | Add _ISR_lock_Set_name() to optimize the initialization of zero-initialized locks.
* score: Rename _SMP_Get_processor_count()Sebastian Huber2019-04-111-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.
* spmisc01: Use RTEMS_CONSTSebastian Huber2019-04-092-0/+7
| | | | Update #3734.
* rtems: Add rtems_scheduler_get_processor_maximum()Sebastian Huber2019-04-0946-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.
* rtems: Add rtems_scheduler_get_processor()Sebastian Huber2019-04-0932-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.
* ttest01: New testSebastian Huber2019-03-278-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.
* build: Move test support to librtemstest.aSebastian Huber2019-03-262-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.
* psxhdrs/stdio/v*.c: Fix warnings in varargs testsJoel Sherrill2019-03-258-16/+26
|
* libdl: Add an archive commandChris Johns2019-03-2219-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.
* Remove superfluous <rtems/system.h> includesSebastian Huber2019-03-141-1/+0
|
* Add rtems_board_support_package()Sebastian Huber2019-03-141-0/+1
|
* record: Rename internal per-CPU eventsSebastian Huber2019-03-121-11/+11
| | | | Update #3665.
* Correct psxtmtests_plan.csvShashvat Jain2019-03-111-3/+3
|
* testsuite: Make the OPERATION_COUNT a test configuration parameter.Chris Johns2019-03-0749-201/+314
| | | | | - Add a small memory test config file. - Update the small memory PowerPC BSPs to use the new test config.
* testsuite: Add rexclude, rinclude and cflags to test config files.Chris Johns2019-03-071-11/+83
|
* score: Fix _Scheduler_EDF_Cancel_job()Sebastian Huber2019-03-012-0/+19
| | | | Remove the priority node only in case it is active.
* psxtests/psxonce01: Fix typoSebastian Huber2019-02-181-2/+2
| | | | Update #3334.
* score: Avoid some deadlocks in _Once()Sebastian Huber2019-02-185-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.
* psxtests: Remove bogus fileSebastian Huber2019-02-121-38/+0
| | | | | | This file is unused and makes trouble on Windows. Updates #3638.
* 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
* libdl: Fix the support for constructors and desctructors.Chris Johns2019-02-091-1/+1
| | | | | | | - Fix the handling of pending objects. - Add a constructor flags in objects to track then being called. Closes #2921
* libtest/dl08: Add a test for archives.Chris Johns2019-02-0919-1/+1010
| | | | | | | - Create 2 archives. - Load 1 object file which loads 6 object files from the libraries. Updates #3686
* libtests/dl02: Update the rtl-shell path. More verbose test.Chris Johns2019-02-091-9/+12
| | | | Updates #3686
* libtests/dl02: Update the rtl-shell path.Chris Johns2019-02-091-0/+1
| | | | Updates #3686
* score: Fix plain priority thread queues (SMP)Sebastian Huber2019-02-071-0/+63
| | | | We must add/remove the priority queue to the FIFO of priority queues.
* fs: Add struct dirent::d_type supportSebastian Huber2019-02-051-27/+62
|
* build: Do not install test programsSebastian Huber2019-01-3012-33/+11
|
* record: Add enum value for each eventSebastian Huber2019-01-302-10/+7
| | | | Update #3665.
* Add low level event recording supportSebastian Huber2019-01-298-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.
* samples/pppd: Use less memory hungry configurationSebastian Huber2019-01-291-5/+4
| | | | This avoids link-time failures on some low memory BSPs.
* psxtmtests: Fix format warningsSebastian Huber2019-01-284-36/+36
| | | | Update #3384.
* score: Remove unused _ISR_lock_Flash()Sebastian Huber2019-01-181-2/+0
|
* score: Improve debug support for ISR locksSebastian Huber2019-01-181-0/+12
| | | | Ensure that interrupts are disabled while acquiring an ISR lock.
* build: Add missing $(LDADD) for dependenciesSebastian Huber2019-01-141-2/+2
|
* build: Remove bogus spqreslib_LDADDSebastian Huber2019-01-141-1/+0
|
* build: Add missing $(LDADD) for dependenciesSebastian Huber2019-01-143-9/+9
|
* Fix format warnings due to ino_t changesSebastian Huber2019-01-101-1/+1
|
* psxconfig01: Fix pre-processor conditionsSebastian Huber2019-01-101-20/+20
| | | | | | Do not rely on compiler optimizations to throw away empty loops. Close #3673.
* Adjust interrupt mode tests for some CPU portsSebastian Huber2019-01-092-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.
* rtems: Allow to set ISR level 0 in SMP configSebastian Huber2019-01-091-1/+1
| | | | Update #3000.
* tests: Remove bogus RTEMS_INTERRUPT_LEVEL(31)Sebastian Huber2019-01-095-5/+5
| | | | It is unnecessary to run these test cases with interrupts disabled.
* libtests/stackchk: Fix for 64-bit targetsSebastian Huber2019-01-091-22/+11
|
* psxhdrs: Add POSIX API Signature Compliance Tests for errno.hJacob Shin2019-01-082-0/+45
|
* build: Call rtems-ld with the $(CC) of the buildSebastian Huber2019-01-081-2/+3
| | | | | This enables support for non-standard compiler names, e.g. sparc-rtems6-gcc.
* build: Call rtems-syms with the $(CC) of the buildSebastian Huber2019-01-081-6/+6
| | | | | This enables support for non-standard compiler names, e.g. sparc-rtems6-gcc.
* psxfile01: Fix one second sleepJiri Gaisler2019-01-071-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.
* Fix format warningsSebastian Huber2019-01-071-18/+18
|
* psxtmtests: Changed the copyright license to BSD-2-Clause (GCI 2018)Himanshu402018-12-2210-125/+240
|