diff options
author | François Dumont <francois.cppdevs@free.fr> | 2010-11-26 21:29:01 +0100 |
---|---|---|
committer | François Dumont <fdumont@gcc.gnu.org> | 2010-11-26 20:29:01 +0000 |
commit | bcd93c00abf72a5e820a32db5d9dd97603b407ea (patch) | |
tree | c2c18e2d66792407c4ffaf4014b81dc35d76f798 /libstdc++-v3/testsuite/ext | |
parent | 556618c1b3931eeee3f9da0c1c4217b4f67d470a (diff) | |
download | gcc-bcd93c00abf72a5e820a32db5d9dd97603b407ea.zip gcc-bcd93c00abf72a5e820a32db5d9dd97603b407ea.tar.gz gcc-bcd93c00abf72a5e820a32db5d9dd97603b407ea.tar.bz2 |
libstdc++.exp [...]: Use remote_file delete for generated exe.
2010-11-26 François Dumont <francois.cppdevs@free.fr>
* testsuite/lib/libstdc++.exp [check_v3_target_debug_mode]: Use
remote_file delete for generated exe. [check_v3_target_profile_mode]
Add.
* testsuite/lib/dg-options.exp [dg-require-profile-mode]: Add
* testsuite/ext/profile/mh.cc, profiler_algos.cc, all.cc: Use
dg-require-profile-mode, remove explicit _GLIBCXX_PROFILE definition.
From-SVN: r167188
Diffstat (limited to 'libstdc++-v3/testsuite/ext')
-rw-r--r-- | libstdc++-v3/testsuite/ext/profile/all.cc | 5 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/ext/profile/mh.cc | 2 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/ext/profile/profiler_algos.cc | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/libstdc++-v3/testsuite/ext/profile/all.cc b/libstdc++-v3/testsuite/ext/profile/all.cc index 57a55cc..152901e 100644 --- a/libstdc++-v3/testsuite/ext/profile/all.cc +++ b/libstdc++-v3/testsuite/ext/profile/all.cc @@ -1,5 +1,6 @@ -// { dg-options "-std=gnu++0x -O0 -D_GLIBCXX_PROFILE" } -// { dg-options "-std=gnu++0x -O0 -D_GLIBCXX_PROFILE -D_GLIBCXX_PROFILE_NO_THREADS" { target { ! tls_native } } } +// { dg-require-profile-mode "" } +// { dg-options "-std=gnu++0x -O0" } +// { dg-options "-std=gnu++0x -O0 -D_GLIBCXX_PROFILE_NO_THREADS" { target { ! tls_native } } } // { dg-do compile } // -*- C++ -*- diff --git a/libstdc++-v3/testsuite/ext/profile/mh.cc b/libstdc++-v3/testsuite/ext/profile/mh.cc index 1688ad5..0de83ed 100644 --- a/libstdc++-v3/testsuite/ext/profile/mh.cc +++ b/libstdc++-v3/testsuite/ext/profile/mh.cc @@ -1,4 +1,4 @@ -// { dg-options "-D_GLIBCXX_PROFILE" } +// { dg-require-profile-mode "" } // { dg-do compile { target *-*-linux* } } // { dg-xfail-if "" { uclibc } { "*" } { "" } } diff --git a/libstdc++-v3/testsuite/ext/profile/profiler_algos.cc b/libstdc++-v3/testsuite/ext/profile/profiler_algos.cc index 5963cee..37dfbfe 100644 --- a/libstdc++-v3/testsuite/ext/profile/profiler_algos.cc +++ b/libstdc++-v3/testsuite/ext/profile/profiler_algos.cc @@ -1,4 +1,4 @@ -// { dg-options "-D_GLIBCXX_PROFILE" } +// { dg-require-profile-mode "" } // -*- C++ -*- |