URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Go to most recent revision |
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
12 |
jlechner |
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004
|
2 |
|
|
# Free Software Foundation, Inc.
|
3 |
|
|
|
4 |
|
|
# This program is free software; you can redistribute it and/or modify
|
5 |
|
|
# it under the terms of the GNU General Public License as published by
|
6 |
|
|
# the Free Software Foundation; either version 2 of the License, or
|
7 |
|
|
# (at your option) any later version.
|
8 |
|
|
#
|
9 |
|
|
# This program is distributed in the hope that it will be useful,
|
10 |
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11 |
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12 |
|
|
# GNU General Public License for more details.
|
13 |
|
|
#
|
14 |
|
|
# You should have received a copy of the GNU General Public License
|
15 |
|
|
# along with this program; if not, write to the Free Software
|
16 |
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
17 |
|
|
|
18 |
|
|
load_lib gcc-dg.exp
|
19 |
|
|
|
20 |
|
|
# Define gcc callbacks for dg.exp.
|
21 |
|
|
|
22 |
|
|
proc treelang-dg-test { prog do_what extra_tool_flags } {
|
23 |
|
|
return [gcc-dg-test-1 treelang_target_compile $prog $do_what $extra_tool_flags]
|
24 |
|
|
}
|
25 |
|
|
|
26 |
|
|
proc treelang-dg-prune { system text } {
|
27 |
|
|
return [gcc-dg-prune $system $text]
|
28 |
|
|
}
|
29 |
|
|
|
30 |
|
|
# Utility routines.
|
31 |
|
|
|
32 |
|
|
# Modified dg-runtest that can cycle through a list of optimization options
|
33 |
|
|
# as c-torture does.
|
34 |
|
|
proc treelang-dg-runtest { testcases default-extra-flags } {
|
35 |
|
|
return [gcc-dg-runtest $testcases ${default-extra-flags}]
|
36 |
|
|
}
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.