[Bug 1708] New: Most POSIX tests disabled by autoconf

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Fri Oct 1 15:20:46 UTC 2010


https://www.rtems.org/bugzilla/show_bug.cgi?id=1708

           Summary: Most POSIX tests disabled by autoconf
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: critical
          Priority: P3
         Component: build
        AssignedTo: ralf.corsepius at rtems.org
        ReportedBy: joel.sherrill at oarcorp.com


I was merging the new pthread attr tests when I noticed that a large portion of
the POSIX tests are not built.  Apparently the HAS_POSIX automake macro is not
getting tripped.  So all of these tests are not getting built:

if HAS_POSIX
SUBDIRS += psxhdrs psx01 psx02 psx03 psx04 psx05 psx06 psx07 psx08 psx09 \
    psx10 psx11 psx12 psx13 psx14 psx15 psxaio01 psxaio02 psxalarm01 \
    psxautoinit01 psxautoinit02 psxbarrier01 \
    psxcancel psxcancel01 psxcleanup psxcleanup01 \
    psxcond01 psxenosys psxkey01 psxkey02 psxkey03 \
    psxitimer psxmsgq01 psxmsgq02 psxmsgq03 psxmsgq04 \
    psxmutexattr01 psxobj01 psxrwlock01 psxsem01 psxsignal01 psxsignal02 \
    psxsignal03 psxsignal04 psxsignal05 psxspin01 psxspin02 psxsysconf \
    psxtime psxtimer01 psxtimer02 psxualarm psxusleep psxfatal01 psxfatal02 \
    psxintrcritical01 psxstack01
endif

In psxtests/config.log, I see this:

HAS_POSIX_FALSE=''
HAS_POSIX_TRUE='#'

So it is disabled even though the configure was:

../rtems/configure --target=powerpc-rtems4.11
--prefix=/home/joel/rtems-4.11-work/bsp-install/ --disable-multiprocessing
--enable-smp --disable-cxx --disable-rdbg --enable-maintainer-mode
--enable-tests --enable-networking --enable-shttpd --enable-posix
--disable-itron --disable-deprecated --disable-ada --disable-expada
--enable-rtemsbsp=psim CLOCK_DRIVER_USE_FAST_IDLE=0

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list