Sebastian Huber
5d1d3485cb
libtests/stackchk: Include missing header file
...
Update #3875 .
2020-02-25 07:15:17 +01:00
Sebastian Huber
fe48400d5b
libtests/stackchk: Fix for 64-bit targets
2019-01-09 10:05:03 +01:00
Sebastian Huber
eaa5ea84ea
score: Introduce <rtems/score/heapinfo.h>
...
Move Heap_Information_block to separate header file to hide heap
implementation details from <rtems.h>.
Update #3598 .
2018-11-26 07:51:57 +01:00
Sebastian Huber
51b3cbca11
tests: Use rtems_task_exit()
...
Update #3533 .
2018-10-05 13:41:07 +02:00
Chris Johns
5c65b9881b
testsuite/libtests: Merged nested Makefile.am files into one Makefile.am
...
This change is part of the testsuite Makefile.am reorganization.
Update #3382
2018-04-10 08:24:54 +10:00
Sebastian Huber
c4b8b147dd
tests: Use simple console driver
...
Update #3170 .
Update #3199 .
2017-11-06 07:26:42 +01:00
Sebastian Huber
af4355459e
tests: Remove TEST_INIT
...
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-28 13:33:56 +02:00
Sebastian Huber
acc9d06468
tests: Remove obsolete TESTS_USE_PRINTK
...
Update #3170 .
Update #3199 .
2017-10-28 13:33:55 +02:00
Chris Johns
98c6d50145
testsuite: Use printk for all test output where possible.
...
- 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-10-23 16:25:45 +11:00
Sebastian Huber
6a9282d9bb
Rename is_internal to always_set_to_false
...
Update #2825 .
2016-12-12 08:03:14 +01:00
Chris Johns
24d0ee57a4
cpukit, testsuite: Add rtems_printf and rtems_printer support.
...
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-05-25 15:47:34 +10:00
Sebastian Huber
5f31bbe105
libmisc: Simplify <rtems/stackchk.h>
...
Drop the <rtems/score/percpu.h> include since this file exposes a lot of
implementation details.
2015-06-26 09:16:29 +02:00
Chris Johns
c49985691f
Change all references of rtems.com to rtems.org.
2014-03-21 08:10:47 +11:00
Sebastian Huber
f8b2eb03f7
tests/libtests: Use <rtems/test.h>
2014-03-20 09:10:26 +01:00
Cynthia Rempel
46123cf24f
libtests: Add contents to rbheap and stackchk documentation files
2014-01-09 09:42:01 -06:00
Sebastian Huber
d7ce33f17e
testsuites: Use _Thread_Get_executing()
2013-07-22 16:46:00 +02:00
Sebastian Huber
33bd2efbb2
testsuites: Fix prototypes
2013-01-27 13:50:23 +01:00
Sebastian Huber
a12f7e98f1
score: Add RTEMS_FATAL_SOURCE_STACK_CHECKER
2012-11-15 15:33:13 +01:00
Joel Sherrill
4c86e3d8be
libtmtests - Eliminate missing prototype warnings
2012-05-11 12:20:47 -05:00
Joel Sherrill
9b4422a251
Remove All CVS Id Strings Possible Using a Script
...
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-11 08:44:13 -05:00
Joel Sherrill
33a105fb69
Revert: Remove CVS Ids
...
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.
2012-05-07 11:08:48 -05:00
Ralf Corsépius
820d82ed8a
Remove CVS-Ids.
2012-05-04 09:36:24 +02:00
Joel Sherrill
61250b4ce9
Remove all .cvsignore files.
2012-02-01 10:59:44 -06:00
Joel Sherrill
6f9ce8f4c6
2011-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
...
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-12-08 21:38:12 +00:00
Sebastian Huber
63f871fa93
2011-09-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* stackchk/init.c, stackchk/system.h, stackchk/stackchk.scn: Print end
of test message.
2011-09-02 13:41:55 +00:00
Ralf Corsepius
7d3f9c646a
Add HAVE_CONFIG_H.
2011-02-22 07:37:03 +00:00
Joel Sherrill
ef08dc1f8a
2010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
* 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 23:26:08 +00:00
Joel Sherrill
ab59de4542
2010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
* 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-06-23 23:24:11 +00:00
Joel Sherrill
ba6f945a7e
2010-06-22 Joel Sherrill <joel.sherrilL@OARcorp.com>
...
* stackchk/blow.c, stackchk/stackchk.scn: Print a stack check report
before blowing stack.
2010-06-22 19:59:35 +00:00
Ralf Corsepius
cbc5c46032
Add missing prototypes.
2009-10-26 05:44:07 +00:00
Joel Sherrill
809fb589fc
2009-09-09 Christian Mauderer <christian.mauderer@embedded-brains.de>
...
* heapwalk/init.c, heapwalk/heapwalk.scn, malloctest/init.c,
malloctest/malloctest.scn: New test cases.
* stackchk/blow.c, stackchk/stackchk.scn: Update for heap API changes.
2009-09-09 14:59:09 +00:00
Joel Sherrill
f6a41d2ea1
2009-09-03 Christian Mauderer <christian.mauderer@embedded-brains.de>
...
* malloctest/init.c: New test cases. Update for heap API changes.
* stackchk/blow.c: Update for heap API changes.
2009-09-06 15:24:56 +00:00
Joel Sherrill
8de136b6c5
2009-08-19 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
...
* heapwalk/init.c, stackchk/blow.c: Update for heap API changes.
2009-08-26 12:01:21 +00:00
Joel Sherrill
de7adafc8c
2009-08-12 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* malloctest/task1.c, stackchk/task1.c: Eliminate test routines
TICKS_PER_SECOND and get_ticks_per_second() in favor of new
rtems_clock_get_ticks_per_second().
2009-08-12 20:50:26 +00:00
Joel Sherrill
cd49fdcdcb
2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* cpuuse/task1.c, cpuuse/tswitch.c, malloctest/task1.c,
stackchk/task1.c: Convert calls to legacy routine rtems_clock_get(
RTEMS_CLOCK_GET_TOD, ..) to rtems_clock_get_tod(..).
2009-08-10 14:50:24 +00:00
Ralf Corsepius
3d5483771c
Eliminate _exe_/.exe.
2009-04-03 12:55:13 +00:00
Joel Sherrill
094e5204d0
2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* stackchk/stackchk.scn: Correct screen to match output.
2009-02-11 21:53:38 +00:00
Joel Sherrill
156dc1d36c
2008-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* stackchk/system.h: Rename STACK_CHECKER_ON to more appropriate
CONFIGURE_STACK_CHECKER_ENABLED.
2008-09-17 19:31:13 +00:00
Joel Sherrill
5a8e7503a0
2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* cpuuse/init.c, malloctest/init.c, monitor/init.c, monitor02/init.c,
putenvtest/init.c, rtems++/Init.cc, rtmonuse/init.c, stackchk/init.c:
Change TEST_INIT to CONFIGURE_INIT. Make tmacros.h available to all
POSIX tests. Add a clock_settime case for < 1988.
2008-02-01 00:45:04 +00:00
Joel Sherrill
9de4e5be47
2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* cpuuse/Makefile.am, malloctest/Makefile.am, putenvtest/Makefile.am,
rtmonuse/Makefile.am, stackchk/Makefile.am, termios/Makefile.am: Add
optional managers to Makefiles. Clean up test cases so last output
line follows END OF pattern. Make sure test case all run. All tests
appeared ok on sis.
2007-05-11 19:46:02 +00:00
Ralf Corsepius
d4f5ddcb85
Eliminate scndir, docdir. Use rtems_testsdir instead.
2006-07-11 04:54:10 +00:00
Ralf Corsepius
a6b588d649
Convert to using *_PROGRAMS.
2005-11-13 06:46:05 +00:00
Ralf Corsepius
3bb5d94490
Rework.
2005-11-11 14:33:33 +00:00
Ralf Corsepius
4024e57803
Cosmetics.
2005-11-11 10:26:50 +00:00
Ralf Corsepius
7e3887773a
Eliminate TEST.
2005-11-11 09:03:24 +00:00
Ralf Corsepius
ca845309d2
Expand libtests.am.
2005-11-11 07:39:49 +00:00
Ralf Corsepius
cb2818800d
Eliminate DOCTYPES.
2005-11-10 22:21:20 +00:00
Ralf Corsepius
d65005e414
AM_CPPFLAGS += -I..../support/include.
2005-11-09 12:44:35 +00:00
Ralf Corsepius
39767d0c6b
Remove SRC, PRINT_SRC.
2005-11-07 09:43:59 +00:00
Ralf Corsepius
d66557fac4
Switch back to include compile.am instead of amcompile.am
2005-11-07 09:09:26 +00:00