2010-11-15 21:30:37 +01:00
|
|
|
# Copyright (C) 2003, 2006, 2009, 2010 Free Software Foundation, Inc.
|
2003-09-04 16:49:22 +02:00
|
|
|
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
2009-04-09 17:00:19 +02:00
|
|
|
# the Free Software Foundation; either version 3 of the License, or
|
2003-09-04 16:49:22 +02:00
|
|
|
# (at your option) any later version.
|
2006-03-01 00:18:01 +01:00
|
|
|
#
|
2003-09-04 16:49:22 +02:00
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
2006-03-01 00:18:01 +01:00
|
|
|
#
|
2003-09-04 16:49:22 +02:00
|
|
|
# You should have received a copy of the GNU General Public License
|
2009-04-09 17:00:19 +02:00
|
|
|
# along with this program; see the file COPYING3. If not see
|
|
|
|
# <http://www.gnu.org/licenses/>.
|
2003-09-04 16:49:22 +02:00
|
|
|
|
|
|
|
dg-init
|
|
|
|
libffi-init
|
|
|
|
|
|
|
|
global srcdir subdir
|
|
|
|
|
|
|
|
global cxx_options
|
|
|
|
|
2005-01-12 10:06:52 +01:00
|
|
|
set cxx_options " -shared-libgcc -lstdc++"
|
2003-09-04 16:49:22 +02:00
|
|
|
|
2006-03-01 00:18:01 +01:00
|
|
|
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"
|
2003-09-04 16:49:22 +02:00
|
|
|
|
|
|
|
dg-finish
|
|
|
|
|
|
|
|
# Local Variables:
|
|
|
|
# tcl-indent-level:4
|
|
|
|
# End:
|