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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [lib/] [dejapatches.exp] - Blame information for rev 701

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 701 jeremybenn
#   Copyright (C) 2008 Free Software Foundation, Inc.
2
 
3
# This program is free software; you can redistribute it and/or modify
4
# it under the terms of the GNU General Public License as published by
5
# the Free Software Foundation; either version 3 of the License, or
6
# (at your option) any later version.
7
#
8
# This program is distributed in the hope that it will be useful,
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11
# GNU General Public License for more details.
12
#
13
# You should have received a copy of the GNU General Public License
14
# along with GCC; see the file COPYING3.  If not see
15
# .
16
 
17
# Necessary procs and fallbacks for functionality not present in
18
# pristine dejagnu-1.4.4.  Make sure overrides here work with updated
19
# dejagnu too.
20
 
21
# The absence of sim_download will cause e.g. the libstdc++ testsuite
22
# to expose about 59 more FAILs on simulator targets supporting
23
# fileio.
24
 
25
if { [info procs sim_download] == "" } {
26
    proc sim_download { dest file args } {
27
        return [remote_download host $file $args]
28
    }
29
}
30
 
31
if { [info procs sim_upload] == "" } {
32
    proc sim_upload { dest srcfile args } {
33
        return [remote_upload host $srcfile $args]
34
    }
35
}

powered by: WebSVN 2.1.0

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