source: rtems/testsuites/automake/test-subdirs.am @ 431bb85d

4.115
Last change on this file since 431bb85d was 431bb85d, checked in by Chris Johns <chrisj@…>, on 05/19/14 at 13:07:22

rtems-test-check: Ignore tests which require real ISR based clock tick

BSPs for simulators which do not include a clock tick interrupt source
are incapable of running some tests successfully. This is a common
characteristic of some BSPs and a fixed set of tests. There is no point
in duplicating this list of tests in those BSPs test configuration.

Read testsuites/testdata/require-tick-isr.tcfg for details.

  • Property mode set to 100644
File size: 1.3 KB
RevLine 
[1461b648]1## Borrowed from automake/subdir.am which borrowed automake-1.4 and adapted to RTEMS
2
3## NOTE: This is a temporary work-around until automake is removed from RTEMS.
4##   It is a hack within many hacks and is designed to keep the source as clean
5##   as possible.
6
7all-local:
8        @set fnord $(MAKEFLAGS); amf=$$2; \
9        dot_seen=no; \
10        target=`echo $@ | sed s/-recursive//`; \
11        if test "$$target" = "all-local-am"; then \
12          target="all-am"; \
13        fi; \
14        if test "$$target" = "all-local"; then \
15          target="all"; \
16        fi; \
17        tdata="$(top_srcdir)/../../c/src/lib/libbsp/$(RTEMS_CPU)/$(RTEMS_BSP_FAMILY)/make/custom/$(RTEMS_BSP)-testsuite.tcfg"; \
18        if test -f "$$tdata"; then \
19          vtdata="$(RTEMS_CPU)/$(RTEMS_BSP_FAMILY)/make/custom/$(RTEMS_BSP)-testsuite.cfg"; \
20         else \
21          vtdata="all tests"; \
22        fi; \
23        echo "BSP Testsuite Data: $$vtdata"; \
24        list=`$(top_srcdir)/../../tools/build/rtems-test-check \
[431bb85d]25                 $$tdata $(top_srcdir)/.. $(RTEMS_BSP) $(_SUBDIRS)`; \
[1461b648]26        for subdir in $$list; do \
27          echo "Making $$target in $$subdir"; \
28          if test "$$subdir" != "."; then \
29            local_target="$$target"; \
30            (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
31             || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
32          fi; \
33        done; test -z "$$fail"
34
35include $(top_srcdir)/../automake/subdirs.am
Note: See TracBrowser for help on using the repository browser.