OLD | NEW |
1 # Copyright (C) 1997, 2000, 2003, 2007 Free Software Foundation, Inc. | 1 # Copyright (C) 1997, 2000, 2003, 2007 Free Software Foundation, Inc. |
2 | 2 |
3 # This program is free software; you can redistribute it and/or modify | 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 | 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 | 5 # the Free Software Foundation; either version 3 of the License, or |
6 # (at your option) any later version. | 6 # (at your option) any later version. |
7 # | 7 # |
8 # This program is distributed in the hope that it will be useful, | 8 # This program is distributed in the hope that it will be useful, |
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
(...skipping 19 matching lines...) Expand all Loading... |
30 global DEFAULT_CFLAGS | 30 global DEFAULT_CFLAGS |
31 if ![info exists DEFAULT_CFLAGS] then { | 31 if ![info exists DEFAULT_CFLAGS] then { |
32 set DEFAULT_CFLAGS " -ansi -pedantic-errors" | 32 set DEFAULT_CFLAGS " -ansi -pedantic-errors" |
33 } | 33 } |
34 | 34 |
35 # Initialize `dg'. | 35 # Initialize `dg'. |
36 dg-init | 36 dg-init |
37 | 37 |
38 # Main loop. | 38 # Main loop. |
39 dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{c,S} ]] \ | 39 dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{c,S} ]] \ |
40 » "-fno-show-column" $DEFAULT_CFLAGS | 40 » "" $DEFAULT_CFLAGS |
41 | 41 |
42 # All done. | 42 # All done. |
43 dg-finish | 43 dg-finish |
OLD | NEW |