source: rtems/testsuites/libtests/dl02/Makefile.am @ 258bda3

5
Last change on this file since 258bda3 was 258bda3, checked in by Chris Johns <chrisj@…>, on 04/03/17 at 22:11:24

testsuite: Add a common test configuration. Fix configure.ac and Makefile.am errors.

  • Add a top level test configuration file for test states that are common to all BSPs. This saves adding a test configuration (tcfg) file for every BSP.
  • Add the test states 'user-input' and 'benchmark'. This lets 'rtems-test' stop the test rather than waiting for a timeout or letting a benchmark run without the user asking for it to run.
  • Implement rtems-test-check in Python to make it faster. The shell script had grown to a point it was noticably slowing the build down.
  • Fix the configure.ac and Makefile.am files for a number of the test directories. The files are difficiult to keep in sync with the number of tests and mistakes can happen such as tests being left out of the build. The test fsrofs01 is an example. Also a there was a mix of SUBDIRS and _SUBDIRS being used and only _SUBDIRS should be used.
  • Fix the test fsrofs01 so it compiles.

Closes #2963.

  • Property mode set to 100644
File size: 1022 bytes
Line 
1rtems_tests_PROGRAMS = dl02
2dl02_SOURCES = init.c dl-load.c dl-tar.c dl-tar.h
3
4BUILT_SOURCES = dl-tar.c dl-tar.h
5
6dist_rtems_tests_DATA = dl02.scn dl02.doc
7
8include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
9include $(top_srcdir)/../automake/compile.am
10include $(top_srcdir)/../automake/leaf.am
11
12AM_CPPFLAGS += -I$(top_srcdir)/../support/include
13
14LINK_OBJS = $(dl02_OBJECTS)
15LINK_LIBS = $(dl02_LDLIBS)
16
17dl-o1.o: dl-o1.c
18
19dl-o2.o: dl-o2.c
20
21dl.tar: dl-o1.o dl-o2.o
22        @rm -f $@
23        $(PAX) -w -f $@ $^
24CLEANFILES += dl.tar
25
26dl-tar.c: dl.tar
27        $(BIN2C) -C $< $@
28CLEANFILES += dl-tar.c
29
30dl-tar.h: dl.tar
31        $(BIN2C) -H $< $@
32CLEANFILES += dl-tar.h
33
34dl02.pre: $(dl02_OBJECTS) $(dl02_DEPENDENCIES)
35        @rm -f dl02.pre
36        $(LINK_APP)
37
38dl-sym.o: dl02.pre
39        rtems-syms -e -c "$(CFLAGS)" -o $@ $<
40
41dl02$(EXEEXT):  $(dl02_OBJECTS) $(dl02_DEPENDENCIES) dl-sym.o
42        @rm -f dl02$(EXEEXT)
43        $(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
44                    -o $(basename $@)$(EXEEXT) $(LINK_OBJS) dl-sym.o $(LINK_LIBS)
45
46include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.