Commit Graph
71 Commits
Author SHA1 Message Date
Joel Sherrill 731607b3b3 samples/*/*.doc: Change license to BSD-2
Updates #3053.
2022-06-14 10:31:39 -05:00
Joel Sherrill e71f09094f testsuites/samples: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:39 -05:00
Sebastian Huber 9de8d61a9a libtest: <rtems/test.h> to <rtems/test-info.h>
Rename this header file to later move <t.h> to <rtems/test.h>.  The main
feature provided by <rtems/test-info.h> is the output of standard test
information which is consumed by the RTEMS Tester.

Update #3199.
2020-07-23 09:27:10 +02:00
Sebastian Huber 6d6719a533 samples/paranoia: Remove <bsp.h> include
This include is superfluous.
2019-11-12 09:36:20 +01:00
Sebastian Huber c89a5dc821 samples: Avoid build system defined defines
Update #3818.
2019-11-12 09:36:20 +01: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 7b00c2fac5 tests: Use <tmacros.h> in all tests
Update #3170.
Update #3199.
2017-11-06 09:06:20 +01: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 46ddc3c5da tests: Use rtems_print_printer_fprintf_putc()
Use rtems_print_printer_fprintf_putc() instead of
rtems_print_printer_printf() to output via rtems_putc().

Update #3170.
Update #3199.
2017-10-28 13:33:55 +02:00
Sebastian Huber f703e7f5c7 tests: Move rtems_test_printer definition
Statically initialize it to 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
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
Joel Sherrill 3324383ce0 testsuites: Remove BSP_SMALL_MEMORY 2014-05-06 18:31:00 -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 a136fb697d testsuites: Add missing .scn files 2013-11-15 11:55:44 -06:00
Joel Sherrill 721fe34aae Fix C files which had two semi-colons at EOL 2012-05-31 15:34:36 -05: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
Thomas Doerfler cdf44d93da exclude big samples for SMALL MEMORY BSPs 2010-03-29 11:30:49 +00:00
Ralf Corsepius 3d5483771c Eliminate _exe_/.exe. 2009-04-03 12:55:13 +00:00
Ralf Corsepius e1871b9205 2008-11-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* paranoia/paranoia.c: Add missing prototypes.
2008-11-24 16:39:04 +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 0b3653821a 2001-10-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* paranoia/Makefile.am: Use LD_LIBS = -lm to make automake-1.5 happy.
2001-10-17 13:12:33 +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 df3b242411 2000-10-30 Joel Sherrill <joel@OARcorp.com>
* POSIX include files merged into newlib.  This resulted in
	some definitions moving to other files and thus some secondary
	effects in RTEMS source code.
	* paranoia/paranoia.c: Commented out incorrect and conflicting
	prototype of read().
2000-10-31 16:40:03 +00:00