summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libdl: Add C++ exception support to loaded modules.Chris Johns2016-12-1410-1200/+1465
| | | | | | This has been tested on SPARC, i386, PowerPC and ARM. Closes #2767.
* Rename is_internal to always_set_to_falseSebastian Huber2016-12-124-7/+7
| | | | Update #2825.
* score: Remove fatal is internal indicatorSebastian Huber2016-12-091-1/+0
| | | | | | | | | The fatal is internal indicator is redundant since the fatal source and error code uniquely identify a fatal error. Keep the fatal user extension is internal parameter for backward compatibility and set it to false always. Update #2825.
* cpukit: Add libdebugger, a remote debugger agent for GDB.Chris Johns2016-11-298-0/+654
|
* libtests/cpuuse: Check status onlySebastian Huber2016-11-231-2/+2
| | | | We may own the allocator mutex during context switches.
* libmisc/xz: Add xz decompression.Chris Johns2016-10-133-4/+98
| | | | Add support to untar XZ compressed files.
* termios: Use IMFS nodes for new Termios devicesSebastian Huber2016-09-191-116/+46
| | | | | | | | This makes the new Termios devices independent of device major/minor numbers. It enables BSP independent Termios device drivers which may reside in the cpukit domain. These drivers require an IMFS and do not work with the device file system. However, the device file system should go away in the future.
* libtests/devfs: Use printk()Sebastian Huber2016-09-193-5/+5
| | | | | This avoids problems with console drivers that use generic nodes of the IMFS.
* tests: CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEMSebastian Huber2016-09-196-6/+0
| | | | Avoid unnecessary use of CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM.
* Add SPI bus frameworkAlexander Krutwig2016-09-166-0/+322
| | | | | | User API is compatible to Linux userspace API. New test libtests/spi01. Update #2776.
* testsuite: Add libdl/dl05 reloc test.Chris Johns2016-09-0810-1/+1544
|
* libmisc/capture: Remove the reserved _t in the types.Chris Johns2016-09-011-2/+2
|
* testsuite: Add libdl/dl04 cache test.Chris Johns2016-08-1510-0/+1549
|
* testsuite: Add libdl/dl03 cache test.Chris Johns2016-08-158-1/+491
|
* librtems++: Remove from RTEMS.Chris Johns2016-08-1110-1200/+1
| | | | | | | This is old and there are better design patterns for threading and C++. We recommend you use the new C++ standards based support. Closes #2777.
* libmisc/untar: Set the perms to the value in the tar file.Chris Johns2016-08-092-1/+34
| | | | | | | This patch parses the mode field in the tar header and sets the directory or file to the mode value in the header. Closes #2768.
* Add Untar_FromGzChunk_Print() + TestAlexander Krutwig2016-07-265-5/+87
|
* Add Untar_FromChunk_Print() + TestAlexander Krutwig2016-07-263-0/+54
|
* net: Fix byte order issue for getnameinfo()Sebastian Huber2016-07-011-11/+11
|
* libnetworking: Add minimal getnameinfo()Christian Mauderer2016-06-286-0/+220
| | | | | | | This implementation just falls back to giving a string representation of the IP. It supports IPv4 only. Add test for getnameinfo().
* Make rtems/print.h independent of rtems/bspIo.hSebastian Huber2016-06-221-0/+1
|
* libmisc/untar: Support directory create and overwrites. Share the common code.Chris Johns2016-06-031-3/+6
| | | | | | | | | | | | | | | | | | | Support creating directories for files with a path depth greater than 1. Some tar files can have files with a path depth greater than 1 and no directory entry in the tar file to create a directory. Support overwriting existing files and directories failing in a similar way to tar on common hosts. If a file is replaced with a file delete the file and create a new file. If a directory replaces a file remove the file and create the directory. If a file replaces a directory remove the directory, and if the directory is not empty and cannot be removed report an error. If a directory alreday exists do nothing leaving the contents untouched. The untar code now shares the common header parsing and initial processing with the actual writes still separate. No changes to the IMFS have been made. Updates #2415. Closes #2207.
* testsuite: Fix printk format warnings.Chris Johns2016-05-2515-107/+87
|
* cpukit, testsuite: Add rtems_printf and rtems_printer support.Chris Johns2016-05-2522-42/+79
| | | | | | | | | | | | | | | | | | | This change adds rtems_printf and related functions and wraps the RTEMS print plugin support into a user API. All references to the plugin are removed and replaced with the rtems_printer interface. Printk and related functions are made to return a valid number of characters formatted and output. The function attribute to check printf functions has been added to rtems_printf and printk. No changes to remove warrnings are part of this patch set. The testsuite has been moved over to the rtems_printer. The testsuite has a mix of rtems_printer access and direct print control via the tmacros.h header file. The support for begink/endk has been removed as it served no purpose and only confused the code base. The testsuite has not been refactored to use rtems_printf. This is future work.
* testsuites: Avoid Giant lockSebastian Huber2016-05-201-4/+4
| | | | | | | | | Replace _Thread_Disable_dispatch() with _Thread_Dispatch_disable(). Replace _Thread_Enable_dispatch() with _Thread_Dispatch_enable(). This is a preparation to remove the Giant lock. Update #2555.
* block[08|09|10]/init.c: Include <stdlib.h> to fix warning on exit()Joel Sherrill2016-04-203-0/+4
|
* malloc: Fix early realloc() allocationSebastian Huber2016-04-061-0/+17
|
* libtests/syscall01: Explicitly request closeSebastian Huber2016-03-071-0/+19
| | | | | This makes the test more reliable in case an interrupt driven console driver is used.
* malloc: Add _Malloc_System_state()Sebastian Huber2016-02-251-1/+26
| | | | | | | | | | Replace malloc_is_system_state_OK() with _Malloc_System_state() to allow early allocations, e.g. in bsp_start(). Here the _Thread_Executing is NULL, thus an _API_Mutex_Lock() would lead to a NULL pointer access. Move malloc() support code to general case rtems_heap_allocate_aligned_with_boundary(). Use rtems_heap_allocate_aligned_with_boundary() to avoid duplicated code.
* libtests/devfs: Inc max dev to support more BSPsSebastian Huber2016-01-192-1/+6
|
* Remove H8300 portJoel Sherrill2016-01-041-3/+0
| | | | updates #2452.
* Remove M32R architectureJoel Sherrill2016-01-041-2/+1
| | | | updates #2446.
* api: Remove deprecated NotepadsAun-Ali Zaidi2015-12-243-85/+0
| | | | | | | | | | | | | | | | | | | | | | | Notepads where a feature of RTEMS' tasks that simply functioned in the same way as POSIX keys or threaded local storage (TLS). They were introduced well before per task variables, which are also deprecated, and were barely used in favor of their POSIX alternatives. In addition to their scarce usage, Notepads took up unnecessary memory. For each task: - 16 32-bit integers were allocated. - A total of 64 bytes per task per thread. This is especially critical in low memory and safety-critical applications. They are also defined as uint32_t, and therefore are not guaranteed to hold a pointer. Lastly, they are not portable solutions for SMP and uniprocessor systems, like POSIX keys and TLS. updates #2493.
* libtests/termios04: Avoid use of freed memorySebastian Huber2015-11-121-7/+35
|
* libblock: Print block sizes and countSebastian Huber2015-11-022-2/+5
|
* basdefs.h: Add and use RTEMS_UNUSEDSebastian Huber2015-10-262-30/+30
|
* Fail gracefully if pax is not foundBen Gras2015-10-221-1/+5
| | | | | The $(PAX) variable is used unconditionally so it shouldn't be left empty if not found at configure time. Fixes #2437.
* libfdt: Merge into librtemscpuSebastian Huber2015-10-191-2/+1
| | | | This allows BSPs to use this library.
* libfdt: Initial importSebastian Huber2015-10-169-0/+310
| | | | | | | | | | | | | | Import from: git://git.kernel.org/pub/scm/utils/dtc/dtc.git Commit: 604e61e081e3c6c8fa1a8189c71cb3908a5bbc1e Date: 2015-09-29T09:09:08Z
* rbheap: Fix rtems_rbheap_free()Sebastian Huber2015-09-111-0/+5
| | | | | | | Remove unused descriptor of merged free chunks from the free chain and add them to the spare descriptors. Close #2417.
* libtests/rbheap01: SimplifySebastian Huber2015-09-111-172/+95
| | | | Update #2417.
* rbheap: Drop direction from _RBTree_Iterate()Sebastian Huber2015-08-311-2/+0
|
* i2c: Fix return status of i2c dev read/writeSebastian Huber2015-07-231-2/+21
|
* libmisc: Simplify <rtems/stackchk.h>Sebastian Huber2015-06-261-0/+1
| | | | | Drop the <rtems/score/percpu.h> include since this file exposes a lot of implementation details.
* rtems: Add rtems_interrupt_local_disable|enable()Sebastian Huber2015-06-221-2/+2
| | | | | | | | Add rtems_interrupt_local_disable|enable() as suggested by Pavel Pisa to emphasize that interrupts are only disabled on the current processor. Do not define the rtems_interrupt_disable|enable|flash() macros and functions on SMP configurations since they don't ensure system wide mutual exclusion.
* libtests/i2c01: Avoid stack overflowSebastian Huber2015-05-271-0/+2
|
* testsuites: dl02 needs an FPU init task.Chris Johns2015-03-311-1/+1
|
* malloctest/init.c: Fix use uninitialized warningJoel Sherrill2015-03-241-0/+3
|
* cpukit: deprecate notepadsGedare Bloom2015-03-101-0/+1
| | | | | | | | | | | | | | | Deprecate Classic API Notepads. Mark task_set/get_note() with the deprecated attribute, and also mark the notepads field. Replace disable with enable option for notepads in confdefs.h, and make notepads disabled by default. The previous option CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS is now unused and will emit a compile-time warning. A new option CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS is available to turn on notepads, but it also will emit a compile-time warning to indicate that notepads are deprecated. Closes #2265
* libtests/stringto01: Fix for GCC 5.0Sebastian Huber2015-03-092-13/+23
|