aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Larmour <jlarmour@redhat.com>2001-01-10 04:19:31 +0000
committerJeff Law <law@gcc.gnu.org>2001-01-09 21:19:31 -0700
commit2830551dc4bfd603ba186b41191cd42e278bed34 (patch)
treec9f1ef63fd87ac01ef6afa80703fd8e706b6d4be
parentb2fb49148e64b18f6375f508e0bb84d86dddebba (diff)
downloadgcc-2830551dc4bfd603ba186b41191cd42e278bed34.zip
gcc-2830551dc4bfd603ba186b41191cd42e278bed34.tar.gz
gcc-2830551dc4bfd603ba186b41191cd42e278bed34.tar.bz2
20000419-2.c: Move to "special" subdirectory.
* gcc.dg/20000419-2.c: Move to "special" subdirectory. * gcc.dg/special/20000419-2.c: New file. Identical to above. * gcc.dg/special/special.exp: New test driver which will check for alias support for the above test. From-SVN: r38852
-rw-r--r--gcc/testsuite/ChangeLog7
-rw-r--r--gcc/testsuite/gcc.dg/special/20000419-2.c (renamed from gcc/testsuite/gcc.dg/20000419-2.c)0
-rw-r--r--gcc/testsuite/gcc.dg/special/special.exp40
3 files changed, 47 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 82ccbab..48d6191 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2001-01-08 Jonathan Larmour <jlarmour@redhat.com>
+
+ * gcc.dg/20000419-2.c: Move to "special" subdirectory.
+ * gcc.dg/special/20000419-2.c: New file. Identical to above.
+ * gcc.dg/special/special.exp: New test driver which will check
+ for alias support for the above test.
+
2001-01-09 Alan Lehotsky <lehotsky@tiac.net>
* gcc.c-torture/execute/921202-1.c: Use STACK_SIZE to avoid
diff --git a/gcc/testsuite/gcc.dg/20000419-2.c b/gcc/testsuite/gcc.dg/special/20000419-2.c
index 05e4729..05e4729 100644
--- a/gcc/testsuite/gcc.dg/20000419-2.c
+++ b/gcc/testsuite/gcc.dg/special/20000419-2.c
diff --git a/gcc/testsuite/gcc.dg/special/special.exp b/gcc/testsuite/gcc.dg/special/special.exp
new file mode 100644
index 0000000..25c4412
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/special/special.exp
@@ -0,0 +1,40 @@
+# Copyright (C) 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:
+# jlarmour@redhat.com
+
+# This file was written by Jonathan Larmour (jlarmour@redhat.com).
+
+# GCC testsuite that uses the `dg.exp' driver.
+
+# Load support procs.
+load_lib gcc-dg.exp
+
+##############
+# 20000419-2.c
+##############
+
+dg-init
+switch [check_alias_available "$srcdir/$subdir/20000419-2.c"] {
+ yes { dg-runtest "$srcdir/$subdir/20000419-2.c" "" "" }
+ no { unsupported "20000419-2.c" }
+ default { fail "20000419-2.c" }
+}
+dg-finish
+
+
+### EOF special.exp