diff options
author | Chris Johns <chrisj@rtems.org> | 2014-05-19 23:07:22 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-05-28 23:44:26 +1000 |
commit | 431bb85dde2b3eae34ff5070b4e2a507bf8bdfa3 (patch) | |
tree | 0718bd16ffd03cc7b370588a72814cfd6aa135d1 /testsuites | |
parent | Ignore emacs backfiles and TAGS. (diff) | |
download | rtems-431bb85dde2b3eae34ff5070b4e2a507bf8bdfa3.tar.bz2 |
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.
Diffstat (limited to '')
-rw-r--r-- | testsuites/automake/test-subdirs.am | 2 | ||||
-rw-r--r-- | testsuites/testdata/require-tick-isr.tcfg | 72 |
2 files changed, 73 insertions, 1 deletions
diff --git a/testsuites/automake/test-subdirs.am b/testsuites/automake/test-subdirs.am index 35d6c81e52..ff339aa38d 100644 --- a/testsuites/automake/test-subdirs.am +++ b/testsuites/automake/test-subdirs.am @@ -22,7 +22,7 @@ all-local: fi; \ echo "BSP Testsuite Data: $$vtdata"; \ list=`$(top_srcdir)/../../tools/build/rtems-test-check \ - $$tdata $(RTEMS_BSP) $(_SUBDIRS)`; \ + $$tdata $(top_srcdir)/.. $(RTEMS_BSP) $(_SUBDIRS)`; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" != "."; then \ diff --git a/testsuites/testdata/require-tick-isr.tcfg b/testsuites/testdata/require-tick-isr.tcfg new file mode 100644 index 0000000000..8231acb1ca --- /dev/null +++ b/testsuites/testdata/require-tick-isr.tcfg @@ -0,0 +1,72 @@ +# +# These tests require that the BSP have a real clock tick ISR. Some +# simulator BSPs do not have any interrupt sources and use the file +# libbsp/shared/clock_driver_simidle.c. +# +# Tests which do not work with this clock driver tend to have the +# one of the following characteristics: +# +# + Assume that a clock tick will occur while a task is running +# continuously can be +# + Assume that a timer service routine will execute in an ISR +# while a task is running continously. +# + Has a busy spin loop waiting to start the test on a tick boundary +# does this. +# +# Eventually there should be a way to note that a BSP has a list +# of expected test failures which are specific to it AND a set of +# characteristics that make running classes of test appropriate or +# inappropriate. At that point, this would be one characteristic. +# +# NOTE: Each test in this list should be reviewed to ensure that it +# has a legitimate reason to not run on a BSP with the simulator +# clock idle task. It may need to be broken into multiple tests +# if not executing it misses other paths. +# +cpuuse +psx07 +psx09 +psx10 +psx11 +psxcancel01 +psxgetrusage01 +psxintrcritical01 +psxsignal01 +psxsignal02 +psxspin01 +psxtime +psxtimes01 +sp04 +sp14 +sp19 +sp35 +sp38 +sp44 +sp69 +spcbssched02 +spcbssched03 +spcontext01 +spcpucounter01 +spedfsched03 +spintrcritical01 +spintrcritical02 +spintrcritical03 +spintrcritical04 +spintrcritical05 +spintrcritical06 +spintrcritical07 +spintrcritical08 +spintrcritical09 +spintrcritical10 +spintrcritical11 +spintrcritical12 +spintrcritical13 +spintrcritical14 +spintrcritical15 +spintrcritical16 +spintrcritical17 +spintrcritical18 +spintrcritical19 +spintrcritical20 +spnsext01 +spqreslib |