Changeset fe011a5 in rtems


Ignore:
Timestamp:
Dec 16, 2013, 7:13:14 PM (5 years ago)
Author:
Jennifer Averett <jennifer.averett@…>
Branches:
4.11, master
Children:
7b10f130
Parents:
db8a89e
git-author:
Jennifer Averett <jennifer.averett@…> (12/16/13 19:13:14)
git-committer:
Jennifer Averett <jennifer.averett@…> (12/19/13 20:11:09)
Message:

sptests/spcpuset*: Add tests for fixed size cpu_set_t operations.

This adds five tests for <sys/cpuset.h>. It does not include
tests for CPU_XXX_S methods. The autotools should be able to
avoid enabling the tests unless the toolset has <sys/cpuset.h>.

Location:
testsuites/sptests
Files:
6 added
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/Makefile.am

    rdb8a89e rfe011a5  
    4040SUBDIRS += sptimer_err01 sptimer_err02
    4141
     42if HAS_CPUSET
     43SUBDIRS += spcpuset01
     44endif
     45
    4246include $(top_srcdir)/../automake/subdirs.am
    4347include $(top_srcdir)/../automake/local.am
  • testsuites/sptests/configure.ac

    rdb8a89e rfe011a5  
    2525# FIXME: We should get rid of this. It's a cludge.
    2626AC_CHECK_SIZEOF([time_t])
     27
     28# Added to newlib pthreads for RTEMS SMP (np), may not be present
     29AC_CHECK_HEADERS([sys/cpuset.h])
     30AM_CONDITIONAL(HAS_CPUSET,test x"${ac_cv_header_sys_cpuset_h}" = x"yes")
    2731
    2832# Explicitly list all Makefiles here
     
    200204sptimer_err01/Makefile
    201205sptimer_err02/Makefile
     206spcpuset01/Makefile
    202207])
    203208AC_OUTPUT
Note: See TracChangeset for help on using the changeset viewer.