5
Last change
on this file since cbfc3415 was
cbfc3415,
checked in by Sebastian Huber <sebastian.huber@…>, on 03/14/19 at 07:20:54
|
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.
|
-
Property mode set to
100644
|
File size:
808 bytes
|
Line | |
---|
1 | CC = @CC@ |
---|
2 | CXX = @CXX@ |
---|
3 | CPP = @CPP@ |
---|
4 | |
---|
5 | LD = @LD@ |
---|
6 | OBJCOPY = @OBJCOPY@ |
---|
7 | NM = @NM@ |
---|
8 | SIZE = @SIZE@ |
---|
9 | STRIP = @STRIP@ |
---|
10 | |
---|
11 | TEST_LD_FLAGS = -Wl,--wrap=printf -Wl,--wrap=puts -Wl,--wrap=putchar |
---|
12 | |
---|
13 | AM_CPPFLAGS = $(TEST_FLAGS) @RTEMS_CPPFLAGS@ @RTEMS_BSP_CPPFLAGS@ |
---|
14 | AM_CPPFLAGS += -DT_FILE_NAME='"$(notdir $<)"' |
---|
15 | AM_CFLAGS = $(TEST_C_FLAGS) |
---|
16 | AM_CXXFLAGS = $(TEST_CXX_FLAGS) |
---|
17 | |
---|
18 | AM_LDFLAGS = |
---|
19 | AM_LDFLAGS += -B$(RTEMS_ROOT)lib/libbsp/@RTEMS_CPU@/@RTEMS_BSP_FAMILY@ |
---|
20 | AM_LDFLAGS += $(GCCSPECS) |
---|
21 | AM_LDFLAGS += -L$(RTEMS_ROOT)cpukit |
---|
22 | AM_LDFLAGS += -L$(RTEMS_BSP_ARCH_LINKCMDS_PATH) |
---|
23 | AM_LDFLAGS += $(TEST_LD_FLAGS) |
---|
24 | |
---|
25 | LDADD = |
---|
26 | LDADD += $(RTEMS_ROOT)lib/libbsp/@RTEMS_CPU@/@RTEMS_BSP_FAMILY@/librtemsbsp.a |
---|
27 | LDADD += $(RTEMS_ROOT)cpukit/librtemscpu.a |
---|
28 | LDADD += $(RTEMS_ROOT)cpukit/librtemstest.a |
---|
29 | |
---|
30 | CLEANFILES = *.num *.nxe *.elf *.srec* *.bin *.bt *.ralf |
---|
Note: See
TracBrowser
for help on using the repository browser.