format.exp: New file.
* gcc.dg/format/format.exp: New file. * gcc.dg/c90-printf-1.c: Rename to gcc.dg/format/c90-printf-1.c. * gcc.dg/c90-printf-2.c: Rename to gcc.dg/format/c90-printf-2.c. * gcc.dg/c90-printf-3.c: Rename to gcc.dg/format/c90-printf-3.c. * gcc.dg/c94-printf-1.c: Rename to gcc.dg/format/c94-printf-1.c. * gcc.dg/c99-printf-1.c: Rename to gcc.dg/format/c99-printf-1.c. * gcc.dg/c99-printf-2.c: Rename to gcc.dg/format/c99-printf-2.c. * gcc.dg/c99-printf-3.c: Rename to gcc.dg/format/c99-printf-3.c. * gcc.dg/c90-scanf-1.c: Rename to gcc.dg/format/c90-scanf-1.c. * gcc.dg/c90-scanf-2.c: Rename to gcc.dg/format/c90-scanf-2.c. * gcc.dg/c90-scanf-3.c: Rename to gcc.dg/format/c90-scanf-3.c. * gcc.dg/c90-scanf-4.c: Rename to gcc.dg/format/c90-scanf-4.c. * gcc.dg/c94-scanf-1.c: Rename to gcc.dg/format/c94-scanf-1.c. * gcc.dg/c99-scanf-1.c: Rename to gcc.dg/format/c99-scanf-1.c. * gcc.dg/c99-scanf-2.c: Rename to gcc.dg/format/c99-scanf-2.c. * gcc.dg/c99-scanf-3.c: Rename to gcc.dg/format/c99-scanf-3.c. * gcc.dg/c90-strftime-1.c: Rename to gcc.dg/format/c90-strftime-1.c. * gcc.dg/c90-strftime-2.c: Rename to gcc.dg/format/c90-strftime-2.c. * gcc.dg/c99-strftime-1.c: Rename to gcc.dg/format/c99-strftime-1.c. * gcc.dg/c99-strftime-2.c: Rename to gcc.dg/format/c99-strftime-2.c. * gcc.dg/format-array-1.c: Rename to gcc.dg/format/array-1.c. * gcc.dg/format-attr-1.c: Rename to gcc.dg/format/attr-1.c. * gcc.dg/format-branch-1.c: Rename to gcc.dg/format/branch-1.c. * gcc.dg/format-diag-1.c: Rename to gcc.dg/format/diag-1.c. * gcc.dg/format-errmk-1.c: Rename to gcc.dg/format/errmk-1.c. * gcc.dg/format-ext-1.c: Rename to gcc.dg/format/ext-1.c. * gcc.dg/format-ext-2.c: Rename to gcc.dg/format/ext-2.c. * gcc.dg/format-ext-3.c: Rename to gcc.dg/format/ext-3.c. * gcc.dg/format-ext-4.c: Rename to gcc.dg/format/ext-4.c. * gcc.dg/format-ext-5.c: Rename to gcc.dg/format/ext-5.c. * gcc.dg/format-miss-1.c: Rename to gcc.dg/format/miss-1.c. * gcc.dg/format-miss-2.c: Rename to gcc.dg/format/miss-2.c. * gcc.dg/format-no-exargs-1.c: Rename to gcc.dg/format/no-exargs-1.c. * gcc.dg/format-no-y2k-1.c: Rename to gcc.dg/format/no-y2k-1.c. * gcc.dg/format-nonlit-1.c: Rename to gcc.dg/format/nonlit-1.c. * gcc.dg/format-nonlit-2.c: Rename to gcc.dg/format/nonlit-2.c. * gcc.dg/format-nonlit-3.c: Rename to gcc.dg/format/nonlit-3.c. * gcc.dg/format-sec-1.c: Rename to gcc.dg/format/sec-1.c. * gcc.dg/format-strfmon-1.c: Rename to gcc.dg/format/strfmon-1.c. * gcc.dg/format-va-1.c: Rename to gcc.dg/format/va-1.c. * gcc.dg/format-warnll-1.c: Rename to gcc.dg/format/warnll-1.c. * gcc.dg/format-xopen-1.c: Rename to gcc.dg/format/xopen-1.c. * gcc.dg/formatz-1.c: Rename to gcc.dg/format/z-1.c. From-SVN: r38749
This commit is contained in:
parent
fa6f74f611
commit
cd5662732a
@ -1,3 +1,49 @@
|
||||
2001-01-06 Joseph S. Myers <jsm28@cam.ac.uk>
|
||||
|
||||
* gcc.dg/format/format.exp: New file.
|
||||
* gcc.dg/c90-printf-1.c: Rename to gcc.dg/format/c90-printf-1.c.
|
||||
* gcc.dg/c90-printf-2.c: Rename to gcc.dg/format/c90-printf-2.c.
|
||||
* gcc.dg/c90-printf-3.c: Rename to gcc.dg/format/c90-printf-3.c.
|
||||
* gcc.dg/c94-printf-1.c: Rename to gcc.dg/format/c94-printf-1.c.
|
||||
* gcc.dg/c99-printf-1.c: Rename to gcc.dg/format/c99-printf-1.c.
|
||||
* gcc.dg/c99-printf-2.c: Rename to gcc.dg/format/c99-printf-2.c.
|
||||
* gcc.dg/c99-printf-3.c: Rename to gcc.dg/format/c99-printf-3.c.
|
||||
* gcc.dg/c90-scanf-1.c: Rename to gcc.dg/format/c90-scanf-1.c.
|
||||
* gcc.dg/c90-scanf-2.c: Rename to gcc.dg/format/c90-scanf-2.c.
|
||||
* gcc.dg/c90-scanf-3.c: Rename to gcc.dg/format/c90-scanf-3.c.
|
||||
* gcc.dg/c90-scanf-4.c: Rename to gcc.dg/format/c90-scanf-4.c.
|
||||
* gcc.dg/c94-scanf-1.c: Rename to gcc.dg/format/c94-scanf-1.c.
|
||||
* gcc.dg/c99-scanf-1.c: Rename to gcc.dg/format/c99-scanf-1.c.
|
||||
* gcc.dg/c99-scanf-2.c: Rename to gcc.dg/format/c99-scanf-2.c.
|
||||
* gcc.dg/c99-scanf-3.c: Rename to gcc.dg/format/c99-scanf-3.c.
|
||||
* gcc.dg/c90-strftime-1.c: Rename to gcc.dg/format/c90-strftime-1.c.
|
||||
* gcc.dg/c90-strftime-2.c: Rename to gcc.dg/format/c90-strftime-2.c.
|
||||
* gcc.dg/c99-strftime-1.c: Rename to gcc.dg/format/c99-strftime-1.c.
|
||||
* gcc.dg/c99-strftime-2.c: Rename to gcc.dg/format/c99-strftime-2.c.
|
||||
* gcc.dg/format-array-1.c: Rename to gcc.dg/format/array-1.c.
|
||||
* gcc.dg/format-attr-1.c: Rename to gcc.dg/format/attr-1.c.
|
||||
* gcc.dg/format-branch-1.c: Rename to gcc.dg/format/branch-1.c.
|
||||
* gcc.dg/format-diag-1.c: Rename to gcc.dg/format/diag-1.c.
|
||||
* gcc.dg/format-errmk-1.c: Rename to gcc.dg/format/errmk-1.c.
|
||||
* gcc.dg/format-ext-1.c: Rename to gcc.dg/format/ext-1.c.
|
||||
* gcc.dg/format-ext-2.c: Rename to gcc.dg/format/ext-2.c.
|
||||
* gcc.dg/format-ext-3.c: Rename to gcc.dg/format/ext-3.c.
|
||||
* gcc.dg/format-ext-4.c: Rename to gcc.dg/format/ext-4.c.
|
||||
* gcc.dg/format-ext-5.c: Rename to gcc.dg/format/ext-5.c.
|
||||
* gcc.dg/format-miss-1.c: Rename to gcc.dg/format/miss-1.c.
|
||||
* gcc.dg/format-miss-2.c: Rename to gcc.dg/format/miss-2.c.
|
||||
* gcc.dg/format-no-exargs-1.c: Rename to gcc.dg/format/no-exargs-1.c.
|
||||
* gcc.dg/format-no-y2k-1.c: Rename to gcc.dg/format/no-y2k-1.c.
|
||||
* gcc.dg/format-nonlit-1.c: Rename to gcc.dg/format/nonlit-1.c.
|
||||
* gcc.dg/format-nonlit-2.c: Rename to gcc.dg/format/nonlit-2.c.
|
||||
* gcc.dg/format-nonlit-3.c: Rename to gcc.dg/format/nonlit-3.c.
|
||||
* gcc.dg/format-sec-1.c: Rename to gcc.dg/format/sec-1.c.
|
||||
* gcc.dg/format-strfmon-1.c: Rename to gcc.dg/format/strfmon-1.c.
|
||||
* gcc.dg/format-va-1.c: Rename to gcc.dg/format/va-1.c.
|
||||
* gcc.dg/format-warnll-1.c: Rename to gcc.dg/format/warnll-1.c.
|
||||
* gcc.dg/format-xopen-1.c: Rename to gcc.dg/format/xopen-1.c.
|
||||
* gcc.dg/formatz-1.c: Rename to gcc.dg/format/z-1.c.
|
||||
|
||||
2001-01-05 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
* gcc.c-torture/execute/991228-1.c: Take word endianness into
|
||||
|
61
gcc/testsuite/gcc.dg/format/format.exp
Normal file
61
gcc/testsuite/gcc.dg/format/format.exp
Normal file
@ -0,0 +1,61 @@
|
||||
# Copyright (C) 1997, 2000, 2001 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
# Please email any bugs, comments, and/or additions to this file to:
|
||||
# bug-gcc@prep.ai.mit.edu
|
||||
|
||||
# Don't run this directory with any default CFLAGS, but run tests with
|
||||
# and without -DWIDE.
|
||||
|
||||
if [info exists TORTURE_OPTIONS] {
|
||||
set old_TORTURE_OPTIONS $TORTURE_OPTIONS
|
||||
} elseif [info exists old_TORTURE_OPTIONS] {
|
||||
unset old_TORTURE_OPTIONS
|
||||
}
|
||||
if [info exists torture_with_loops] {
|
||||
set old_torture_with_loops $torture_with_loops
|
||||
} elseif [info exists old_torture_with_loops] {
|
||||
unset old_torture_with_loops
|
||||
}
|
||||
if [info exists torture_without_loops] {
|
||||
set old_torture_without_loops $torture_without_loops
|
||||
} elseif [info exists old_torture_without_loops] {
|
||||
unset old_torture_without_loops
|
||||
}
|
||||
set TORTURE_OPTIONS [list { } { -DWIDE } ]
|
||||
set torture_with_loops [list { } { -DWIDE } ]
|
||||
set torture_without_loops [list { } { -DWIDE } ]
|
||||
|
||||
load_lib gcc-dg.exp
|
||||
|
||||
dg-init
|
||||
gcc-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[cS\]]] ""
|
||||
if [info exists old_TORTURE_OPTIONS] {
|
||||
set TORTURE_OPTIONS $old_TORTURE_OPTIONS
|
||||
} else {
|
||||
unset TORTURE_OPTIONS
|
||||
}
|
||||
if [info exists old_torture_with_loops] {
|
||||
set torture_with_loops $old_torture_with_loops
|
||||
} else {
|
||||
unset torture_with_loops
|
||||
}
|
||||
if [info exists old_torture_without_loops] {
|
||||
set torture_without_loops $old_torture_without_loops
|
||||
} else {
|
||||
unset torture_without_loops
|
||||
}
|
||||
dg-finish
|
Loading…
Reference in New Issue
Block a user