Index: gdb/testsuite/gdb.base/gdb11530.exp |
diff --git a/gdb/testsuite/gdb.base/gdb11530.exp b/gdb/testsuite/gdb.base/gdb11530.exp |
index 65ce00c30307b3c8eef89937f54f4e7d29c413c7..5f80fce8f4ba3d252debf86db3ec1b67ab091862 100644 |
--- a/gdb/testsuite/gdb.base/gdb11530.exp |
+++ b/gdb/testsuite/gdb.base/gdb11530.exp |
@@ -1,6 +1,6 @@ |
# This testcase is part of GDB, the GNU debugger. |
-# Copyright 2010-2012 Free Software Foundation, Inc. |
+# Copyright 2010-2013 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 |
@@ -18,22 +18,21 @@ |
# Test GDB bug report 11530. |
# This is a problem related unnamed unions. |
-set testfile "gdb11530" |
-set binfile ${testfile}${EXEEXT} |
+standard_testfile |
# Unnamed union is a GNU extension, thus we restrict the test |
# to gcc compiler. |
if [get_compiler_info] { |
- return -1; |
+ return -1 |
} |
if { ![test_compiler_info gcc*] } { |
- return 0; |
+ return 0 |
} |
if { [prepare_for_testing $testfile.exp $testfile $testfile.c {debug}] } { |
- return -1; |
+ return -1 |
} |