summaryrefslogtreecommitdiff
path: root/testsuites/libtests/block08 (follow)
AgeCommit message (Collapse)Author
2020-04-16Canonicalize config.h includeSebastian Huber
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2020-02-25config: Remove CONFIGURE_DISABLE_SMP_CONFIGURATIONSebastian Huber
The CONFIGURE_DISABLE_SMP_CONFIGURATION configuration option and rtems_configuration_is_smp_enabled() were added during the SMP support development cycle as a workaround to fix some testsuite failures in SMP configurations. All use cases were replaced with tests for specific conditions. The configuration option and test macro were undocumented. Close #3876.
2019-12-19config: CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORSSebastian Huber
Rename CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS into CONFIGURE_MAXIMUM_FILE_DESCRIPTORS. Update #3753.
2019-11-12block08: Use local includeSebastian Huber
Update #3818.
2018-10-05tests: Use rtems_task_exit()Sebastian Huber
Update #3533.
2018-08-07libtests/block08: Use rtems_blkdev_create()Sebastian Huber
Update #3358.
2018-04-10testsuite/libtests: Merged nested Makefile.am files into one Makefile.amChris Johns
This change is part of the testsuite Makefile.am reorganization. Update #3382
2017-11-06tests: Use simple console driverSebastian Huber
Update #3170. Update #3199.
2017-10-28tests: Remove TEST_INITSebastian Huber
The TEST_EXTERN is a used only by the system.h style tests and they use CONFIGURE_INIT appropriately. Update #3170. Update #3199.
2017-10-23testsuite: Use printk for all test output where possible.Chris Johns
- 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.
2017-07-28libtests/block08: Fix format warningSebastian Huber
2017-05-11confdefs.h: CONFIGURE_DISABLE_SMP_CONFIGURATIONSebastian Huber
Enable the SMP configuration by default in case SMP is enabled. Add configuration option CONFIGURE_DISABLE_SMP_CONFIGURATION to disable it explicitly. Add CONFIGURE_DISABLE_SMP_CONFIGURATION to all test which would fail otherwise. Update #3001.
2017-04-25block08/bdbuf_tests.c: Add include of <rtems/inttypes.h>Joel Sherrill
2017-04-25rtems/inttypes.h, block08: Add and use PRIdrtems_blkdev_bnumJoel Sherrill
2016-06-22Make rtems/print.h independent of rtems/bspIo.hSebastian Huber
2016-05-25testsuite: Fix printk format warnings.Chris Johns
2016-05-25cpukit, testsuite: Add rtems_printf and rtems_printer support.Chris Johns
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.
2016-04-20block[08|09|10]/init.c: Include <stdlib.h> to fix warning on exit()Joel Sherrill
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns
2014-03-20tests/libtests: Use <rtems/test.h>Sebastian Huber
2013-07-23Include missing <string.h>Sebastian Huber
2012-11-14testsuites: Include <bsp.h>Sebastian Huber
Include <bsp.h> for proper BSP specific <rtems/confdefs.h> initialization.
2012-11-02libblock: Block device transfer request API changeSebastian Huber
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.
2012-05-31libblock: Remove const qualifier from bdbuf APISebastian Huber
This allows addtion of per disk statistics for example.
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill
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.
2012-05-07Revert: Remove CVS IdsJoel Sherrill
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.
2012-05-04Remove CVS-Ids.Ralf Corsépius
2012-03-13libblock: Change bdbuf APISebastian Huber
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.
2012-02-01Remove all .cvsignore files.Joel Sherrill
2011-12-082011-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
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.
2011-02-22Add HAVE_CONFIG_H.Ralf Corsepius
2010-06-232010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill
* 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-232010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill
* 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-172010-05-17 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber
PR 1433/cpukit * block08/bdbuf_tests.c: Enabled tests 1.1, 1.2 and 1.3. * block08/bdbuf_test1_1.c, block08/bdbuf_test1_2.c, block08/bdbuf_test1_3.c: Use RTEMS_IO_ERROR instead of RTEMS_NO_MEMORY.
2010-01-202010-01-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* block08/.cvsignore, block09/.cvsignore: New files.
2010-01-202010-01-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* block08/init.c: Remove warning.
2010-01-202010-01-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* block08/block08.scn, block08/init.c: Add starting and ending messages so the scripts detect successful exit.
2010-01-19updates and new test casesThomas Doerfler