Changeset cbfc3415 in rtems


Ignore:
Timestamp:
Mar 14, 2019, 7:20:54 AM (5 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
294c6f4
Parents:
cfcc2cbf
git-author:
Sebastian Huber <sebastian.huber@…> (03/14/19 07:20:54)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/27/19 06:21:31)
Message:

ttest01: New test

This is an example test using the RTEMS Test Framework. It tests also
the framework itself.

Add T_FILE_NAME command line define to get rid of the full file path.
This is important to reduce the read-only data of test files and make
them build system independent.

Update #3199.

Location:
testsuites
Files:
5 added
3 edited

Legend:

Unmodified
Added
Removed
  • testsuites/automake/compile.am

    rcfcc2cbf rcbfc3415  
    1212
    1313AM_CPPFLAGS = $(TEST_FLAGS) @RTEMS_CPPFLAGS@ @RTEMS_BSP_CPPFLAGS@
     14AM_CPPFLAGS += -DT_FILE_NAME='"$(notdir $<)"'
    1415AM_CFLAGS   = $(TEST_C_FLAGS)
    1516AM_CXXFLAGS = $(TEST_CXX_FLAGS)
  • testsuites/libtests/Makefile.am

    rcfcc2cbf rcbfc3415  
    15011501endif
    15021502
     1503if TEST_ttest01
     1504lib_tests += ttest01
     1505lib_screens += ttest01/ttest01.scn
     1506lib_docs += ttest01/ttest01.doc
     1507ttest01_SOURCES = ttest01/init.c
     1508ttest01_SOURCES += ttest01/test-example.c
     1509ttest01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_ttest01) \
     1510        $(support_includes)
     1511endif
     1512
    15031513if TEST_tztest
    15041514lib_tests += tztest
  • testsuites/libtests/configure.ac

    rcfcc2cbf rcbfc3415  
    227227RTEMS_TEST_CHECK([termios09])
    228228RTEMS_TEST_CHECK([top])
     229RTEMS_TEST_CHECK([ttest01])
    229230RTEMS_TEST_CHECK([tztest])
    230231RTEMS_TEST_CHECK([uid01])
Note: See TracChangeset for help on using the changeset viewer.