# This testcase is part of GDB, the GNU debugger.
-# Copyright 2010-2013 Free Software Foundation, Inc.
+# Copyright 2010-2017 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
# 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.
return 0
}
-if { [prepare_for_testing $testfile.exp $testfile $testfile.c {debug}] } {
+if { [prepare_for_testing "failed to prepare" $testfile $testfile.c {debug}] } {
return -1
}