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>
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