config/test_suite.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Jan 28 22:06:49 2011 +0100 (2011-01-28)
changeset 2284 7ede374110e5
child 2484 d1a8c2ae7946
permissions -rw-r--r--
config: add an option not to remove the destination directory

In certain circumstances, removing the destination/installation directory
is a bad idea. For example, when the build environment is already taking
care of sanitising the build tree, and pre-installs stuff in there, it is
a very bad idea to remove the destination directory.

This happens now in buildroot, as the crostool-NG backend now installs the
toolchain in the common host-tools directory, and pre-install there a few
host-utilities (eg. host-automake and host-gawk).

Provide a config knob to turn on/off the removal of the destination
directory, defaulting to 'y' (previous behavior), and forced to 'n' when
used as a backend.

Reported-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 # Test suite config options
     2 
     3 if EXPERIMENTAL
     4 
     5 menu "Test suite"
     6 
     7 config TEST_SUITE
     8     bool
     9     default n
    10 
    11 config TEST_SUITE_GCC
    12     bool
    13     prompt "GCC test suite"
    14     depends on EXPERIMENTAL
    15     default n
    16     select TEST_SUITE
    17     help
    18       Select this option to install the GCC test suite in $CT_PREFIX_DIR/test_suite.
    19 
    20       The GCC test suite includes a collection of various toolchain tests for GCC -
    21       it utilizes the DejaGnu test framework.
    22 
    23       For some tests a network enabled target with ssh server is required.
    24 
    25       A helper Makefile is provided for running the tests - please see the included 
    26       README for information on how to run the test suite.
    27 
    28 endmenu
    29 
    30 endif