Commit Graph

77 Commits

Author SHA1 Message Date
Sebastian Huber
c192109f72 samples: Fix warnings 2018-07-24 10:06:49 +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
0349a2b544 cdtest: Increase stack size 2018-01-22 15:24:13 +01:00
Chris Johns
bcd0c06c9b tests: Use rtems_test_begin and rtems_test_end.
Add a tests enum and move all test banner test to the library in libmisc.

Update #3199.
2017-11-11 16:14:59 +11: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
Sebastian Huber
07e178005a tests: Use floating point task
These tests directly or indirectly use fprintf(), etc. which may use the
floating point unit.

Update #3076.
2017-07-18 14:14:34 +02:00
Sebastian Huber
cb056d02c5 cdtest: Print begin of test only once 2017-03-03 09:04:12 +01:00
Sebastian Huber
05006c9017 cdtest: Print proper begin/end of test messages 2016-12-09 08:26:47 +01:00
Chris Johns
8c637ee324 cdtest: Add std::runtime_error() test case
Update #2830.
2016-12-09 08:26:47 +01:00
Sebastian Huber
ede1a4182d Make rtems/print.h independent of rtems/bspIo.h 2016-06-22 07:29:26 +02: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
Ralf Corsepius
e3135514a8 Add HAVE_CONFIG_H. 2011-02-22 10:58:44 +00:00
Joel Sherrill
99f0971146 2009-08-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* cdtest/main.cc, fileio/init.c, fileio/system.h, pppd/pppdapp.c,
	ticker/system.h, ticker/tasks.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:38 +00:00
Chris Johns
9e06eb1e96 2009-06-11 Roxana Leontie <roxana.leontie@gmail.com>
* cdtest/system.h: modified the number of max semaphores
          - test was failing before
2009-06-12 01:14:41 +00:00
Ralf Corsepius
3d5483771c Eliminate _exe_/.exe. 2009-04-03 12:55:13 +00:00
Joel Sherrill
6387939e5c 2009-03-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* cdtest/main.cc: Use printk() in global destructors since printf() no
	longer works.
2009-03-02 17:28:28 +00:00
Ralf Corsepius
d4f5ddcb85 Eliminate scndir, docdir. Use rtems_testsdir instead. 2006-07-11 04:54:10 +00:00
Joel Sherrill
8b474b1352 2006-02-08 Joel Sherrill <joel@OARcorp.com>
* cdtest/main.cc: Fix warnings.
2006-02-08 22:27:59 +00:00
Eric Norum
2cbc28f829 Remove erroneous make-exe. 2005-11-16 21:59:23 +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
e0ecc8c61a AM_CPPFLAGS += -I..../support/include. 2005-11-09 12:25:16 +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
51ca358ac7 2004-05-10 Ralf Corsepius <ralf_corsepius@rtems.org>
* configure.ac: Add CXX-checks. New conditionals CXXTESTS, MPTESTS,
	NETTESTS. Add iostream/.
	* Makefile.am, base_mp/node1/Makefile.am, base_mp/node2/Makefile.am
	cdtest/Makefile.am, loopback/Makefile.am, pppd/Makefile.am:
	Reflect changes above.
	* cdtest/main.cc: Adaptation to new C++ standards.
2004-05-10 16:02:11 +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
6ada2b1ea1 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.
	* cdtest/init.c: Modified.
2002-08-02 00:56:24 +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
36d1e174fb 2001-11-26 Ralf Corsepius
* cdtest/main.cc: Remove RTEMS_TEST_IO_STREAM.
2001-11-26 14:33:43 +00:00
Joel Sherrill
859c7d8869 2001-10-25 Eric Norum <eric.norum@usask.ca>
* cdtest/system.h: Configure 1 semaphore.  This probably covers
	up not defining one for the GCC C++ Run-Time Libraries.
2001-10-25 21:47:12 +00:00