summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Temporarily disable libdl for h8300Joel Sherrill2015-03-061-1/+4
| | | | | | | The h8300 gets a linking error for the dl0* tests. This temporarily disables libdl until that can be investigated. updates 2284.
* Temporarily disable libdl for lm32Joel Sherrill2015-03-061-1/+4
| | | | | | | There is a GCC ICE when building libdl. This temporarily disables building libdl until that is resolved. updates 2283.
* Temporarily disable libdl for v850Joel Sherrill2015-03-061-1/+4
| | | | | | | | | There is an issue linking dl0* which has not been resolved. This issue is being tracked but is not considered a release blocker. This patch is a workaround which disables libdl for the v850 until the ticket is resolved. updates 2260.
* Temporarily disable libdl for bfinJoel Sherrill2015-03-061-1/+4
| | | | | | | | | There is an issue linking dl0* which has not been resolved. This issue is being tracked but is not considered a release blocker. This patch is a workaround which disables libdl for the bfin until the ticket is resolved. updates 2252.
* capture01: Update screen fileJoel Sherrill2015-03-041-30/+33
|
* IMFS: Fix copy on write for linfilesSebastian Huber2015-02-202-5/+67
|
* IMFS: Add fine grained configurationSebastian Huber2015-02-121-9/+0
| | | | | | | | | | | | | | | | | | Remove miniIMFS. Statically initialize the root IMFS. Add configuration options to disable individual features of the root IMFS, e.g. o CONFIGURE_IMFS_DISABLE_CHOWN, o CONFIGURE_IMFS_DISABLE_FCHMOD, o CONFIGURE_IMFS_DISABLE_LINK, o CONFIGURE_IMFS_DISABLE_MKNOD, o CONFIGURE_IMFS_DISABLE_MOUNT, o CONFIGURE_IMFS_DISABLE_READLINK, o CONFIGURE_IMFS_DISABLE_RENAME, o CONFIGURE_IMFS_DISABLE_RMNOD, o CONFIGURE_IMFS_DISABLE_SYMLINK, o CONFIGURE_IMFS_DISABLE_UNMOUNT, and o CONFIGURE_IMFS_DISABLE_UTIME.
* IMFS: Replace node union with individual structSebastian Huber2015-01-273-20/+7
| | | | | | This reduces the average node size. Add and use IMFS_GENERIC_INITIALIZER().
* libnetworking: Fix close of active socketsSebastian Huber2015-01-201-8/+183
| | | | | | | Send a special event to notify tasks waiting for a socket state change in case this socket gets closed. This prevents a use after free. Close #785.
* Fixed dl01 and dl02 makefilesMarcos Diaz2015-01-202-2/+2
|
* libtests/crypt01: Increase stack sizeSebastian Huber2015-01-091-0/+2
|
* Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEMSebastian Huber2014-12-1639-66/+0
| | | | This define was superfluous, undocumented and used inconsistently.
* Enable WebSocket support in the Mongoose HTTP serverNick Withers2014-12-153-13/+204
|
* Teach rtems_tarfs_load() about symlinksNick Withers2014-12-112-4/+8
|
* libtests/complex: Avoid multiple definitionsSebastian Huber2014-12-081-1/+1
|
* Update bug report URLSebastian Huber2014-12-051-1/+1
|
* libmisc: More useful default configurationSebastian Huber2014-12-056-0/+93
| | | | | | | | | | | The dummy.c was a de-facto default configuration. Rename it to default-configuration.c. Use unlimited objects and the stack checker. This makes it easier for new RTEMS users which will likely use this file if they just work with the usual main() function as the application entry point. Provide proper arguments for main() using the BSP command line. Add spare user extensions and drivers. Do not initialize the network by default. Delete bspinit.c.
* libtests: Omit libdl tests if no RTEMS toolsSebastian Huber2014-12-031-7/+8
|
* DEVFS04: make test work on LEON3-FT GR712RCDaniel Hellstrom2014-12-021-1/+1
| | | | | | | | | The LEON3 BSP have support for up to 8 termios consoles, the LEON3-FT GR712RC uses 6 UARTs. This does not take into account the BSP maximum devices instead it is hardcoded to 6. This patch increases it the maximum devices of DEVFS04 from 6 to 10.
* libtests/complex,math: Prevent optimizationsSebastian Huber2014-12-012-81/+195
| | | | | | | For constant arguments GCC calculates the values of the math library functions at compile-time. close #1741