diff options
Diffstat (limited to 'libstdc++-v3/testsuite/libstdc++-v3.dg/dg.exp')
-rw-r--r-- | libstdc++-v3/testsuite/libstdc++-v3.dg/dg.exp | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/libstdc++-v3/testsuite/libstdc++-v3.dg/dg.exp b/libstdc++-v3/testsuite/libstdc++-v3.dg/dg.exp index 4e0dd07dbaa..bad12dc31dc 100644 --- a/libstdc++-v3/testsuite/libstdc++-v3.dg/dg.exp +++ b/libstdc++-v3/testsuite/libstdc++-v3.dg/dg.exp @@ -1,4 +1,4 @@ -# Copyright (C) 2001, 2002 Free Software Foundation, Inc. +# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. # 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 @@ -22,23 +22,13 @@ load_lib libstdc++-v3-dg.exp # If a testcase doesn't have special options, use these. global DEFAULT_CXXFLAGS if ![info exists DEFAULT_CXXFLAGS] then { - set DEFAULT_CXXFLAGS " -DDEBUG_ASSERT" + set DEFAULT_CXXFLAGS "-g -O2 -DDEBUG_ASSERT" } # Initialize 'dg' last or dejagnu exits with an error... libstdc++-v3-init dg-init - -## Set ulimits. -## This should normally be handled on a per-test basis through @xxx@-keywords. -## The following limit is expressed in kilobytes. For history, have a -## look at http://gcc.gnu.org/ml/libstdc++/2000-10/msg00029.html -set maximum-memory-usage 16384 -set shell-ulimit-command ulimit -remote_exec host ${shell-ulimit-command} "-d ${maximum-memory-usage}" -remote_exec host ${shell-ulimit-command} "-v ${maximum-memory-usage}" - # Main loop. dg-runtest [libstdc++-v3-list-sourcefiles] "" $DEFAULT_CXXFLAGS |