| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* support/src/test_support.c: Avoid magic numbers.
|
|
|
|
|
| |
* support/include/tmacros.h:
Remove fatal_posix_service_pointer_minus_one (unused).
|
|
|
|
|
| |
* support/include/primode.h: New.
* Makefile.am: Add support/include/primode.h
|
|
|
|
| |
* support/include/tmacros.h: Remove PRItime_t.
|
|
|
|
|
| |
* support/include/pritime.h: New.
* Makefile.am: Add support/include/pritime.h
|
|
|
|
| |
* support/include/test_support.h: Fixed incorrect name in prototype.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* configure.ac, support/include/test_support.h:
* support/src/locked_print.c: New file.
|
|
|
|
|
|
|
| |
PR 1777/cpukit
* support/include/tmacros.h, tmtests/tm26/task1.c,
tmtests/tm27/task1.c: Consolidated access to
_Thread_Dispatch_disable_level.
|
|
|
|
|
| |
* support/src/tmtests_support.c:
loop_overhead and end_time are uint32_t's.
|
| |
|
|
|
|
| |
* support/include/tmacros.h: Remove PRIxblksize_t, PRIxblkcnt_t.
|
|
|
|
|
| |
* support/include/test_support.h, support/src/test_support.c: Add
Allocate_majority_of_heap().
|
|
|
|
| |
* support/src/tmtests_support.c: Fix warning.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* 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/test_support.h: Add missing prototypes.
|
|
|
|
|
| |
* support/include/tmacros.h: Move _Thread_Dispatch_disable_level
outside of check_dispatch_disable_level.
|
|
|
|
| |
* support/src/test_support.c: Add missing prototypes.
|
|
|
|
|
|
| |
* 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/src/test_support.c: Tinker with longest valid name.
|
|
|
|
| |
* support/include/buffer_test_io.h: Use printk on AVR by default.
|
|
|
|
| |
* support/src/tmtests_empty_function.c: Fix warnings.
|
| |
|
|
|
|
| |
* support/src/tmtests_empty_function.c: New file.
|
|
|
|
| |
* support/include/test_support.h, support/src/test_support.c: New files.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
PR 855/tests
* support/include/tmacros.h: Fix typo.
|