diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-03-14 08:20:54 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-03-27 07:21:31 +0100 |
commit | cbfc3415607a6943823e8fc47c38408dcc7dbd90 (patch) | |
tree | be339544970fd3cae506c38521d98aa173ebedf7 /testsuites/automake | |
parent | Add RTEMS Test Framework (diff) | |
download | rtems-cbfc3415607a6943823e8fc47c38408dcc7dbd90.tar.bz2 |
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.
Diffstat (limited to 'testsuites/automake')
-rw-r--r-- | testsuites/automake/compile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuites/automake/compile.am b/testsuites/automake/compile.am index 83d4ab111c..66ea9a8421 100644 --- a/testsuites/automake/compile.am +++ b/testsuites/automake/compile.am @@ -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) |