config/test_suite.in
author Anthony Foiani <anthony.foiani@gmail.com>
Thu Apr 26 19:55:59 2012 -0600 (2012-04-26)
changeset 2939 58974be61289
parent 1965 e3d532dd8b5d
child 3150 1d6fd9bde73c
permissions -rw-r--r--
Allow multi-word "install" command.

Autoconf can determine that the correct install command includes flags,
e.g., "/usr/bin/install -c". When using this as a command, we can't
enclose the value in double-quotes, as that makes some shells use the
whole expression as a filename:

# this is the value returned by autoconf and stored in CT_install
$ ins="/usr/bin/install -c"

# if we call it with quotes, the command is not found
$ "${ins}"
bash: /usr/bin/install -c: No such file or directory

# removing the quotes lets it work as expected
$ ${ins}
/usr/bin/install: missing file operand
Try `/usr/bin/install --help' for more information.

Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>
     1 # Test suite config options
     2 
     3 if EXPERIMENTAL
     4 
     5 menu "Test suite"
     6 
     7 config TEST_SUITE
     8     bool
     9 
    10 config TEST_SUITE_GCC
    11     bool
    12     prompt "GCC test suite"
    13     depends on EXPERIMENTAL
    14     select TEST_SUITE
    15     help
    16       Select this option to install the GCC test suite in $CT_PREFIX_DIR/test_suite.
    17 
    18       The GCC test suite includes a collection of various toolchain tests for GCC -
    19       it utilizes the DejaGnu test framework.
    20 
    21       For some tests a network enabled target with ssh server is required.
    22 
    23       A helper Makefile is provided for running the tests - please see the included
    24       README for information on how to run the test suite.
    25 
    26 endmenu
    27 
    28 endif