5
Last change
on this file since adb85dd was
adb85dd,
checked in by Sebastian Huber <sebastian.huber@…>, on 04/21/18 at 08:22:08
|
bsps: Move make/custom/* files to bsps
Adjust various build files. Remove automatic generation of the
c/src/lib/libbsp/*/acinclude.m4 files from bootstrap script.
This patch is a part of the BSP source reorganization.
Update #3285.
|
-
Property mode set to
100644
|
File size:
928 bytes
|
Rev | Line | |
---|
[18f77699] | 1 | dnl |
---|
| 2 | dnl Check a test getting it's status. |
---|
| 3 | dnl |
---|
| 4 | AC_DEFUN([RTEMS_TEST_CHECK], |
---|
| 5 | [AC_REQUIRE([RTEMS_ENV_RTEMSBSP]) |
---|
| 6 | AC_REQUIRE([RTEMS_SOURCE_TOP]) |
---|
| 7 | AC_MSG_CHECKING([${RTEMS_CPU}/${RTEMS_BSP} $1 test]) |
---|
| 8 | tcheck="${RTEMS_SOURCE_ROOT}/tools/build/rtems-test-check-py" |
---|
| 9 | tdata="${RTEMS_BSP}-testsuite.tcfg" |
---|
[adb85dd] | 10 | tincludes="${RTEMS_SOURCE_ROOT}/bsps/${RTEMS_CPU}/${RTEMS_BSP_FAMILY}/config:${RTEMS_SOURCE_ROOT}/testsuites" |
---|
[18f77699] | 11 | if test -f $tcheck; then |
---|
| 12 | check_result=`$tcheck exclude ${RTEMS_BSP} $tdata $tincludes $1` |
---|
| 13 | else |
---|
| 14 | check_result=$1 |
---|
| 15 | fi |
---|
| 16 | if test "$1" = "$check_result"; then |
---|
| 17 | if test -f $tcheck; then |
---|
| 18 | test_FLAGS=`$tcheck flags ${RTEMS_BSP} $tdata $tincludes $1` |
---|
| 19 | fi |
---|
| 20 | if test -z "$test_FLAGS"; then |
---|
| 21 | result_msg="PASS" |
---|
| 22 | else |
---|
| 23 | result_msg="$test_FLAGS" |
---|
| 24 | fi |
---|
| 25 | else |
---|
| 26 | result_msg="EXCLUDED" |
---|
| 27 | fi |
---|
| 28 | AC_MSG_RESULT([$result_msg]) |
---|
| 29 | AM_CONDITIONAL([TEST_$1], [test "$result_msg" != "EXCLUDED"]) |
---|
| 30 | AC_SUBST([TEST_FLAGS_$1], [$test_FLAGS]) |
---|
| 31 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.