| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
|
| |
This completes the initial creation of rtems/inttypes.h based on all
existing PRIxxx definitions contained in RTEMS Project owned code.
closes #2983.
|
| |
|
| |
|
|
|
|
| |
Replace _API_Mutex_Is_locked() with _API_Mutex_Is_owner().
|
|
|
|
|
|
|
|
|
|
| |
The Allocator Mutex should not be locked outside a tested
service call. In an SMP test or heavily multithreaded test,
this is possible since another thread could have the lock
for an extended period of time but this is not the norm
for the tests.
updates 2319.
|
| |
|
|
|
|
|
|
|
| |
posix_memalign() is prototyped to take a non-NULL parameter. But our
test is deliberately passing one in. With the -Wnon-null warning flag
enabled, we will always get warnings on this test unless we disable
that warning for this single test case.
|
| |
|
| |
|
|
|
|
|
|
| |
Provide support functions to print the begin/end of test message.
Provide a test fatal extension to print out profiling reports in the
future.
|
|
|
|
|
|
|
|
| |
Move implementation specific parts of thread.h and thread.inl into new
header file threadimpl.h. The thread.h contains now only the
application visible API.
Remove superfluous header file includes from various files.
|
|
|
|
|
| |
Delete _Thread_Dispatch_in_critical_section() and
_Thread_Is_dispatching_enabled().
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* support/include/tmacros.h:
Remove fatal_posix_service_pointer_minus_one (unused).
|
|
|
|
| |
* support/include/tmacros.h: Remove PRItime_t.
|
|
|
|
|
|
| |
* support/include/tmacros.h: Disable the check for dispatch disable
level for SMP tests. Another CPU may be inside RTEMS by the time
these checks are being done which would result in false failures.
|
|
|
|
|
|
|
| |
PR 1777/cpukit
* support/include/tmacros.h, tmtests/tm26/task1.c,
tmtests/tm27/task1.c: Consolidated access to
_Thread_Dispatch_disable_level.
|
|
|
|
| |
* support/include/tmacros.h: Remove PRIxblksize_t, PRIxblkcnt_t.
|
|
|
|
| |
* support/include/tmacros.h: Remove PRIdoff_t.
|
|
|
|
|
| |
* support/include/tmacros.h: Changed check_dispatch_disable_level() to
treat all non-zero values of _Thread_Dispatch_disable_level equally.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* support/include/tmacros.h: Include rtems/score/thread.h.
Remove _Thread_Dispatch_disable_level.
|
|
|
|
| |
Comment cleanups.
|
| |
|
| |
|
|
|
|
|
| |
* support/include/tmacros.h: Add PRIxrtems_event_set.
(fatal_posix_service_status_errno) Add local "long" var "statx".
|
|
|
|
| |
Add PRIdrtems_task_argument.
|
|
|
|
|
| |
* support/include/tmacros.h: Add PRIdWatchdog_Interval.
Add PRIdrtems_interval.
|
|
|
|
|
| |
* support/include/tmacros.h: Add PRIdPriority_Control.
Change PRIdrtems_task_priority to using PRIdPriority_Control.
|
| |
|
| |
|
|
|
|
| |
* support/include/tmacros.h: Add PRItime_t.
|
|
|
|
| |
* support/include/tmacros.h (print_time): Use PRIu32 instead of %d.
|
|
|
|
|
| |
* support/include/tmacros.h: Move _Thread_Dispatch_disable_level
outside of check_dispatch_disable_level.
|
|
|
|
|
|
| |
* support/include/tmacros.h: Include <inttypes.h>.
Move extern "C".
Let put_name use "int" instead "uint32_t" (Arg to putchar must be int).
|
|
|
|
|
|
| |
* 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().
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* support/include/tmacros.h: Fix put_name to handle unprintable names.
|
|
|
|
|
| |
* support/include/tmacros.h: Add new rtems_test_assert() which exits
rather than calling fatal error.
|
|
|
|
| |
* support/include/tmacros.h: Add new helper for POSIX tests.
|
|
|
|
|
| |
PR 855/tests
* support/include/tmacros.h: Fix typo.
|
| |
|
|
|
|
| |
* include/tmacros.h: Convert to using c99 fixed size types.
|
|
|
|
| |
* include/tmacros.h: URL for license changed.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
* include/buffer_test_io.h: New file.
|
|
|
|
|
|
| |
Tracked as PR72 but related to the object id problem (PR36)
reported by Todor.Todorov@barco.com.
* include/tmacros.h: Added fatal_directive_check_status_only().
|