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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libitm/] [testsuite/] [libitm.c/] [c.exp] - Blame information for rev 758

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

Line No. Rev Author Line
1 737 jeremybenn
# This program is free software; you can redistribute it and/or modify
2
# it under the terms of the GNU General Public License as published by
3
# the Free Software Foundation; either version 2 of the License, or
4
# (at your option) any later version.
5
#
6
# This program is distributed in the hope that it will be useful,
7
# but WITHOUT ANY WARRANTY; without even the implied warranty of
8
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
9
# GNU General Public License for more details.
10
#
11
# You should have received a copy of the GNU General Public License
12
# along with this program; if not, write to the Free Software
13
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14
 
15
if [info exists lang_library_path] then {
16
    unset lang_library_path
17
    unset lang_link_flags
18
}
19
if [info exists lang_test_file] then {
20
    unset lang_test_file
21
}
22
 
23
load_lib libitm-dg.exp
24
 
25
# If a testcase doesn't have special options, use these.
26
if ![info exists DEFAULT_CFLAGS] then {
27
    set DEFAULT_CFLAGS "-O2"
28
}
29
 
30
# Initialize dg.
31
dg-init
32
 
33
# Gather a list of all tests.
34
set tests [lsort [find $srcdir/$subdir *.c]]
35
 
36
set ld_library_path $always_ld_library_path
37
append ld_library_path [gcc-set-multilib-library-path $GCC_UNDER_TEST]
38
set_ld_library_path_env_vars
39
 
40
# Main loop.
41
dg-runtest $tests "" $DEFAULT_CFLAGS
42
 
43
# All done.
44
dg-finish

powered by: WebSVN 2.1.0

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