| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* configure.ac: Add AC_CHECK_HEADERS sys/mman.h.
Add AC_CHECK_DECLS pthread_atfork, adjtime, mprotect.
|
|
|
|
|
| |
* configure.ac: Add AC_CHECK_HEADERS sys/mman.h.
Add AC_CHECK_DECLS pthread_atfork, adjtime, mprotect.
|
|
|
|
|
|
| |
* psxtime/test.c: Include <sys/time.h>.
Conditionally add local prototype for adjtime()
if sys/time.h doesn't supply it.
|
|
|
|
|
|
| |
* psxtime/test.c: Include <sys/time.h>.
Conditionally add local prototype for adjtime()
if sys/time.h doesn't supply it.
|
|
|
|
| |
* psx07/init.c: Include <sched.h>, <pthread.h>.
|
|
|
|
| |
* psx07/init.c: Include <sched.h>, <pthread.h>.
|
|
|
|
| |
* psx05/init.c: Include <sched.h>.
|
|
|
|
| |
* psx05/init.c: Include <sched.h>.
|
|
|
|
| |
* psx11/init.c, psx09/init.c: Include <sched.h>.
|
|
|
|
| |
* psx11/init.c, psx09/init.c: Include <sched.h>.
|
|
|
|
| |
* psx12/init.c: Include <sched.h>.
|
|
|
|
| |
* psx12/init.c: Include <sched.h>.
|
|
|
|
|
|
| |
* psxenosys/init.c: Include "pthread.h".
Conditionally add local prototype for pthread_atfork()
if pthread.h doesn't supply it.
|
|
|
|
|
|
| |
* psxenosys/init.c: Include "pthread.h".
Conditionally add local prototype for pthread_atfork()
if pthread.h doesn't supply it.
|
|
|
|
| |
* psxkey01/init.c: Include "test_support.h".
|
|
|
|
| |
* psxkey01/init.c: Include "test_support.h".
|
|
|
|
|
|
|
| |
* configure.ac: Check for pthread_atfork in pthread.h.
* psxrwlock01/test.c: Conditionally add local prototype for
pthread_atfork() if pthread.h doesn't supply it.
Include <pthread.h>.
|
|
|
|
|
|
|
| |
* configure.ac: Check for sys/mman.h.
Check for mprotect in sys/mman.h.
* psxenosys/init.c: Conditionally add local prototype for
mprotect() if sys/mman.h doesn't supply it.
|
|
|
|
|
|
|
| |
* configure.ac: Check for sys/mman.h.
Check for mprotect in sys/mman.h.
* psxenosys/init.c: Conditionally add local prototype for
mprotect() if sys/mman.h doesn't supply it.
|
|
|
|
|
|
| |
* configure.ac: Check for pthread_rwlock_unlock in pthread.h.
* psxrwlock01/test.c: Conditionally add local prototype for
pthread_rwlock_unlock() if pthread.h doesn't supply it.
|
|
|
|
|
|
| |
* configure.ac: Check for pthread_rwlock_unlock in pthread.h.
* psxrwlock01/test.c: Conditionally add local prototype for
pthread_rwlock_unlock() if pthread.h doesn't supply it.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* psx01/init.c, psxalarm01/init.c, psxbarrier01/test.c,
psxclock/init.c, psxfatal01/testcase.h, psxfatal02/testcase.h,
psxhdrs/signal12.c, psxkey01/init.c, psxkey03/init.c,
psxmsgq01/init.c, psxmsgq02/init.c, psxmsgq03/init.c,
psxreaddir/test.c, psxrwlock01/test.c, psxsignal01/init.c,
psxsignal02/init.c, psxsignal03/init.c, psxspin01/test.c,
psxspin02/test.c, psxstack01/init.c, psxstat/test.c,
psxualarm/init.c: Remove unused vars.
Add missing prototypes.
|
|
|
|
| |
Add missing prototypes.
|
|
|
|
|
| |
* Makefile.am: Build file IO related tests even with POSIX threading is
disabled.
|
|
|
|
| |
* configure.ac: Don't add -ansi -fasm to CFLAGS.
|
|
|
|
| |
* configure.ac: Don't add -ansi -fasm to CFLAGS.
|
|
|
|
|
| |
* psxtimer01/psxtimer.c: It is not necessarily an error for the time
remaining to not equal the period.
|
|
|
|
| |
* psx05/init.c, psx05/psx05.scn: Add test for bad mutex type.
|
|
|
|
|
|
|
|
|
| |
* psxcleanup/system.h: Fix typo.
* Makefile.am, configure.ac: Add new test for exercising pushing
and popping a clean up handler without actually executing it.
* psxcleanup01/.cvsignore, psxcleanup01/Makefile.am,
psxcleanup01/init.c, psxcleanup01/psxcleanup01.doc,
psxcleanup01/psxcleanup01.scn: New files.
|
|
|
|
|
|
|
| |
* Makefile.am, configure.ac: Add new test to ensure that canceling an
alarm works as defined.
* psxalarm01/.cvsignore, psxalarm01/Makefile.am, psxalarm01/init.c,
psxalarm01/psxalarm01.doc, psxalarm01/psxalarm01.scn: New files.
|
|
|
|
| |
* psxtimer01/psxtimer.c: Actually pass the pointer we initialized.
|
|
|
|
|
| |
* psxtimer01/psxtimer.c: Make sure we have null and not-null as return
parameter to timer_settime().
|
|
|
|
|
|
|
| |
* psxtimer01/psxtimer.c: Modify so it passes in a NULL to
timer_settime() for previous value. We are not using the
value in this particular case and this path must be exercised.
* psxtimer01/psxtimer01.scn: Update so it matches output on sis.
|
|
|
|
|
|
| |
* psxcancel/init.c, psxcancel/psxcancel.scn, psxcancel01/init.c,
psxcancel01/psxcancel01.scn: Add missing pthread cancellation test
cases.
|
|
|
|
|
|
|
| |
* Makefile.am, configure.ac: Add new test for calling pthread_cancel()
from an ISR.
* psxcancel01/.cvsignore, psxcancel01/Makefile.am, psxcancel01/init.c,
psxcancel01/psxcancel01.doc, psxcancel01/psxcancel01.scn: New files.
|
|
|
|
|
| |
* psxfatal_support/init.c, psxfatal_support/system.h: Eliminate use of
deprecated rtems_extension.
|
|
|
|
|
| |
* psxclock/init.c, psxclock/psxclock.scn: Add test case for negative
nanoseconds.
|
|
|
|
|
| |
* psxsysconf/init.c, psxsysconf/psxsysconf.scn: Add test for
getpagesize().
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* psxclock/init.c, psxclock/psxclock.scn, psxenosys/init.c,
psxenosys/psxenosys.scn, psxsignal03/Makefile.am, psxsignal03/init.c,
psxsignal04/Makefile.am: Move test cases which needed to be executed
when POSIX is disabled to psxclock so they will be.
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am, configure.ac, psx01/init.c, psx01/psx01.scn: Add new
test to exercise clock and delay services enabled when POSIX threads
are disabled. This is split from psx01. POSIX test suite now enabled
when POSIX threads are disabled so only enable tests which are
appropriate.
* psxclock/.cvsignore, psxclock/Makefile.am, psxclock/init.c,
psxclock/psxclock.doc, psxclock/psxclock.scn: New files.
|
|
|
|
|
|
|
| |
* psx09/init.c, psx09/psx09.scn: Correct test following decision of
when not to change ssporadic scheduler so it does not touch a task's
priority when it is holding a mutex or its priority would be impacted
adversely.
|
| |
|
|
|
|
|
|
| |
* psxtime/main.c, psxtime/psxtime.scn, psxtime/test.c: Add test case
for adjusting time (adjtime()) where the time is adjusted by enough
microseconds that it crosses a second boundary.
|
|
|
|
|
| |
* psx07/init.c, psx07/psx07.scn, psx07/system.h, psx07/task.c: Update
test to reflect not allowing poriority changes when mutex is locked.
|
|
|
|
|
| |
* psx01/init.c, psx01/psx01.scn: Add test case for nanosleep with NULL
remaining pointer.
|
| |
|
|
|
|
|
| |
* configure.ac, psx05/init.c, psx05/psx05.scn: Add test case for
initializing a recursize mutex.
|
|
|
|
|
|
| |
* psxfile01/test.c, psxstat/test.c, psxtime/test.c: Eliminate test
routines TICKS_PER_SECOND and get_ticks_per_second() in favor of new
rtems_clock_get_ticks_per_second().
|
|
|
|
|
| |
* psxsignal01/init.c: Convert calls to legacy routine rtems_clock_get(
RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx().
|