Commit Graph

168 Commits

Author SHA1 Message Date
Joel Sherrill
d04a7e9316 2010-06-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
* support/src/tmtests_support.c: Fix warning.
2010-06-25 16:59:06 +00:00
Joel Sherrill
82fbd358ba 2010-06-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* support/include/test_support.h, support/src/tmtests_empty_function.c:
	Add helper so it is easier to write a basic repeated operation
	tmtest.
	* support/src/tmtests_support.c: New file.
2010-06-21 16:54:17 +00:00
Ralf Corsepius
bce989a942 2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove itron.
2010-06-17 16:02:31 +00:00
Ralf Corsepius
ba021d5c42 2010-06-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/version.m4: Bump RTEMS_API to 4.11.
	Bump _RTEMS_VERSION to 4.10.99.0.
2010-06-07 19:33:53 +00:00
Ralf Corsepius
45215d2075 2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/tmacros.h: Remove PRIdoff_t.
2010-05-29 05:29:33 +00:00
Joel Sherrill
6196ded1d5 2010-04-22 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* support/include/tmacros.h: Changed check_dispatch_disable_level() to
	treat all non-zero values of _Thread_Dispatch_disable_level equally.
2010-04-28 16:37:20 +00:00
Glenn Humphrey
6cc1c294d6 2009-12-08 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* support/include/test_support.h, support/include/tmacros.h,
	support/src/test_support.c: Added support functions to spin for a
	number of ticks and to spin until the next tick.
	* support/src/spin.c: New file.
2009-12-08 21:39:21 +00:00
Joel Sherrill
0654c588a8 2009-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* support/include/tmacros.h: 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:53:04 +00:00
Joel Sherrill
1369978b7f 2009-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* support/include/tmacros.h: Add service to check status returned by
	POSIX methods which return a pointer which is -1 on error. This
	eliminated some casts.
2009-11-09 14:49:35 +00:00
Ralf Corsepius
f62c4673b6 2009-01-03 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/tmacros.h: Include rtems/score/thread.h.
	Remove _Thread_Dispatch_disable_level.
2009-11-03 04:29:40 +00:00
Ralf Corsepius
91581144b5 2009-01-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/tmacros.h: Add PRIxino_t, PRIdoff_t,
	PRIxblksize_t, PRIxblkcnt_t.
	Comment cleanups.
2009-11-01 07:51:16 +00:00
Ralf Corsepius
f22a826009 2009-10-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/tmacros.h: Add PRIxrtems_task_priority,
	PRIxrtems_task_priority, PRIxrtems_signal_set.
2009-10-30 13:20:42 +00:00
Ralf Corsepius
b3acedb565 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/tmacros.h: Add PRIxpthread_t.
2009-10-27 14:13:13 +00:00
Ralf Corsepius
d0f47c22fb 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/tmacros.h: Add PRIxrtems_event_set.
	(fatal_posix_service_status_errno) Add local "long" var "statx".
2009-10-27 08:12:25 +00:00
Ralf Corsepius
7354b34824 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/tmacros.h: Add PRIdThread_Entry_numeric_type.
	Add PRIdrtems_task_argument.
2009-10-27 06:53:15 +00:00
Ralf Corsepius
e693be45d7 2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/tmacros.h: Add PRIdWatchdog_Interval.
	Add PRIdrtems_interval.
2009-10-26 17:02:40 +00:00
Ralf Corsepius
ddff7ef490 2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/tmacros.h: Add PRIdPriority_Control.
	Change PRIdrtems_task_priority to using PRIdPriority_Control.
2009-10-26 14:20:43 +00:00
Ralf Corsepius
f5c70d3b3a 2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/tmacros.h: Add PRIdrtems_task_priority.
2009-10-26 13:51:34 +00:00
Ralf Corsepius
e71c81b3da 2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/tmacros.h: Add PRIxrtems_id.
2009-10-26 10:37:25 +00:00
Ralf Corsepius
b701261ccf 2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/tmacros.h: Add PRItime_t.
2009-10-26 09:06:39 +00:00
Ralf Corsepius
88f692dac2 2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/tmacros.h (print_time): Use PRIu32 instead of %d.
2009-10-26 05:38:04 +00:00
Ralf Corsepius
aea32337ed 2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/test_support.h: Add missing prototypes.
2009-10-26 05:33:50 +00:00
Ralf Corsepius
f440089997 2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/tmacros.h: Move _Thread_Dispatch_disable_level
	outside of check_dispatch_disable_level.
2009-10-26 05:32:35 +00:00
Ralf Corsepius
a00d2e5f2a 2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/src/test_support.c: Add missing prototypes.
2009-10-26 05:30:29 +00:00
Ralf Corsepius
7eb9ea679d 2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/tmacros.h: Include <inttypes.h>.
	Move extern "C".
	Let put_name use "int" instead "uint32_t" (Arg to putchar must be int).
2009-10-26 05:27:58 +00:00
Ralf Corsepius
0b74b13f48 2009-10-24 Ralf Corsepius <ralf.corsepius@rtems.org>
* Makefile.am: Add support/include/test_support.h.
2009-10-24 05:40:33 +00:00
Ralf Corsepius
8f53ef7177 2009-10-23 Ralf Corsepius <ralf.corsepius@rtems.org>
* automake/compile.am: Add *.ralf to clean-local.
2009-10-23 05:37:46 +00:00
Ralf Corsepius
4f8237f1f2 2009-10-17 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal/check-custom-bsp.m4: Fix up AC_REQUIRES.
2009-10-17 15:55:06 +00:00
Ralf Corsepius
29d4ee9b04 2009-10-16 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal/canonical-target-name.m4: Remove RTEMS_HOST (unused).
2009-10-16 02:43:38 +00:00
Ralf Corsepius
6e4787aa62 2009-10-14 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal/canonical-target-name.m4:
	Remove posix/unix simulator.
2009-10-14 12:12:34 +00:00
Joel Sherrill
ab2422c01f 2009-09-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* psxtests/psxclock/init.c, psxtests/psxclock/psxclock.scn: Add test
	case for nanosleep of a very small delay which mathematically is less
	than a clock tick.
2009-09-14 17:59:29 +00:00
Joel Sherrill
46605724c1 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Some POSIX tests exercise functionality which is
	enabled when the POSIX threading is disabled. So build this suite all
	the time and let the psxtests select the specific tests to build.
2009-09-13 21:09:47 +00:00
Joel Sherrill
4e76c71cd0 2009-08-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* support/include/tmacros.h: 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:51 +00:00
Joel Sherrill
288f8498b7 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* support/src/test_support.c: Tinker with longest valid name.
2009-08-06 19:25:17 +00:00
Joel Sherrill
cba16514b6 2009-08-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* support/include/buffer_test_io.h: Use printk on AVR by default.
2009-08-06 15:39:09 +00:00
Joel Sherrill
072d2a0933 2009-05-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* support/src/tmtests_empty_function.c: Fix warnings.
2009-05-10 14:43:44 +00:00
Ralf Corsepius
dea3a9cacf 2009-04-03 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/prog-cc.m4: Preset ac_cv_exeext=.exe for *-rtems*
	  toolchains.
2009-04-03 12:43:40 +00:00
Ralf Corsepius
fd9d071056 2008-12-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/canonical-target-name.m4: Remove tic4x.
2008-12-22 03:58:12 +00:00
Ralf Corsepius
f8f2e41da7 2008-09-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/version.m4: Bump RTEMS_API to 4.10.
	Bump _RTEMS_VERSION to 4.9.99.0.
2008-09-22 14:14:09 +00:00
Ralf Corsepius
0422fde543 2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/src/test_support.c: Convert to "bool".
2008-09-06 03:40:05 +00:00
Joel Sherrill
35eb543d87 2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* support/src/tmtests_empty_function.c: New file.
2008-08-31 17:37:39 +00:00
Ralf Corsepius
e03da1549c 2008-07-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/rtems-top.m4: Require AC_DISABLE_OPTION_CHECKING.
	AC_PREREQ(2.62).
2008-07-02 02:19:22 +00:00
Ralf Corsepius
7bb36b05d0 2008-02-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/enable-rtemsbsp.m4: s/AC_HELP/AS_HELP/.
2008-02-20 13:07:51 +00:00
Jennifer Averett
ccc4203563 2008-02-04 Jennifer Averett <jennifer.averett@OARcorp.com>
* support/include/test_support.h, support/src/test_support.c: New files.
2008-02-04 19:40:33 +00:00
Joel Sherrill
d5a36d3b18 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* support/include/tmacros.h: Change TEST_INIT to CONFIGURE_INIT. Make
	tmacros.h available to all POSIX tests. Add a clock_settime case for
	< 1988.
2008-02-01 00:45:20 +00:00
Joel Sherrill
1dd2318c26 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* support/include/tmacros.h: Fix put_name to handle unprintable names.
2008-01-31 17:31:05 +00:00
Joel Sherrill
83a66aa52f 2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* support/include/tmacros.h: Add new rtems_test_assert() which exits
	rather than calling fatal error.
2008-01-29 21:53:40 +00:00
Joel Sherrill
81be799340 2007-12-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* support/include/tmacros.h: Add new helper for POSIX tests.
2007-12-17 16:08:17 +00:00
Ralf Corsepius
90a51d8a49 2007-09-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/version.m4: Bump RTEMS_API to 4.9.
	Bump RTEMS_VERSION to 4.8.99.0.
2007-09-21 08:50:19 +00:00
Joel Sherrill
71531a6fa0 2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* support/include/buffer_test_io.h: Add support for using printk for
	output in tests. This should be followed up by disabling the console
	driver and other support when the tests are using printk.
2007-05-11 19:53:29 +00:00