Commit Graph

78 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
Ryan Long
187ab79064 samples: Manually adding file headers and licenses
These files had no file header, copyright, or license. Based on git
history, added appropriate copyrights and licenses.
2022-04-27 15:19:24 -05:00
Joel Sherrill
e71f09094f testsuites/samples: Change license to BSD-2
Updates #3053.
2022-04-12 13:35:39 -05:00
Sebastian Huber
9b6362da71 rtems: Use RTEMS_WHO_AM_I for rtems_task_ident() 2021-11-18 19:59:14 +01: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
a00dff42cf rtems: Add and use rtems_object_get_local_node()
Update #3841.
2019-12-13 08:22:58 +01:00
Sebastian Huber
c89a5dc821 samples: Avoid build system defined defines
Update #3818.
2019-11-12 09:36:20 +01:00
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
07ac1735c8 samples/base_mp/apptask.c: Fix warning and clean up 2016-06-16 09:03:23 -05:00
Sebastian Huber
a8ac273c85 samples/base_mp: Check directive status 2016-03-29 07:26:43 +02:00
Sebastian Huber
0cd2b777eb samples/base_mp: Include missing header file 2014-03-27 14:52:36 +01: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
Joel Sherrill
333a312d9b samples/base_mp - Makefile.am did not set LINK_OBJS
LINK_OBJS =

instead of

LINK_OBJS = $(mp01_node1_OBJECTS)
2012-05-04 15:14:34 -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
Ralf Corsepius
4495757c08 Add -I$(top_srcdir)/../support/include. 2009-10-30 13:35:47 +00:00
Ralf Corsepius
f6e5e3bbb6 Use PRIxrtems_id to print rtems_ids.
Include "tmacros.h".
2009-10-30 13:35:30 +00:00
Ralf Corsepius
3d5483771c Eliminate _exe_/.exe. 2009-04-03 12:55:13 +00:00
Joel Sherrill
7eb312d5c4 2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* base_mp/node1/Makefile.am, base_mp/node2/Makefile.am: Updating and
	fixing while running mptests on psim.
2008-09-05 14:41:49 +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
564dcf4213 Rework. 2005-11-11 14:41:53 +00:00
Ralf Corsepius
4024e57803 Cosmetics. 2005-11-11 10:26:50 +00:00
Ralf Corsepius
fcc85d2dee Hard-code node number. 2005-11-11 09:12:26 +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
2dfc1d8ad6 New. 2005-11-10 16:20:39 +00:00
Ralf Corsepius
a859dd2e8e Remove. 2005-11-10 16:20:10 +00:00
Ralf Corsepius
f596aa9f16 s/SAMPLE/TEST/ for improved consistency with other tests. 2005-11-10 16:05:05 +00:00
Ralf Corsepius
87f1eae3f4 s/SAMPLE/TEST/ for improved consistency with other tests. 2005-11-10 16:03:14 +00:00
Ralf Corsepius
8c79b487d1 Remove redundant EXTRA_DIST. 2005-11-10 09:49:00 +00:00
Ralf Corsepius
f9f05820c6 Cleanup 2005-11-07 10:36:38 +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
e7e20ab143 Cleanup. 2005-11-07 08:39:44 +00:00
Ralf Corsepius
b98d0013c1 Partial conversion to automake. 2005-11-07 07:30:36 +00:00
Ralf Corsepius
1838993fae 2005-01-06 Ralf Corsepius <ralf.corsepius@rtems.org>
* base_mp/node1/Makefile.am, base_mp/node2/Makefile.am:
	Remove LIB_VARIANT.
2005-01-06 10:56: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
8f71a36f71 Remove stray white spaces. 2004-04-20 07:09:31 +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