summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/block06 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* config: CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORSSebastian Huber2019-12-191-1/+1
| | | | | | | Rename CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS into CONFIGURE_MAXIMUM_FILE_DESCRIPTORS. Update #3753.
* libtest: Change expected pass state stringSebastian Huber2019-12-051-1/+1
| | | | Use separator character '_' for all test states.
* tests: Use rtems_task_exit()Sebastian Huber2018-10-051-3/+3
| | | | Update #3533.
* libtests/block06: Use rtems_blkdev_create()Sebastian Huber2018-08-072-555/+499
| | | | Update #3358.
* testsuite/libtests: Merged nested Makefile.am files into one Makefile.amChris Johns2018-04-101-21/+0
| | | | | | This change is part of the testsuite Makefile.am reorganization. Update #3382
* block06: Use floating-point taskSebastian Huber2018-01-191-0/+1
| | | | This test uses sprintf().
* block06/init.c: Fix printf() format warningJoel Sherrill2017-11-291-5/+4
|
* tests: Use simple console driverSebastian Huber2017-11-061-1/+1
| | | | | Update #3170. Update #3199.
* tests: Use printf() instead of fprintf()Sebastian Huber2017-11-021-2/+2
| | | | | Update #3170. Update #3199.
* tests: Remove TEST_INITSebastian Huber2017-10-281-2/+0
| | | | | | | | The TEST_EXTERN is a used only by the system.h style tests and they use CONFIGURE_INIT appropriately. Update #3170. Update #3199.
* testsuite: Remove warnings.Chris Johns2017-10-231-17/+18
|
* testsuite: Use printk for all test output where possible.Chris Johns2017-10-231-83/+67
| | | | | | | | | | - Remove the printf support leaving the direct printk support configured with TESTS_USE_PRINTK and all other output goes via a buffered vsniprintf call to printk. - Control the test's single init for functions and global data with TEST_INIT and not CONFIGURE_INIT. They are now separate. Updates #3170.
* cpukit, testsuite: Add rtems_printf and rtems_printer support.Chris Johns2016-05-251-1/+1
| | | | | | | | | | | | | | | | | | | 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.
* Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEMSebastian Huber2014-12-161-2/+0
| | | | This define was superfluous, undocumented and used inconsistently.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-212-2/+2
|
* tests/libtests: Use <rtems/test.h>Sebastian Huber2014-03-201-2/+8
|
* sapi: Use one SMP lock for all chainsSebastian Huber2014-03-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This partially reverts commit 1215fd4d9426a59d568560e9a485628560363133. In order to support profiling of SMP locks and provide a future compatible SMP locks API it is necessary to add an SMP lock destroy function. Since the commit above adds an SMP lock to each chain control we would have to add a rtems_chain_destroy() function as well. This complicates the chain usage dramatically. Thus revert the patch above. A global SMP lock for all chains is used to implement the protected chain operations. Advantages: * The SAPI chain API is now identical on SMP and non-SMP configurations. * The size of the chain control is reduced and is then equal to the Score chains. * The protected chain operations work correctly on SMP. Disadvantage: * Applications using many different chains and the protected operations may notice lock contention. The chain control size drop is a huge benefit (SAPI chain controls are 66% larger than the Score chain controls). The only disadvantage is not really a problem since these applications can use specific interrupt locks and unprotected chain operations to avoid this issue.
* fstests and libtests: Add contents to multiple documentation filesCynthia Rempel2014-01-081-5/+22
|
* sapi: SMP support for chainsSebastian Huber2013-08-301-2/+2
| | | | | | | | Add ISR lock to chain control for proper SMP protection. Replace rtems_chain_extract() with rtems_chain_explicit_extract() and rtems_chain_insert() with rtems_chain_explicit_insert() on SMP configurations. Use rtems_chain_explicit_extract() and rtems_chain_explicit_insert() to provide SMP support.
* score: Merge tod implementation into one fileSebastian Huber2013-07-261-3/+3
| | | | | Delete TOD_MICROSECONDS_PER_SECOND, TOD_MICROSECONDS_TO_TICKS() and TOD_MILLISECONDS_TO_TICKS().
* Include missing <string.h>Sebastian Huber2013-07-231-0/+1
|
* testsuites: Include <bsp.h>Sebastian Huber2012-11-141-0/+2
| | | | | Include <bsp.h> for proper BSP specific <rtems/confdefs.h> initialization.
* libblock: Block device transfer request API changeSebastian Huber2012-11-021-4/+5
| | | | | | | | | | | | | | Add and use rtems_blkdev_request_done(). Block device transfer requests must signal the completion status now with rtems_blkdev_request_done(). The return value of the block device IO control will be ignored for transfer requests. The first parameter of rtems_blkdev_request_cb is now the transfer request structure. Renamed rtems_blkdev_request::req_done to rtems_blkdev_request::done to break third party drivers at compile time, otherwise this API change would result in runtime errors.
* libtests/block06: Increase stack sizeSebastian Huber2012-07-021-0/+2
|
* libblock: Remove const qualifier from bdbuf APISebastian Huber2012-05-311-5/+5
| | | | This allows addtion of per disk statistics for example.
* libblock: Add task stack size bdbuf configurationSebastian Huber2012-05-311-3/+7
| | | | | | The task stack size for the swap-out and worker tasks is now configurable. The bdbuf task resources are now included in the work space size estimate.
* libtmtests - Eliminate missing prototype warningsJoel Sherrill2012-05-111-0/+3
|
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-113-9/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* Revert: Remove CVS IdsJoel Sherrill2012-05-071-0/+5
| | | | | See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.
* Remove CVS-Ids.Ralf Corsépius2012-05-041-5/+0
|
* libtests/block06: Increase stack sizeSebastian Huber2012-03-261-0/+2
|
* libblock: Change bdbuf APISebastian Huber2012-03-131-42/+36
| | | | | | | | | | | | | | | | | | | | The functions o rtems_bdbuf_get(), o rtems_bdbuf_read(), o rtems_bdbuf_syncdev(), and o rtems_bdbuf_purge_dev(), use now the disk device instead of the device identifier. This makes bdbuf independent of rtems_disk_obtain() and rtems_disk_release(). It is the responsiblity of the file system to obtain the disk device. This also reduces the overhead to get a buffer. The key for the AVL tree uses now the disk device instead of the device identifier. The pointer is interpreted as an unsigned integer. This reduces the memory overhead and makes the comparison operation a bit faster. Removed function rtems_bdbuf_purge_major(). This function was too destructive and could have unpredictable side effects.
* Remove all .cvsignore files.Joel Sherrill2012-02-011-2/+0
|
* 2011-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-12-081-3/+1
| | | | | | | | | | | | | | | | | | | | | | PR 1589/build * block01/Makefile.am, block02/Makefile.am, block03/Makefile.am, block04/Makefile.am, block05/Makefile.am, block06/Makefile.am, block07/Makefile.am, block08/Makefile.am, block09/Makefile.am, block10/Makefile.am, bspcmdline01/Makefile.am, cpuuse/Makefile.am, devfs01/Makefile.am, devfs02/Makefile.am, devfs03/Makefile.am, devfs04/Makefile.am, deviceio01/Makefile.am, devnullfatal01/Makefile.am, dumpbuf01/Makefile.am, ftp01/Makefile.am, gxx01/Makefile.am, heapwalk/Makefile.am, malloc02/Makefile.am, malloc03/Makefile.am, malloc04/Makefile.am, malloc05/Makefile.am, malloctest/Makefile.am, monitor/Makefile.am, monitor02/Makefile.am, mouse01/Makefile.am, putenvtest/Makefile.am, rtems++/Makefile.am, rtmonuse/Makefile.am, stackchk/Makefile.am, stackchk01/Makefile.am, stringto01/Makefile.am, tar01/Makefile.am, tar02/Makefile.am, tar03/Makefile.am, termios/Makefile.am, termios01/Makefile.am, termios02/Makefile.am, termios03/Makefile.am, termios04/Makefile.am, termios05/Makefile.am, termios06/Makefile.am, termios07/Makefile.am, termios08/Makefile.am, tztest/Makefile.am: Remove obsolete optional manager capability.
* Add HAVE_CONFIG_H.Ralf Corsepius2011-02-221-0/+4
|
* 2010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-06-231-0/+1
| | | | | | | | | | | | * block01/Makefile.am, block02/Makefile.am, block03/Makefile.am, block04/Makefile.am, block05/Makefile.am, block06/Makefile.am, block07/Makefile.am, block08/Makefile.am, block09/Makefile.am, block10/Makefile.am, bspcmdline01/Makefile.am, cpuuse/Makefile.am, heapwalk/Makefile.am, malloctest/Makefile.am, monitor/Makefile.am, monitor02/Makefile.am, putenvtest/Makefile.am, rtems++/Makefile.am, rtmonuse/Makefile.am, stackchk/Makefile.am, stackchk01/Makefile.am, stringto01/Makefile.am, termios/Makefile.am, termios01/Makefile.am, termios02/Makefile.am: Revert.
* 2010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-06-231-1/+0
| | | | | | | | | | | | | * block01/Makefile.am, block02/Makefile.am, block03/Makefile.am, block04/Makefile.am, block05/Makefile.am, block06/Makefile.am, block07/Makefile.am, block08/Makefile.am, block09/Makefile.am, block10/Makefile.am, bspcmdline01/Makefile.am, cpuuse/Makefile.am, heapwalk/Makefile.am, malloctest/Makefile.am, monitor/Makefile.am, monitor02/Makefile.am, putenvtest/Makefile.am, rtems++/Makefile.am, rtmonuse/Makefile.am, stackchk/Makefile.am, stackchk01/Makefile.am, stringto01/Makefile.am, termios/Makefile.am, termios01/Makefile.am, termios01/init.c, termios02/Makefile.am: Fix bug so existing test code for rtems_termios_baud_to_index() is executed.
* 2010-05-03 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Sebastian Huber2010-05-031-1/+1
| | | | | | * block01/init.c, block02/init.c, block03/init.c, block04/init.c, block05/init.c, block06/init.c, block07/init.c, block09/init.c, block10/init.c: Changed CONFIGURE_MAXIMUM_SEMAPHORES defines.
* updates and new test casesThomas Doerfler2010-01-191-2/+2
|
* 2009-12-21 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill2009-12-211-3/+3
| | | | | * block06/init.c: Update for disk device API change. Changed EBADRQC to EINVAL.
* added documentationThomas Doerfler2009-11-302-1/+22
| | | | | corrections in block tests added Makefile.am
* Whitespace removal.Ralf Corsepius2009-11-301-73/+73
|
* 2009-11-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-11-212-583/+2
| | | | | | | * block02/.cvsignore, block03/.cvsignore, block04/.cvsignore, block05/.cvsignore, block06/.cvsignore, block07/.cvsignore: New files. * block02/Makefile.in, block03/Makefile.in, block04/Makefile.in, block05/Makefile.in, block06/Makefile.in, block07/Makefile.in: Removed.
* 2009-11-13 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-11-131-1/+1
| | | | * block06/init.c: Add missing prototype.
* Added block05, block06 and block07Thomas Doerfler2009-11-094-0/+2974