Mercurial > hg > CbC > CbC_gcc
comparison libgomp/testsuite/libgomp.graphite/graphite.exp @ 55:77e2b8dfacca gcc-4.4.5
update it from 4.4.3 to 4.5.0
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 12 Feb 2010 23:39:51 +0900 |
parents | |
children | 04ced10e8804 |
comparison
equal
deleted
inserted
replaced
52:c156f1bd5cd9 | 55:77e2b8dfacca |
---|---|
1 # Copyright (C) 2009 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 # <http://www.gnu.org/licenses/>. | |
16 | |
17 if [info exists lang_library_path] then { | |
18 unset lang_library_path | |
19 unset lang_link_flags | |
20 } | |
21 if [info exists lang_test_file] then { | |
22 unset lang_test_file | |
23 } | |
24 | |
25 load_lib libgomp-dg.exp | |
26 | |
27 if ![check_effective_target_pthread] { | |
28 return | |
29 } | |
30 | |
31 if ![check_effective_target_fgraphite] { | |
32 return | |
33 } | |
34 | |
35 # Flags for force-parallel-*.c testcases. | |
36 set PARALLEL_CFLAGS "-ansi -pedantic-errors -O2 \ | |
37 -ftree-parallelize-loops=4 -floop-parallelize-all \ | |
38 -fdump-tree-parloops-details -fdump-tree-optimized \ | |
39 -fno-loop-strip-mine -fno-loop-block -fdump-tree-graphite-all" | |
40 | |
41 # Initialize `dg'. | |
42 dg-init | |
43 | |
44 # Gather a list of all tests. | |
45 set tests [lsort [find $srcdir/$subdir *.c]] | |
46 | |
47 set ld_library_path $always_ld_library_path | |
48 append ld_library_path [gcc-set-multilib-library-path $GCC_UNDER_TEST] | |
49 set_ld_library_path_env_vars | |
50 | |
51 # Run the tests | |
52 dg-runtest $tests "" $PARALLEL_CFLAGS | |
53 | |
54 # All done. | |
55 dg-finish |