Commit Graph

57 Commits

Author SHA1 Message Date
Sebastian Huber
51b3cbca11 tests: Use rtems_task_exit()
Update #3533.
2018-10-05 13:41:07 +02:00
Chris Johns
d027e6bb8e testsuite/samples: 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
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
Joel Sherrill
eb7f306dc8 samples/base_sp: Fix printf() warning 2014-10-09 10:11:57 -05:00
Chris Johns
c49985691f Change all references of rtems.com to rtems.org. 2014-03-21 08:10:47 +11:00
Sebastian Huber
9391f6d663 tests/samples: Use <rtems/test.h> 2014-03-17 09:17:36 +01:00
Joel Sherrill
5f0cd3499c samples - Eliminate missing prototype warnings 2012-05-31 10:06:16 -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
4dec3529a1 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
cd06294a08 2011-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1589/build
	* base_mp/node1/Makefile.am, base_mp/node2/Makefile.am,
	base_sp/Makefile.am, capture/Makefile.am, cdtest/Makefile.am,
	fileio/Makefile.am, hello/Makefile.am, iostream/Makefile.am,
	loopback/Makefile.am, minimum/Makefile.am, nsecs/Makefile.am,
	paranoia/Makefile.am, pppd/Makefile.am, ticker/Makefile.am,
	unlimited/Makefile.am: Remove obsolete optional manager capability.
2011-12-08 21:38:29 +00:00
Joel Sherrill
7c1e69429a 2011-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* base_sp/apptask.c, base_sp/init.c, fileio/init.c, fileio/system.h,
	nsecs/init.c, ticker/init.c, ticker/system.h, ticker/tasks.c: Remove
	warnings.
2011-05-05 16:45:40 +00:00
Ralf Corsepius
e3135514a8 Add HAVE_CONFIG_H. 2011-02-22 10:58:44 +00:00
Ralf Corsepius
073dff354d Use PRIdrtems_task_argument to print rtems_task_argument's. 2009-10-27 06:59:20 +00:00
Ralf Corsepius
732276e95d Include "tmacros.h". Use PRIxrtems_id to print rtems_ids. 2009-10-26 11:34:27 +00:00
Ralf Corsepius
fa06ce12ec Add -I$(top_srcdir)/../support/include. 2009-10-26 11:32:35 +00:00
Ralf Corsepius
3d5483771c Eliminate _exe_/.exe. 2009-04-03 12:55:13 +00:00
Joel Sherrill
dd61160701 2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* base_sp/Makefile.am, hello/Makefile.am, iostream/Makefile.am,
	loopback/Makefile.am, nsecs/Makefile.am,
	pppd/Makefile.am, ticker/Makefile.am, ticker/system.h,
	unlimited/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.
	* nsecs/init.c: Commit hack so test will compile when POSIX is
	disabled.  Remove hack when clock_gettime() is present even when
	--disable-posix.
2007-05-11 19:45:50 +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
b669ec7ba5 Expand sample.am. 2005-11-11 07:36:47 +00:00
Ralf Corsepius
cb2818800d Eliminate DOCTYPES. 2005-11-10 22:21:20 +00:00
Ralf Corsepius
0ca5cba879 s/SAMPLE/TEST/ for improved consistency with other tests. 2005-11-10 14:52:28 +00:00
Ralf Corsepius
c4b6f76677 Remove SRCS, PRINT_SRCS. 2005-11-07 09:27:48 +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
b98d0013c1 Partial conversion to automake. 2005-11-07 07:30:36 +00:00
Ralf Corsepius
c8fea7a402 * base_mp/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
* base_sp/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* cdtest/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* fileio/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* hello/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* loopback/init.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* minimum/init.c: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* paranoia/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* pppd/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* ticker/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
	* unlimited/system.h: Include <rtems/confdefs.h> instead of <confdefs.h>.
2004-04-01 15:16:23 +00:00
Ralf Corsepius
a00ee402bf 2004-01-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* base_mp/node1/Makefile.am: Re-add dirstamps to PRE/TMPINSTALL_FILES.
	Add PRE/TMPINSTALL_FILES to CLEANFILES.
	* base_mp/node2/Makefile.am: Ditto.
	* base_sp/Makefile.am: Ditto.
	* cdtest/Makefile.am: Ditto.
	* fileio/Makefile.am: Ditto.
	* hello/Makefile.am: Ditto.
	* loopback/Makefile.am: Ditto.
	* minimum/Makefile.am: Ditto.
	* paranoia/Makefile.am: Ditto.
	* pppd/Makefile.am: Ditto.
	* ticker/Makefile.am: Ditto.
	* unlimited/Makefile.am: Ditto.
2004-01-14 07:49:37 +00:00
Ralf Corsepius
9fa380ef52 2003-12-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* base_mp/Makefile.am: Reformat.
	* base_mp/node1/Makefile.am: Remove all-local: $(ARCH).
	* base_mp/node2/Makefile.am: Remove all-local: $(ARCH).
	* base_sp/Makefile.am: Remove all-local: $(ARCH).
	* cdtest/Makefile.am: Remove all-local: $(ARCH).
	* fileio/Makefile.am: Remove all-local: $(ARCH).
	* hello/Makefile.am: Remove all-local: $(ARCH).
	* loopback/Makefile.am: Remove all-local: $(ARCH).
	* minimum/Makefile.am: Remove all-local: $(ARCH).
	* paranoia/Makefile.am: Remove all-local: $(ARCH).
	* pppd/Makefile.am: Remove all-local: $(ARCH).
	* ticker/Makefile.am: Remove all-local: $(ARCH).
	* unlimited/Makefile.am: Remove all-local: $(ARCH).
2003-12-01 21:21:38 +00:00
Joel Sherrill
3e26377bba 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* README, base_mp/apptask.c, base_mp/init.c, base_mp/system.h,
	base_mp/node1/base_mp.doc, base_mp/node2/base_mp.doc,
	base_sp/apptask.c, base_sp/base_sp.doc, base_sp/init.c,
	base_sp/system.h, cdtest/init.c, cdtest/main.cc, cdtest/system.h,
	fileio/fileio.doc, fileio/init.c, fileio/system.h, hello/hello.doc,
	hello/init.c, hello/system.h, minimum/init.c, minimum/minimum.doc,
	paranoia/init.c, paranoia/paranoia.doc, paranoia/system.h,
	ticker/init.c, ticker/system.h, ticker/tasks.c, ticker/ticker.doc,
	unlimited/init.c, unlimited/system.h, unlimited/test1.c,
	unlimited/test2.c, unlimited/test3.c, unlimited/unlimited.doc: URL
	for license changed.
2003-09-04 18:53:41 +00:00
Ralf Corsepius
ebb7d37156 2003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Makefile.am: Reflect having moved automake.
	base_mp/Makefile.am: Reflect having moved automake.
	base_mp/node1/Makefile.am: Reflect having moved automake.
	base_mp/node2/Makefile.am: Reflect having moved automake.
	base_sp/Makefile.am: Reflect having moved automake.
	cdtest/Makefile.am: Reflect having moved automake.
	fileio/Makefile.am: Reflect having moved automake.
	hello/Makefile.am: Reflect having moved automake.
	loopback/Makefile.am: Reflect having moved automake.
	minimum/Makefile.am: Reflect having moved automake.
	paranoia/Makefile.am: Reflect having moved automake.
	pppd/Makefile.am: Reflect having moved automake.
	ticker/Makefile.am: Reflect having moved automake.
	unlimited/Makefile.am: Reflect having moved automake.
2003-08-16 16:27:32 +00:00
Ralf Corsepius
fef95c563b 2002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* base_mp/node1/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* base_mp/node2/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* base_sp/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* cdtest/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* hello/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* minimum/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* paranoia/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* ticker/Makefile.am: Use .$(OBJEXT) instead of .o.
 	* unlimited/Makefile.am: Use .$(OBJEXT) instead of .o.
2002-08-11 05:18:59 +00:00
Joel Sherrill
d25d17b282 2002-04-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* base_sp/apptask.c: Include <stdlib.h>.
	* hello/init.c: Ditto.
	* paranoia/init.c: Ditto.
	* ticker/tasks.c: Ditto.
	* unlimited/init.c: Ditto.
	* unlimited/test1.c: Ditto.
	* unlimited/test2.c: Ditto.
	* unlimited/test3.c: Ditto.
2002-04-17 14:01:40 +00:00
Joel Sherrill
0e9a637c2b 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]).
	* base_mp/node1/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* base_mp/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* base_mp/node2/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* base_sp/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* cdtest/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* hello/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* minimum/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* paranoia/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* ticker/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* unlimited/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:44:22 +00:00
Joel Sherrill
15c4b4c561 2001-09-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* unlimited/Makefile.am: include leaf.am instead of leaf.cfg.
	* base_mp/node2/Makefile.am: include leaf.am instead of leaf.cfg.
	* base_mp/node1/Makefile.am: include leaf.am instead of leaf.cfg.
	* hello/Makefile.am: include leaf.am instead of leaf.cfg.
	* base_sp/Makefile.am: include leaf.am instead of leaf.cfg.
	* paranoia/Makefile.am: include leaf.am instead of leaf.cfg.
	* cdtest/Makefile.am: include leaf.am instead of leaf.cfg, use
	make-cxx-exe.
	* ticker/Makefile.am: include leaf.am instead of leaf.cfg.
	* minimum/Makefile.am: include leaf.am instead of leaf.cfg.
2001-09-19 17:21:22 +00:00
Joel Sherrill
6212465d03 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* base_mp/node1/Makefile.am, base_mp/node2/Makefile.am,
	base_sp/Makefile.am, cdtest/Makefile.am, hello/Makefile.am,
	minimum/Makefile.am, paranoia/Makefile.am, ticker/Makefile.am,
	unlimited/Makefile.am: Include compile.am
2000-09-05 16:11:24 +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
Joel Sherrill
de759c54f5 Patch rtems-rc-19991117-8.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to fix some minor bugs in the conversion to automake.
1999-11-22 19:23:10 +00:00
Joel Sherrill
e31c63e5a8 Patch rtems-rc-19991117-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the sample tests to automake.
1999-11-22 19:21:38 +00:00
Joel Sherrill
08311cc3a9 Updated copyright notice. 1999-11-17 17:51:34 +00:00
Joel Sherrill
60b791ada1 updated copyright to 1998 1998-02-17 23:46:28 +00:00
Joel Sherrill
98e4ebf594 Fixed typo in the pointer to the license terms. 1997-10-08 15:45:54 +00:00