Changeset 57e01735 in rtems


Ignore:
Timestamp:
07/23/19 13:41:54 (4 years ago)
Author:
Vaibhav Gupta <vaibhavgupta40@…>
Branches:
5, master
Children:
98d6792
Parents:
c5fd79cd
git-author:
Vaibhav Gupta <vaibhavgupta40@…> (07/23/19 13:41:54)
git-committer:
Joel Sherrill <joel@…> (07/30/19 15:18:09)
Message:

psxtests: Add ndbm test suite

Joel Sherrill <joel@…> modified the patch to
add autoconf logic to avoid building this new test
unless the tool chain include <ndbm.h>. The ensures
that git bisect continues to work and that the addition
of this test does not immediately force the entire
community to update their tools.

Location:
testsuites/psxtests
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/Makefile.am

    rc5fd79cd r57e01735  
    693693psxmutexattr01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxmutexattr01) \
    694694        $(support_includes) -I$(top_srcdir)/include
     695endif
     696
     697if HAS_NDBM
     698if TEST_psxndbm01
     699psx_tests += psxndbm01
     700psx_screens += psxndbm01/psxndbm01.scn
     701psx_docs += psxndbm01/psxndbm01.doc
     702psxndbm01_SOURCES = psxndbm01/init.c
     703psxndbm01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxndbm01) \
     704       $(support_includes)
     705endif
    695706endif
    696707
  • testsuites/psxtests/configure.ac

    rc5fd79cd r57e01735  
    3636RTEMS_CHECK_CPUOPTS([RTEMS_POSIX_API])
    3737AM_CONDITIONAL(HAS_POSIX,test x"${rtems_cv_RTEMS_POSIX_API}" = x"yes")
     38
     39AC_CHECK_HEADER([ndbm.h]. [HAS_NDBM=yes], [HAS_NDBM=no])
     40AM_CONDITIONAL(HAS_NDBM,test x"${ac_cv_header_ndbm_h__HAS_NDBM_yes}" = x"yes")
    3841
    3942# BSP Test configuration
     
    111114RTEMS_TEST_CHECK([psxmsgq04])
    112115RTEMS_TEST_CHECK([psxmutexattr01])
     116RTEMS_TEST_CHECK([psxndbm01])
    113117RTEMS_TEST_CHECK([psxobj01])
    114118RTEMS_TEST_CHECK([psxonce01])
Note: See TracChangeset for help on using the changeset viewer.