OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [libstdc++-v3/] [testsuite/] [lib/] [dg-options.exp] - Blame information for rev 20

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 19 jlechner
# Handlers for additional dg-xxx keywords in tests.
2
 
3
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
4
#
5
# This program is free software; you can redistribute it and/or modify
6
# it under the terms of the GNU General Public License as published by
7
# the Free Software Foundation; either version 2 of the License, or
8
# (at your option) any later version.
9
#
10
# This program is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
# GNU General Public License for more details.
14
#
15
# You should have received a copy of the GNU General Public License
16
# along with this program; if not, write to the Free Software
17
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18
 
19
 
20
# Copied from GCC.
21
proc dg-require-iconv { args } {
22
    if { ![ check_iconv_available ${args} ] } {
23
        upvar dg-do-what dg-do-what
24
        set dg-do-what [list [lindex ${dg-do-what} 0] "N" "P"]
25
        return
26
    }
27
    return
28
}
29
 
30
proc dg-require-namedlocale { args } {
31
    if { ![ check_v3_target_namedlocale ] } {
32
        upvar dg-do-what dg-do-what
33
        set dg-do-what [list [lindex ${dg-do-what} 0] "N" "P"]
34
        return
35
    }
36
    return
37
}
38
 
39
proc dg-require-cxa-atexit { args } {
40
    if { ![ check_v3_target_cxa_atexit ] } {
41
        upvar dg-do-what dg-do-what
42
        set dg-do-what [list [lindex ${dg-do-what} 0] "N" "P"]
43
        return
44
    }
45
    return
46
}
47
 
48
proc dg-require-sharedlib { args } {
49
    if { ![ check_v3_target_sharedlib ] } {
50
        upvar dg-do-what dg-do-what
51
        set dg-do-what [list [lindex ${dg-do-what} 0] "N" "P"]
52
        return
53
    }
54
    return
55
}
56
 
57
proc dg-require-debug-mode { args } {
58
    if { ![ check_v3_target_debug_mode ] } {
59
        upvar dg-do-what dg-do-what
60
        set dg-do-what [list [lindex ${dg-do-what} 0] "N" "P"]
61
        return
62
    }
63
    return
64
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.