summaryrefslogtreecommitdiffstats
path: root/testsuites/automake
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-03-14 08:20:54 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-03-27 07:21:31 +0100
commitcbfc3415607a6943823e8fc47c38408dcc7dbd90 (patch)
treebe339544970fd3cae506c38521d98aa173ebedf7 /testsuites/automake
parentAdd RTEMS Test Framework (diff)
downloadrtems-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.am1
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)