Commit Graph

529 Commits

Author SHA1 Message Date
Joel Sherrill
4b4cbdd68f 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* termios03/init.c, termios03/termios03.doc, termios03/termios03.scn,
	termios03/termios_testdriver_polled.c,
	termios03/termios_testdriver_polled.h: Add more test cases.
2010-06-28 13:42:25 +00:00
Joel Sherrill
1b9c0c5aee 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloc02/Makefile.am, malloc03/Makefile.am: Tests do not need spin.c
2010-06-28 13:23:27 +00:00
Joel Sherrill
69cab20e40 2010-06-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* termios03/.cvsignore, termios03/Makefile.am, termios03/init.c,
	termios03/termios03.doc, termios03/termios03.scn,
	termios03/termios_testdriver_polled.c,
	termios03/termios_testdriver_polled.h: New files.
	* Makefile.am, configure.ac: Add initial version of new test for polled
	IO support in termios.
2010-06-25 16:52:26 +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
24a5a1452f 2010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
* termios01/termios01.scn: Fix bug so existing test code for
	rtems_termios_baud_to_index() is executed.
2010-06-23 23:25:45 +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
ba6f945a7e 2010-06-22 Joel Sherrill <joel.sherrilL@OARcorp.com>
* stackchk/blow.c, stackchk/stackchk.scn: Print a stack check report
	before blowing stack.
2010-06-22 19:59:35 +00:00
Jennifer Averett
71a30785f2 2010-06-22 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* Makefile.am, configure.ac: Added test that attempts to free stack
	memory. This causes a error to be printed from the free function.
	* malloc03/.cvsignore, malloc03/Makefile.am, malloc03/init.c,
	malloc03/malloc03.doc, malloc03/malloc03.scn: New files.
2010-06-22 19:27:12 +00:00
Jennifer Averett
91e446f3ab 2010-06-22 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* malloctest/init.c: Added error case with malloc of size 0.
2010-06-22 18:20:47 +00:00
Jennifer Averett
81110848dc 2010-06-22 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* malloctest/init.c: Added test to check failure branch on calloc.
2010-06-22 18:09:04 +00:00
Joel Sherrill
94f4f116e6 2010-06-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloc02/init.c, malloc02/malloc02.doc: Enable malloc dirty helper.
2010-06-21 21:09:36 +00:00
Joel Sherrill
e247b1af43 2010-06-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add test for deferring free() from ISR and
	for deferred free() processing.
	* malloc02/.cvsignore, malloc02/Makefile.am, malloc02/init.c,
	malloc02/malloc02.doc, malloc02/malloc02.scn: New files.
2010-06-21 20:05:46 +00:00
Joel Sherrill
9f5f6f533c 2010-06-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* termios01/init.c, termios01/termios01.scn, termios02/init.c,
	termios02/termios02.scn: Add tests for cfigetspeed(), cfogetspeed(),
	cfisetspeed(), cfosetspeed(), ctermid(), tcflow(), tcflush(),
	tcsendbreak(), tcsetpgrp(), and tcgetpgrp(). Some of these methods
	are minimal implementations so the tests will have to grow as the
	methods grow.
2010-06-07 18:33:09 +00:00
Sebastian Huber
b0e81c9689 2010-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* heapwalk/init.c, malloctest/init.c: Update for heap extend changes.
2010-06-07 09:33:32 +00:00
Sebastian Huber
377c0cb0e3 2010-05-17 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1433/cpukit
	* block08/bdbuf_tests.c: Enabled tests 1.1, 1.2 and 1.3.
	* block08/bdbuf_test1_1.c, block08/bdbuf_test1_2.c,
	block08/bdbuf_test1_3.c: Use RTEMS_IO_ERROR instead of
	RTEMS_NO_MEMORY.
2010-05-17 08:34:55 +00:00
Sebastian Huber
c1b2bac5d4 2010-05-03 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* block01/init.c, block02/init.c, block03/init.c, block04/init.c,
	block05/init.c, block06/init.c, block07/init.c, block09/init.c,
	block10/init.c: Changed CONFIGURE_MAXIMUM_SEMAPHORES defines.
2010-05-03 09:14:27 +00:00
Ralf Corsepius
1e1b6b545c 2010-05-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Move POSIX in front of other tests.
2010-05-01 04:20:27 +00:00
Joel Sherrill
fb2789688a 2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
* bspcmdline01/init.c: Fix assert conditional.
2010-04-25 19:12:22 +00:00
Ralf Corsepius
a290e72a5d 2010-04-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* POSIX/flockfile.c, POSIX/funlockfile.c, POSIX/ftrylockfile.c: New.
	* POSIX/Makefile.am: Add flockfile, funlockfile, ftrylockfile.
2010-04-11 16:44:52 +00:00
Ralf Corsepius
5d8a42a518 Add flockfile, funlockfile, ftrylockfile. 2010-04-11 16:44:35 +00:00
Ralf Corsepius
87fbcc5ea2 New. 2010-04-11 16:44:20 +00:00
Joel Sherrill
bb30ffd3bf 2010-02-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* block10/.cvsignore: New file.
2010-02-26 14:57:33 +00:00
Thomas Doerfler
e7fb54eb05 add purge capability to libblock, add proper test case 2010-01-26 15:09:03 +00:00
Joel Sherrill
dd6a748a49 2010-01-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* block08/.cvsignore, block09/.cvsignore: New files.
2010-01-20 17:15:51 +00:00
Joel Sherrill
4783238f5a 2010-01-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* block08/init.c: Remove warning.
2010-01-20 17:15:14 +00:00
Joel Sherrill
c313b68128 2010-01-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* block08/block08.scn, block08/init.c: Add starting and ending messages
	so the scripts detect successful exit.
2010-01-20 17:12:38 +00:00
Thomas Doerfler
64734fc14b updates and new test cases 2010-01-19 08:55:18 +00:00
Joel Sherrill
aea66e878a 2009-12-28 Aanjhan Ranganathan <aanjhan@gmail.com>
* bspcmdline01/init.c, bspcmdline01/bspcmdline01.scn: Added test case
	to cover the bsp_cmdline_get_param() routine.
2009-12-28 16:42:08 +00:00
Joel Sherrill
9325362b21 2009-12-21 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* block06/init.c: Update for disk device API change.  Changed EBADRQC
	to EINVAL.
2009-12-21 14:49:55 +00:00
Joel Sherrill
e8e3848188 2009-12-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* termios01/init.c: Increase number of termios ports by 1.
2009-12-11 02:12:57 +00:00
Ralf Corsepius
0b7c296c46 2009-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* termios01/termios_testdriver.c:
	Reflect changes to rtems_termios_callbacks->write.
2009-12-10 14:26:39 +00:00
Ralf Corsepius
ea9a626e3a Reflect changes to rtems_termios_callbacks->write. 2009-12-10 14:26:32 +00:00
Joel Sherrill
500fcd5c88 2009-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* block01/init.c, block02/init.c, block03/init.c, block04/init.c,
	block05/init.c, block07/init.c, bspcmdline01/init.c,
	stringto01/init.c, stringto01/stringto_test_template.h,
	termios01/init.c, termios01/termios_testdriver.c, termios02/init.c:
	Use rtems_test_assert() consistently instead of system assert().
	rtems_test_assert() is designed to integrate into the RTEMS test
	suite infrastructure.
2009-12-08 17:52:49 +00:00
Ralf Corsepius
e56cac325f 2009-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* POSIX/Makefile.am: Add readv, writev.
	* POSIX/writev.c, POSIX/readv.c: New.
2009-12-06 06:52:15 +00:00
Ralf Corsepius
4ec957a156 Add readv, writev. 2009-12-06 06:52:08 +00:00
Ralf Corsepius
c7183ce0d9 New. 2009-12-06 06:51:40 +00:00
Ralf Corsepius
3e70362587 2009-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* POSIX/sigfillset.c: Let main() return "status".
2009-12-04 15:18:47 +00:00
Ralf Corsepius
0c5ff13483 2009-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* POSIX/Makefile.am: Add sigaddset, sigdelset, sigemptyset,
	sigismember.
	* POSIX/sigaddset.c, POSIX/sigdelset.c, POSIX/sigemptyset.c,
	POSIX/sigismember.c: New.
2009-12-04 15:17:45 +00:00
Ralf Corsepius
4583cac88e New. 2009-12-04 15:17:31 +00:00
Ralf Corsepius
0cd3878008 2009-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* POSIX/Makefile.am: Add wait.
	* POSIX/wait.c: New.
2009-12-04 06:55:02 +00:00
Joel Sherrill
73008d3d60 2009-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* bspcmdline01/test.c: Removed.
2009-12-03 12:07:05 +00:00
Ralf Corsepius
c53ba11a40 2009-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Add POSIX.
	* configure.ac: Add POSIX/.
	* POSIX/calloc.c, POSIX/close.c, POSIX/COPYING, POSIX/dup2.c,
	POSIX/fcntl.c, POSIX/fork.c, POSIX/free.c, POSIX/fstat.c,
	POSIX/getdents.c, POSIX/getlogin.c, POSIX/getpwnam.c,
	POSIX/getpwuid.c, POSIX/getuid.c, POSIX/issetugid.c,
	POSIX/kill.c, POSIX/longjmp.c, POSIX/lseek.c, POSIX/lstat.c,
	POSIX/Makefile.am, POSIX/Makefile.in, POSIX/malloc.c,
	POSIX/nanosleep.c, POSIX/open.c, POSIX/pipe.c,
	POSIX/posix_memalign.c, POSIX/read.c, POSIX/README,
	POSIX/realloc.c, POSIX/setjmp.c, POSIX/sigfillset.c,
	POSIX/sigprocmask.c, POSIX/stat.c, POSIX/unlink.c, POSIX/vfork.c,
	POSIX/waitpid.c, POSIX/write.c: New.
2009-12-02 15:03:45 +00:00
Ralf Corsepius
60d47abfcf New. 2009-12-02 15:00:05 +00:00
Joel Sherrill
4a1c09df39 2009-12-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* stringto01/init.c: New file.
2009-12-02 12:14:24 +00:00
Joel Sherrill
57544fbb52 2009-12-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add string_to_xxx conversion test.
	* stringto01/.cvsignore, stringto01/Makefile.am,
	stringto01/stringto01.doc, stringto01/stringto01.scn,
	stringto01/stringto_test_template.h: New files.
2009-12-01 22:10:33 +00:00
Thomas Doerfler
f9925bcc24 added documentation
corrections in block tests
added Makefile.am
2009-11-30 12:41:10 +00:00
Ralf Corsepius
b1274bd94c Whitespace removal. 2009-11-30 03:33:25 +00:00
Joel Sherrill
5d01adfb24 2009-11-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* block02/.cvsignore, block03/.cvsignore, block04/.cvsignore,
	block05/.cvsignore, block06/.cvsignore, block07/.cvsignore: New files.
	* block02/Makefile.in, block03/Makefile.in, block04/Makefile.in,
	block05/Makefile.in, block06/Makefile.in, block07/Makefile.in: Removed.
2009-11-21 20:53:15 +00:00
Ralf Corsepius
be6a9a2dee 2009-11-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems++/Task3.cc: Use %zu instead of %i to print size_t's.
	Remove bogus cast.
2009-11-16 04:55:17 +00:00
Ralf Corsepius
7eab7adeb9 2009-11-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems++/Task1.cc: Use %zu instead of %i to print size_t's.
2009-11-16 04:51:36 +00:00