mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-24 23:36:15 +08:00
2005-09-01 Benjamin Kosnik <bkoz@redhat.com> * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): New. * testsuite/lib/dg-options.exp (dg-require-cxa-atexit): New. * testsuite/ext/mt_allocator/deallocate_local-6.cc: New. * testsuite/ext/mt_allocator/deallocate_local-8.cc: New. * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: New. * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: New. * docs/html/ext/mt_allocator.html: Add link to examples. * testsuite/testsuite_allocator.h: Tweak. * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same. * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same. * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same. * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same. * testsuite/ext/mt_allocator/deallocate_local-2.cc: Same. * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same. * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same. * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same. * testsuite/ext/new_allocator/deallocate_global.cc: Same. * testsuite/ext/new_allocator/deallocate_local.cc: Same. From-SVN: r103721
47 lines
1.4 KiB
Plaintext
47 lines
1.4 KiB
Plaintext
# Handlers for additional dg-xxx keywords in tests.
|
|
|
|
# Copyright (C) 2004, 2005 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
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# 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.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, write to the Free Software
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
|
|
# Copied from GCC.
|
|
proc dg-require-iconv { args } {
|
|
if { ![ check_iconv_available ${args} ] } {
|
|
upvar dg-do-what dg-do-what
|
|
set dg-do-what [list [lindex ${dg-do-what} 0] "N" "P"]
|
|
return
|
|
}
|
|
return
|
|
}
|
|
|
|
proc dg-require-namedlocale { args } {
|
|
if { ![ check_v3_target_namedlocale ] } {
|
|
upvar dg-do-what dg-do-what
|
|
set dg-do-what [list [lindex ${dg-do-what} 0] "N" "P"]
|
|
return
|
|
}
|
|
return
|
|
}
|
|
|
|
proc dg-require-cxa-atexit { args } {
|
|
if { ![ check_v3_target_cxa_atexit ] } {
|
|
upvar dg-do-what dg-do-what
|
|
set dg-do-what [list [lindex ${dg-do-what} 0] "N" "P"]
|
|
return
|
|
}
|
|
return
|
|
}
|