config/test_suite.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sat Oct 06 23:48:07 2012 +0200 (2012-10-06)
changeset 3083 3a7b2eee9dcd
parent 1965 e3d532dd8b5d
child 3150 1d6fd9bde73c
permissions -rw-r--r--
scripts: add option to start an interactive debug shell

Add an option that, when a command fails:
- starts an interactive shell with the failed command's environment
- attempts re-execution of the failed command, continues, or aborts
at user's whim.

Before starting the debug-shell, the backtrace is printed.
When exiting for an abort, the standard error message is printed.

Based on an idea and a patch from: Johannes Stezenbach <js@sig21.net>
http://sourceware.org/ml/crossgcc/2012-09/msg00144.html

Signed-off-by: Johannes Stezenbach <js@sig21.net>
[yann.morin.1998@free.fr: integrate in the fault handler]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Johannes Stezenbach <js@sig21.net>
Patchwork-Id: 191571
Patchwork-Id: 191668
mgl@1965
     1
# Test suite config options
mgl@1965
     2
mgl@1965
     3
if EXPERIMENTAL
mgl@1965
     4
mgl@1965
     5
menu "Test suite"
mgl@1965
     6
mgl@1965
     7
config TEST_SUITE
mgl@1965
     8
    bool
mgl@1965
     9
mgl@1965
    10
config TEST_SUITE_GCC
mgl@1965
    11
    bool
mgl@1965
    12
    prompt "GCC test suite"
mgl@1965
    13
    depends on EXPERIMENTAL
mgl@1965
    14
    select TEST_SUITE
mgl@1965
    15
    help
mgl@1965
    16
      Select this option to install the GCC test suite in $CT_PREFIX_DIR/test_suite.
mgl@1965
    17
mgl@1965
    18
      The GCC test suite includes a collection of various toolchain tests for GCC -
mgl@1965
    19
      it utilizes the DejaGnu test framework.
mgl@1965
    20
mgl@1965
    21
      For some tests a network enabled target with ssh server is required.
mgl@1965
    22
benoit@2484
    23
      A helper Makefile is provided for running the tests - please see the included
mgl@1965
    24
      README for information on how to run the test suite.
mgl@1965
    25
mgl@1965
    26
endmenu
mgl@1965
    27
mgl@1965
    28
endif