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.
This commit is contained in:
Sebastian Huber
2019-03-14 08:20:54 +01:00
parent cfcc2cbf7a
commit cbfc341560
8 changed files with 348 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ STRIP = @STRIP@
TEST_LD_FLAGS = -Wl,--wrap=printf -Wl,--wrap=puts -Wl,--wrap=putchar
AM_CPPFLAGS = $(TEST_FLAGS) @RTEMS_CPPFLAGS@ @RTEMS_BSP_CPPFLAGS@
AM_CPPFLAGS += -DT_FILE_NAME='"$(notdir $<)"'
AM_CFLAGS = $(TEST_C_FLAGS)
AM_CXXFLAGS = $(TEST_CXX_FLAGS)