summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spfatal_support (follow)
Commit message (Collapse)AuthorAgeFilesLines
* testsuites/sptests/sp[a-f*]*: Change license to BSD-2Joel Sherrill2022-04-052-6/+44
| | | | Updates #3053.
* sptests: Avoid include path magicSebastian Huber2019-11-122-8/+14
| | | | Update #3818.
* tests: Simplify fatal error test supportSebastian Huber2019-11-122-84/+44
| | | | | | Move system.h to shared init.c. Update #3818.
* sptests: Remove obsolete semaphore consume driverSebastian Huber2019-11-122-74/+0
| | | | | | This driver is no longer used by a test program. Update #3818.
* Capitalize Rtems to RTEMSMarçal Comajoan Cara2018-12-041-1/+1
|
* termios: Use self-contained objectsSebastian Huber2018-02-021-4/+0
| | | | Update #2840.
* tests: Use simple console driverSebastian Huber2017-11-061-0/+4
| | | | | 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.
* tests: Remove obsolete TESTS_USE_PRINTKSebastian Huber2017-10-281-1/+0
| | | | | Update #3170. Update #3199.
* testsuite: Use printk for all test output where possible.Chris Johns2017-10-231-0/+2
| | | | | | | | | | - 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.
* Rename is_internal to always_set_to_falseSebastian Huber2016-12-122-4/+4
| | | | Update #2825.
* score: Remove fatal is internal indicatorSebastian Huber2016-12-091-12/+5
| | | | | | | | | 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.
* testsuite: Fix printk format warnings.Chris Johns2016-05-251-1/+1
|
* cpukit, testsuite: Add rtems_printf and rtems_printer support.Chris Johns2016-05-252-5/+6
| | | | | | | | | | | | | | | | | | | 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.
* basdefs.h: Add and use RTEMS_UNUSEDSebastian Huber2015-10-262-9/+9
|
* tests/fatal: Fix test namesSebastian Huber2014-03-311-1/+1
|
* tests/sptests: Use <rtems/test.h>Sebastian Huber2014-03-252-3/+7
|
* tests: Use rtems_status_text()Sebastian Huber2014-03-251-29/+1
|
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-213-3/+3
|
* score: Change debug helper functionsSebastian Huber2014-02-121-2/+2
| | | | | | | | 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().
* PR766: Delete __RTEMS_VIOLATE_KERNEL_VISIBILITY__Sebastian Huber2013-08-081-1/+0
|
* score: Add and use rtems_assert_contextSebastian Huber2013-02-121-1/+12
|
* testsuites: Fix prototypesSebastian Huber2013-01-272-7/+6
|
* testsuites: Use rtems_fatal_source_description()Sebastian Huber2013-01-272-15/+3
|
* score: Add RTEMS_FATAL_SOURCE_EXITSebastian Huber2012-11-151-3/+0
| | | | | | | 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().
* sapi: Add and use rtems_internal_error_descriptionSebastian Huber2012-11-151-31/+1
|
* score: Work area initialization API changeSebastian Huber2012-10-251-2/+7
| | | | | | | | | | | | 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.
* sptests - Eliminate missing prototype warningsJoel Sherrill2012-05-311-1/+8
|
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-113-6/+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.
* 2011-09-05 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-09-051-1/+12
| | | | | | | | | * 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-22 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-08-221-1/+1
| | | | | | | | | | | | | | | | | | | * 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-18 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-08-181-1/+2
| | | | | * spfatal_support/init.c: Ensure that _Thread_BSP_context is initialized.
* 2011-07-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-07-241-3/+7
| | | | | | | | | | | | | * 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.
* Add HAVE_CONFIG_H.Ralf Corsepius2011-02-222-0/+8
|
* 2010-07-07 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-07-071-15/+2
| | | | | | PR 1606/cpukit * spfatal_support/init.c: Remove INTERNAL_ERROR_INVALID_WORKSPACE_ADDRESS since it is not generated.
* 2010-07-08 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-07-071-1/+9
| | | | | | | | | | | | | | | | | | | | | * 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-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-06-223-1/+64
| | | | | | | | | | | * 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-19 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-06-191-2/+1
| | | | | * sp09/screen01.c, sp09/sp09.scn, sp43/init.c, sp43/sp43.scn, spfatal_support/init.c: Remove references to ITRON constants.
* Whitespace removal.Ralf Corsepius2009-11-301-1/+1
|
* 2009-09-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-09-262-3/+3
| | | | | | * 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-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-09-041-0/+1
| | | | | | | | | | | | | | | | | | | | * 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-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-05-101-2/+13
| | | | | | | | | | | | | * 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.
* Convert to "bool".Ralf Corsepius2008-09-062-2/+2
|
* 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-02-011-1/+1
| | | | | | | | | | | | | * 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-28 Jennifer Averett <jennifer.averett@OARcorp.com>Jennifer Averett2008-01-282-0/+226
* 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.