summaryrefslogtreecommitdiff
path: root/testsuites/sptests/spfatal_support (follow)
AgeCommit message (Collapse)Author
2019-11-12sptests: Avoid include path magicSebastian Huber
Update #3818.
2019-11-12tests: Simplify fatal error test supportSebastian Huber
Move system.h to shared init.c. Update #3818.
2019-11-12sptests: Remove obsolete semaphore consume driverSebastian Huber
This driver is no longer used by a test program. Update #3818.
2018-12-04Capitalize Rtems to RTEMSMarçal Comajoan Cara
2018-02-02termios: Use self-contained objectsSebastian Huber
Update #2840.
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-28tests: Remove obsolete TESTS_USE_PRINTKSebastian Huber
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.
2016-12-12Rename is_internal to always_set_to_falseSebastian Huber
Update #2825.
2016-12-09score: Remove fatal is internal indicatorSebastian Huber
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.
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.
2015-10-26basdefs.h: Add and use RTEMS_UNUSEDSebastian Huber
2014-03-31tests/fatal: Fix test namesSebastian Huber
2014-03-25tests/sptests: Use <rtems/test.h>Sebastian Huber
2014-03-25tests: Use rtems_status_text()Sebastian Huber
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns
2014-02-12score: Change debug helper functionsSebastian Huber
Rename rtems_internal_error_description() to rtems_internal_error_text(). Rename rtems_fatal_source_description() to rtems_fatal_source_text(). Rename rtems_status_code_description() to rtems_status_text(). Remove previous implementation of rtems_status_text().
2013-08-08PR766: Delete __RTEMS_VIOLATE_KERNEL_VISIBILITY__Sebastian Huber
2013-02-12score: Add and use rtems_assert_contextSebastian Huber
2013-01-27testsuites: Fix prototypesSebastian Huber
2013-01-27testsuites: Use rtems_fatal_source_description()Sebastian Huber
2012-11-15score: Add RTEMS_FATAL_SOURCE_EXITSebastian Huber
Include <bsp/default-initial-extension.h> in all BSPs. Call rtems_fatal() with RTEMS_FATAL_SOURCE_EXIT as source and the exit() status code as fatal code in every bsp_cleanup(). Move previous bsp_cleanup() code into bsp_fatal_extension().
2012-11-15sapi: Add and use rtems_internal_error_descriptionSebastian Huber
2012-10-25score: Work area initialization API changeSebastian Huber
The work areas (RTEMS work space and C program heap) will be initialized now in a separate step and are no longer part of rtems_initialize_data_structures(). Initialization is performed with tables of Heap_Area entries. This allows usage of scattered memory areas present on various small scale micro-controllers. The sbrk() support API changes also. The bsp_sbrk_init() must now deal with a minimum size for the first memory chunk to take the configured work space size into account.
2012-05-31sptests - Eliminate missing prototype warningsJoel Sherrill
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.
2011-09-052011-09-05 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber
* spfatal01/spfatal01.scn, spfatal02/spfatal02.scn, spfatal13/spfatal13.scn, spfatal14/spfatal14.scn, spfatal15/spfatal15.scn, spfatal16/spfatal16.scn, spfatal17/spfatal17.scn, spfatal18/spfatal18.scn, spfatal19/spfatal19.scn, spfatal20/spfatal20.scn, spfatal_support/init.c: Print proper begin message.
2011-08-222011-08-22 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber
* spfatal13/testcase.h: Fixed test name. * spfatal05/testcase.h: Increased wait time for slow hardware. * spfatal_support/init.c: Print test name at end of test. * spfatal01/spfatal01.scn, spfatal02/spfatal02.scn, spfatal03/spfatal03.scn, spfatal04/spfatal04.scn, spfatal05/spfatal05.scn, spfatal06/spfatal06.scn, spfatal07/spfatal07.scn, spfatal08/spfatal08.scn, spfatal09/spfatal09.scn, spfatal10/spfatal10.scn, spfatal11/spfatal11.scn, spfatal12/spfatal12.scn, spfatal13/spfatal13.scn, spfatal14/spfatal14.scn, spfatal15/spfatal15.scn, spfatal16/spfatal16.scn, spfatal17/spfatal17.scn, spfatal18/spfatal18.scn, spfatal19/spfatal19.scn, spfatal20/spfatal20.scn, spfatal21/spfatal21.scn, spfatal22/spfatal22.scn, spfatal23/spfatal23.scn, spfatal24/spfatal24.scn, spfatal25/spfatal25.scn: Reflect changes from above.
2011-08-182011-08-18 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber
* spfatal_support/init.c: Ensure that _Thread_BSP_context is initialized.
2011-07-242011-07-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* sp04/tswitch.c, sp07/task1.c, sp07/task2.c, sp09/screen07.c, sp11/task1.c, sp11/task2.c, sp12/pridrv.c, sp12/pritask.c, sp13/task1.c, sp14/asr.c, sp14/task1.c, sp19/first.c, sp19/fptask.c, sp19/inttest.h, sp19/task1.c, sp20/task1.c, sp25/task1.c, sp26/task1.c, sp28/init.c, sp29/init.c, sp31/task1.c, sp32/init.c, sp33/init.c, sp34/changepri.c, sp36/strict_order_mut.c, sp37/init.c, sp43/init.c, sp44/init.c, sp48/init.c, sp54/init.c, sp59/init.c, sp65/init.c, sp68/init.c, spchain/init.c, spclockget/init.c, spfatal03/testcase.h, spfatal07/testcase.h, spfatal_support/init.c: Do not line length exceed 80 columns.
2011-02-22Add HAVE_CONFIG_H.Ralf Corsepius
2010-07-072010-07-07 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
PR 1606/cpukit * spfatal_support/init.c: Remove INTERNAL_ERROR_INVALID_WORKSPACE_ADDRESS since it is not generated.
2010-07-072010-07-08 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber
* spfatal09/.cvsignore, spfatal09/Makefile.am, spfatal09/spfatal09.doc, spfatal09/spfatal09.scn, spfatal09/testcase.h: Removed files. * Makefile.am, configure.ac: Reflect changes above. * spfatal_support/init.c: Print end of test message in case of success. Stop multitasking in the fatal error extension. * spfatal03/testcase.h, spfatal07/testcase.h: Use printk() instead of puts(). * spfatal01/spfatal01.scn, spfatal02/spfatal02.scn, spfatal03/spfatal03.scn, spfatal04/spfatal04.scn, spfatal05/spfatal05.scn, spfatal06/spfatal06.scn, spfatal07/spfatal07.scn, spfatal08/spfatal08.scn, spfatal10/spfatal10.scn, spfatal11/spfatal11.scn, spfatal12/spfatal12.scn, spfatal13/spfatal13.scn, spfatal14/spfatal14.scn, spfatal15/spfatal15.scn, spfatal16/spfatal16.scn, spfatal17/spfatal17.scn, spfatal18/spfatal18.scn, spfatal19/spfatal19.scn, spfatal20/spfatal20.scn: Update.
2010-06-222010-06-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* Makefile.am, configure.ac, spfatal_support/init.c, spfatal_support/system.h: Add new tests to generate fatal errors in open_dev_console(). * spfatal14/.cvsignore, spfatal14/Makefile.am, spfatal14/spfatal14.doc, spfatal14/spfatal14.scn, spfatal14/testcase.h, spfatal15/.cvsignore, spfatal15/Makefile.am, spfatal15/spfatal15.doc, spfatal15/spfatal15.scn, spfatal15/testcase.h, spfatal_support/consume_sems.c: New files.
2010-06-192010-06-19 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* sp09/screen01.c, sp09/sp09.scn, sp43/init.c, sp43/sp43.scn, spfatal_support/init.c: Remove references to ITRON constants.
2009-11-30Whitespace removal.Ralf Corsepius
2009-09-262009-09-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* sp04/tswitch.c, sp07/system.h, sp07/taskexit.c, sp07/tdelete.c, sp07/tstart.c, spfatal_support/init.c, spfatal_support/system.h: Eliminate use of deprecated rtems_extension.
2009-09-042009-09-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* spfatal01/spfatal01.scn, spfatal01/testcase.h, spfatal02/spfatal02.scn, spfatal02/testcase.h, spfatal03/spfatal03.scn, spfatal03/testcase.h, spfatal04/spfatal04.scn, spfatal04/testcase.h, spfatal05/spfatal05.scn, spfatal05/testcase.h, spfatal06/spfatal06.scn, spfatal06/testcase.h, spfatal07/spfatal07.scn, spfatal07/testcase.h, spfatal08/spfatal08.scn, spfatal08/testcase.h, spfatal09/spfatal09.scn, spfatal09/testcase.h, spfatal10/Makefile.am, spfatal10/spfatal10.scn, spfatal11/Makefile.am, spfatal11/spfatal11.scn, spfatal12/Makefile.am, spfatal12/spfatal12.scn, spfatal_support/init.c: Make all fatal error tests use testcase.h and spfatal_support framework. Print test name herald in all cases. * spfatal10/testcase.h, spfatal11/testcase.h, spfatal12/testcase.h: New files. * spfatal10/init.c, spfatal11/init.c, spfatal12/init.c: Removed.
2009-05-102009-05-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* sp04/system.h, sp04/task1.c, sp04/tswitch.c, sp07/init.c, sp12/init.c, sp13/putbuff.c, sp13/system.h, sp13/task1.c, sp15/init.c, sp16/system.h, sp19/fptask.c, sp25/system.h, sp26/task1.c, sp27/init.c, sp28/init.c, sp29/init.c, sp31/task1.c, sp33/init.c, sp34/changepri.c, sp35/priinv.c, sp37/init.c, sp38/init.c, sp39/init.c, sp41/init.c, sp42/init.c, sp43/init.c, sp44/init.c, sp45/init.c, sp46/init.c, sp47/init.c, sp48/init.c, spfatal03/testcase.h, spfatal05/testcase.h, spfatal06/testcase.h, spfatal_support/system.h, spobjgetnext/init.c, spsize/getint.c, spsize/size.c: Fix warnings.
2008-09-06Convert to "bool".Ralf Corsepius
2008-02-012008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill
* sp01/init.c, sp02/init.c, sp03/init.c, sp04/init.c, sp05/init.c, sp06/init.c, sp07/init.c, sp08/init.c, sp09/init.c, sp11/init.c, sp12/init.c, sp13/init.c, sp14/init.c, sp15/init.c, sp16/init.c, sp17/init.c, sp19/init.c, sp20/init.c, sp21/init.c, sp22/init.c, sp23/init.c, sp24/init.c, sp25/init.c, sp26/init.c, sp28/init.c, sp30/init.c, sp31/init.c, sp32/init.c, sp33/init.c, sp37/init.c, sp38/init.c, sp39/init.c, sp40/init.c, sp41/init.c, sp43/init.c, spfatal/init.c, spfatal_support/init.c, spsize/init.c: Change TEST_INIT to CONFIGURE_INIT. Make tmacros.h available to all POSIX tests. Add a clock_settime case for < 1988.
2008-01-282008-01-28 Jennifer Averett <jennifer.averett@OARcorp.com>Jennifer Averett
* Makefile.am, configure.ac: Added fatal error tests * spfatal01/Makefile.am, spfatal01/spfatal01.scn, spfatal01/testcase.h, spfatal02/Makefile.am, spfatal02/spfatal02.scn, spfatal02/testcase.h, spfatal03/Makefile.am, spfatal03/spfatal03.scn, spfatal03/testcase.h, spfatal04/Makefile.am, spfatal04/spfatal04.scn, spfatal04/testcase.h, spfatal05/Makefile.am, spfatal05/spfatal05.scn, spfatal05/testcase.h, spfatal06/Makefile.am, spfatal06/spfatal06.scn, spfatal06/testcase.h, spfatal07/Makefile.am, spfatal07/spfatal07.scn, spfatal07/testcase.h, spfatal08/Makefile.am, spfatal08/spfatal08.scn, spfatal08/testcase.h, spfatal09/Makefile.am, spfatal09/spfatal09.scn, spfatal09/testcase.h, spfatal10/Makefile.am, spfatal10/spfatal10.scn, spfatal10/testcase.h, spfatal_support/init.c, spfatal_support/system.h: New files.