Commit Graph

60 Commits

Author SHA1 Message Date
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
Joel Sherrill
384f0225e8 2009-08-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/init.c: Adjust allocation in test so it passes now that
	heap overhead constant has been increased.
2009-08-09 17:31:48 +00:00
Joel Sherrill
66abaa1e20 2009-07-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c, malloctest/malloctest.scn: Add heap resize test
	for shrinking a block enough to need to free the newly unused
	portion.
2009-07-09 16:13:06 +00:00
Joel Sherrill
4b6c378fab 2009-07-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c, malloctest/malloctest.scn: Add error cases for
	_Protected_heap_Get_information().
2009-07-08 19:15:04 +00:00
Joel Sherrill
d0a263ac1e 2009-05-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/init.c: Fix warning.
2009-05-09 17:19:25 +00:00
Joel Sherrill
3b2edab9ab 2009-05-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/init.c: Fix typo.
2009-05-07 20:18:22 +00:00
Joel Sherrill
8814cf04cc 2009-05-07 Santosh G Vattam <vattam.santosh@gmail.com>
* malloctest/init.c: Add test case for heap resize block when the
	resize creates a free block large enough to free.
2009-05-07 17:08:28 +00:00
Ralf Corsepius
3d5483771c Eliminate _exe_/.exe. 2009-04-03 12:55:13 +00:00
Joel Sherrill
64f1df3259 2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/init.c: Change sizes of heap/region and allocated objects
	in heap to intptr_t so they can be larger than a single allocatable
	object (e.g. size_t).
2008-12-15 14:50:25 +00:00
Joel Sherrill
d7e739a96b 2008-10-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/init.c: Do not generate alignment factors larger that will
	not fit in a native integer.
2008-10-14 13:16:03 +00:00
Ralf Corsepius
f0157b8fd8 Convert to "bool". 2008-09-06 03:39:58 +00:00
Joel Sherrill
991efb611c 2008-02-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/init.c: Fix return status check.
2008-02-27 21:50:05 +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
dfaa1a7308 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c: Add more test cases to cover heap better.
2008-01-31 22:14:04 +00:00
Joel Sherrill
f2a7fa0281 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c: Add new test cases per Sergei. Make some of the
	stranger cases operate directly on a freshly initialized heap. This
	should make them more reproducible.
2008-01-31 16:06:21 +00:00
Joel Sherrill
b7bc1d1a62 2008-01-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c: Add more tests per suggestions from Sergei
	Organov.
2008-01-29 17:28:49 +00:00
Joel Sherrill
499eb57d99 2008-01-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/init.c: Add include to remove warning.
2008-01-25 03:08:48 +00:00
Joel Sherrill
b89f64cc41 2008-01-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c: Remove debug print.
2008-01-22 15:39:05 +00:00
Joel Sherrill
6bd316209b 2007-12-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c: Add test cases suggested by Sergei Organov
	<s.organov@javad.com>.
2007-12-20 20:58:11 +00:00
Joel Sherrill
e1a22c112c 2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c, malloctest/task1.c: Add test for posix_memalign.
2007-12-19 16:05:32 +00:00
Joel Sherrill
9202c24e3e 2007-12-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* malloctest/init.c: Add some primitive testing of realloc() which also
	does some positive path testing on the SuperCore heap.
2007-12-12 23:10:48 +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
Joel Sherrill
3ca0ca79dd 2007-03-05 Joel Sherrill <joel@OARcorp.com>
* malloctest/init.c: Be explicit about need for default and floating
	point attributes. This is just a style change.
2007-03-05 19:56:59 +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
Ralf Corsepius
0acb58f764 Partial conversion to automake. 2005-11-07 07:36:35 +00:00
Ralf Corsepius
1b2203001f * cpuuse/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* malloctest/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* monitor/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* putenvtest/init.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* rtems++/System.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* rtmonuse/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* stackchk/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* termios/init.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
2004-04-01 15:16:12 +00:00
Ralf Corsepius
08bfed20d0 2004-01-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* cpuuse/Makefile.am: Re-add dirstamps to PRE/TMPINSTALL_FILES.
	Add PRE/TMPINSTALL_FILES to CLEANFILES.
	* malloctest/Makefile.am: Ditto.
	* monitor/Makefile.am: Ditto.
	* putenvtest/Makefile.am: Ditto.
	* rtems++/Makefile.am: Ditto.
	* rtmonuse/Makefile.am: Ditto.
	* stackchk/Makefile.am: Ditto.
	* termios/Makefile.am: Ditto.
2004-01-14 07:49:06 +00:00
Joel Sherrill
4dbd85e858 2003-12-16 Joel Sherrill <joel@OARcorp.com>
PR 544/tests
	* malloctest/system.h, rtmonuse/system.h: Various modifications to make
	tests account for resources and not print at inappropriate times.
2003-12-16 23:35:20 +00:00
Ralf Corsepius
6895c06855 2003-12-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* cpuuse/Makefile.am: Remove all-local: $(ARCH).
	* malloctest/Makefile.am: Remove all-local: $(ARCH).
	* monitor/Makefile.am: Remove all-local: $(ARCH).
	* putenvtest/Makefile.am: Remove all-local: $(ARCH).
	* rtems++/Makefile.am: Remove all-local: $(ARCH).
	* rtmonuse/Makefile.am: Remove all-local: $(ARCH).
	* stackchk/Makefile.am: Remove all-local: $(ARCH).
	* termios/Makefile.am: Remove all-local: $(ARCH).
2003-12-01 21:25:08 +00:00
Joel Sherrill
2abdd87b91 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* cpuuse/init.c, cpuuse/system.h, cpuuse/task1.c, cpuuse/task2.c,
	cpuuse/task3.c, cpuuse/tswitch.c, malloctest/init.c,
	malloctest/system.h, malloctest/task1.c, monitor/init.c,
	monitor/system.h, putenvtest/init.c, rtems++/Init.cc,
	rtems++/System.h, rtems++/Task1.cc, rtems++/Task2.cc,
	rtems++/Task3.cc, rtems++/rtems++.doc, rtmonuse/getall.c,
	rtmonuse/init.c, rtmonuse/system.h, rtmonuse/task1.c,
	stackchk/blow.c, stackchk/init.c, stackchk/system.h,
	stackchk/task1.c: URL for license changed.
2003-09-04 18:53:27 +00:00
Ralf Corsepius
1053dcdce7 2003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Makefile.am: Reflect having moved automake.
	cpuuse/Makefile.am: Reflect having moved automake.
	malloctest/Makefile.am: Reflect having moved automake.
	monitor/Makefile.am: Reflect having moved automake.
	putenvtest/Makefile.am: Reflect having moved automake.
	rtems++/Makefile.am: Reflect having moved automake.
	rtmonuse/Makefile.am: Reflect having moved automake.
	stackchk/Makefile.am: Reflect having moved automake.
	termios/Makefile.am: Reflect having moved automake.
2003-08-16 16:26:59 +00:00
Joel Sherrill
5a5b0b5203 2002-12-02 Joel Sherrill <joel@OARcorp.com>
* malloctest/init.c: Tasks should be floating point.
2002-12-03 00:46:40 +00:00
Ralf Corsepius
9f33e26163 2002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* cpuuse/Makefile.am: Use $(OBJEXT) instead of .o.
	* malloctest/Makefile.am: Use $(OBJEXT) instead of .o.
	* monitor/Makefile.am: Use $(OBJEXT) instead of .o.
	* putenvtest/Makefile.am: Use $(OBJEXT) instead of .o.
	* rtems++/Makefile.am: Use $(OBJEXT) instead of .o.
	* rtmonuse/Makefile.am: Use $(OBJEXT) instead of .o.
	* stackchk/Makefile.am: Use $(OBJEXT) instead of .o.
	* termios/Makefile.am: Use $(OBJEXT) instead of .o.
2002-08-11 04:56:59 +00:00
Joel Sherrill
016a926def 2002-08-01 Joel Sherrill <joel@OARcorp.com>
* Per PR47 add support for buffered test output.  This involved
	adding defines to redirect output to a buffer and dump it when
	full, at "test pause", and at exit.  To avoid problems when redefining
	exit(), all tests were modified to call rtems_test_exit().
	Some tests, notable psxtests, had to be modified to include
	the standard test macro .h file (pmacros.h or tmacros.h) to
	enable this support.
	* cpuuse/task2.c, malloctest/task1.c, putenvtest/init.c,
	rtmonuse/task1.c, termios/init.c: Modified.
2002-08-02 00:55:27 +00:00
Joel Sherrill
8b695b93da 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
	AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
	AM_INIT_AUTOMAKE([no-define foreign 1.6]).
	* cpuuse/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* malloctest/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* monitor/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* putenvtest/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* rtems++/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* rtmonuse/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* stackchk/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* termios/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:44:08 +00:00
Joel Sherrill
682c7fd272 2001-09-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* malloctest/Makefile.am: include leaf.am instead of leaf.cfg.
	* monitor/Makefile.am: include leaf.am instead of leaf.cfg.
	* termios/Makefile.am: include leaf.am instead of leaf.cfg.
	* putenvtest/Makefile.am: include leaf.am instead of leaf.cfg.
	* rtems++/Makefile.am: include leaf.am instead of leaf.cfg, use
	make-cxx-exe.
	* stackchk/Makefile.am: include leaf.am instead of leaf.cfg.
	* rtmonuse/Makefile.am: include leaf.am instead of leaf.cfg.
	* cpuuse/Makefile.am: include leaf.am instead of leaf.cfg.
2001-09-19 17:20:39 +00:00
Joel Sherrill
ce28b28312 2000-11-01 Joel Sherrill <joel@OARcorp.com>
* malloctest/task1.c: assoc.h, error.h, libio_.h, libio.h, and
	libcsupport.h moved from libc to lib/include/rtems and now must
	be referenced as <rtems/XXX.h>.
2000-11-01 21:03:37 +00:00
Joel Sherrill
78f76ac50a 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* cpuuse/Makefile.am, malloctest/Makefile.am, monitor/Makefile.am,
	putenvtest/Makefile.am, rtems++/Makefile.am, rtmonuse/Makefile.am,
	stackchk/Makefile.am, termios/Makefile.am: Include compile.am
2000-09-05 16:06:10 +00:00
Joel Sherrill
df49c60c96 Merged from 4.5.0-beta3a 2000-06-12 15:00:15 +00:00
Joel Sherrill
fea048f2cd New file. 2000-05-24 16:51:23 +00:00