Commit Graph
61 Commits
Author SHA1 Message Date
Sebastian Huber 46b534388f libtests/cpuuse: Check status only
We may own the allocator mutex during context switches.
2016-11-23 12:52:05 +01: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
Joel Sherrill 721fe34aae Fix C files which had two semi-colons at EOL 2012-05-31 15:34:36 -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
Ralf Corsepius 7d3f9c646a Add HAVE_CONFIG_H. 2011-02-22 07:37:03 +00:00
Joel Sherrill e6e9cbe050 2011-02-02 Joel Sherrill <joel.sherrilL@OARcorp.com>
* cpuuse/tswitch.c: Shrink memory requirements.
2011-02-02 18:52:50 +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 bff419ffc2 2009-10-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpuuse/init.c, cpuuse/system.h: Use minimum stack size.
2009-10-12 13:31:01 +00:00
Joel Sherrill 0d1e5fd33a 2009-09-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpuuse/tswitch.c: Eliminate use of deprecated rtems_extension.
2009-09-26 15:46:34 +00:00
Joel Sherrill 1875546d63 2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpuuse/task1.c, termios/init.c: Convert calls to legacy routine
	rtems_clock_get( RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx().
2009-08-10 16:04:57 +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
Chris Johns 9c22907122 2009-05-19 Chris Johns <chrisj@rtems.org>
* cpuuse/tswitch.c: Lower sample count for small memory targets.
        * cpuuse/system.h: Smaller stack size for small memory targets.
        * monitor02/init.c: Cannot run on small memory targets.
2009-05-18 23:50:10 +00:00
Ralf Corsepius 3d5483771c Eliminate _exe_/.exe. 2009-04-03 12:55: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
Glenn Humphrey 43e3429260 2007-10-26 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* cpuuse/task2.c, rtmonuse/rtmonuse.scn, rtmonuse/task1.c: Add new
	cases for untested routines.
2007-10-26 21:31:48 +00:00
Joel Sherrill 6db3522085 2007-07-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpuuse/init.c: Do not delete the Init task. Leaving it suspended lets
	the CPU Usage Report include it. If it is deleted, the CPU time it
	had consumed is not listed later in the report.
2007-07-24 21:36:45 +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 3c6c9b0eb8 *** empty log message *** 2006-09-14 16:32:17 +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 8f71a36f71 Remove stray white spaces. 2004-04-20 07:09:31 +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 9919946a82 2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>
* cpuuse/system.h, cpuuse/task1.c, cpuuse/tswitch.c, monitor/init.c,
	monitor/system.h, rtems++/System.h, rtems++/Task1.cc,
	rtems++/Task2.cc, rtems++/Task3.cc, rtmonuse/init.c,
	rtmonuse/system.h, rtmonuse/task1.c, stackchk/blow.c: Convert to
	using c99 fixed size types.
2004-03-30 11:12:47 +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
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
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 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 bf85b19188 Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
adds .cvsignore.
2000-04-13 14:37:14 +00:00
Joel Sherrill 8fbdf07b62 Patch rtems-rc-20000118-2.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that contains cosmetical changes to the Makefile.ams below tests (removes
old, now invalid comments from these Makefile.ams).
2000-01-31 15:22:23 +00:00