Skip optional_mthumb tests if GCC has a default mode
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Fri, 20 Jan 2017 15:29:21 +0000 (15:29 +0000)
committerThomas Preud'homme <thopre01@gcc.gnu.org>
Fri, 20 Jan 2017 15:29:21 +0000 (15:29 +0000)
commit449cd5af046c35e021ff0a6261c728479ae6fb91
tree707571242512a63ab07685f563273fd96e5ec9e4
parent12905f106c1cc8c6757038e3c41df478077bb870
Skip optional_mthumb tests if GCC has a default mode

2017-01-20  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/testsuite/
    * lib/target-supports.exp (check_configured_with): New procedure.
    (check_effective_target_default_mode): new effective target.
    * gcc.target/arm/optional_thumb-1.c: Skip if GCC was configured with a
    default mode.  Fix dg-skip-if target selector syntax.
    * gcc.target/arm/optional_thumb-2.c: Likewise.
    * gcc.target/arm/optional_thumb-3.c: Fix dg-skip-if target selector
    syntax.

From-SVN: r244723
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/optional_thumb-1.c
gcc/testsuite/gcc.target/arm/optional_thumb-2.c
gcc/testsuite/gcc.target/arm/optional_thumb-3.c
gcc/testsuite/lib/target-supports.exp