Don't run EH tests with non-GNU compiler
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
2013-01-10 Anthony Green <green@moxielogic.com>
|
||||
|
||||
* testsuite/libffi.special/special.exp: Only run exception
|
||||
handling tests when using GNU compiler.
|
||||
|
||||
* m4/ax_compiler_vendor.m4: New file.
|
||||
* configure.ac: Test for compiler vendor and don't use
|
||||
AX_CFLAGS_WARN_ALL with the sun compiler.
|
||||
|
||||
@@ -23,10 +23,14 @@ global cxx_options
|
||||
|
||||
set cxx_options " -shared-libgcc -lstdc++"
|
||||
|
||||
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.cc]] $cxx_options "-O0 -W -Wall"
|
||||
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.cc]] $cxx_options "-O2"
|
||||
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.cc]] $cxx_options "-O3"
|
||||
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.cc]] $cxx_options "-Os"
|
||||
if { [string match $using_gcc "yes"] } {
|
||||
|
||||
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.cc]] $cxx_options "-O0 -W -Wall"
|
||||
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.cc]] $cxx_options "-O2"
|
||||
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.cc]] $cxx_options "-O3"
|
||||
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.cc]] $cxx_options "-Os"
|
||||
|
||||
}
|
||||
|
||||
dg-finish
|
||||
|
||||
|
||||
Reference in New Issue
Block a user