[gdb/testsuite] Rename *.exp.in to *.exp.tcl

Say we have some common tcl code that we want to include in test-cases
t1.exp and t1.exp.

We could put the common code into a file common.exp alongside the test-cases,
but that will make dejagnu treat that file as another test-case.  To prevent
this, we use a suffix, currently .in, in other words we put the common code in
a file common.exp.in.

The .in suffix however is also used in autoconf, which might cause confusion.

Change the suffix from .in to .tcl.

gdb/testsuite/ChangeLog:

2020-05-15  Tom de Vries  <tdevries@suse.de>

	* gdb.base/align.exp.in: Rename to ...
	* gdb.base/align.exp.tcl: ... this.
	* gdb.base/align-c++.exp: Update.
	* gdb.base/align-c.exp: Update.
	* gdb.base/all-architectures.exp.in: Rename to ...
	* gdb.base/all-architectures.exp: ... this.
	* gdb.base/all-architectures-0.exp: Update.
	* gdb.base/all-architectures-1.exp: Update.
	* gdb.base/all-architectures-2.exp: Update.
	* gdb.base/all-architectures-3.exp: Update.
	* gdb.base/all-architectures-4.exp: Update.
	* gdb.base/all-architectures-5.exp: Update.
	* gdb.base/all-architectures-6.exp: Update.
	* gdb.base/all-architectures-7.exp: Update.
	* gdb.base/infcall-nested-structs.exp.in: Rename to ...
	* gdb.base/infcall-nested-structs.exp.tcl: ... this.
	* gdb.base/infcall-nested-structs-c++.exp: Update.
	* gdb.base/infcall-nested-structs-c.exp: Update.
	* gdb.base/info-types.exp.in: Rename to ...
	* gdb.base/info-types.exp.tcl: ... this.
	* gdb.base/info-types-c++.exp: Update.
	* gdb.base/info-types-c.exp: Update.
	* gdb.base/max-depth.exp.in: Rename to ...
	* gdb.base/max-depth.exp.tcl: ... this.
	* gdb.base/max-depth-c++.exp: Update.
	* gdb.base/max-depth-c.exp: Update.
	* gdb.cp/cpexprs.exp.in: Rename to ...
	* gdb.cp/cpexprs.exp.tcl: ... this.
	* gdb.cp/cpexprs-debug-types.exp: Update.
	* gdb.cp/cpexprs.exp: Update.
	* gdb.cp/infcall-nodebug.exp.in: Rename to ...
	* gdb.cp/infcall-nodebug.exp.tcl: ... this.
	* gdb.cp/infcall-nodebug-c++-d0.exp: Update.
	* gdb.cp/infcall-nodebug-c++-d1.exp: Update.
	* gdb.cp/infcall-nodebug-c-d0.exp: Update.
	* gdb.cp/infcall-nodebug-c-d1.exp: Update.
	* gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
	* gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
	* gdb.dwarf2/clang-debug-names-2.exp: Update.
	* gdb.dwarf2/clang-debug-names.exp: Update.
This commit is contained in:
Tom de Vries 2020-05-15 14:49:48 +02:00
parent d1034d7878
commit 6dbc505a74
33 changed files with 67 additions and 24 deletions

View File

@ -1,3 +1,46 @@
2020-05-15 Tom de Vries <tdevries@suse.de>
* gdb.base/align.exp.in: Rename to ...
* gdb.base/align.exp.tcl: ... this.
* gdb.base/align-c++.exp: Update.
* gdb.base/align-c.exp: Update.
* gdb.base/all-architectures.exp.in: Rename to ...
* gdb.base/all-architectures.exp: ... this.
* gdb.base/all-architectures-0.exp: Update.
* gdb.base/all-architectures-1.exp: Update.
* gdb.base/all-architectures-2.exp: Update.
* gdb.base/all-architectures-3.exp: Update.
* gdb.base/all-architectures-4.exp: Update.
* gdb.base/all-architectures-5.exp: Update.
* gdb.base/all-architectures-6.exp: Update.
* gdb.base/all-architectures-7.exp: Update.
* gdb.base/infcall-nested-structs.exp.in: Rename to ...
* gdb.base/infcall-nested-structs.exp.tcl: ... this.
* gdb.base/infcall-nested-structs-c++.exp: Update.
* gdb.base/infcall-nested-structs-c.exp: Update.
* gdb.base/info-types.exp.in: Rename to ...
* gdb.base/info-types.exp.tcl: ... this.
* gdb.base/info-types-c++.exp: Update.
* gdb.base/info-types-c.exp: Update.
* gdb.base/max-depth.exp.in: Rename to ...
* gdb.base/max-depth.exp.tcl: ... this.
* gdb.base/max-depth-c++.exp: Update.
* gdb.base/max-depth-c.exp: Update.
* gdb.cp/cpexprs.exp.in: Rename to ...
* gdb.cp/cpexprs.exp.tcl: ... this.
* gdb.cp/cpexprs-debug-types.exp: Update.
* gdb.cp/cpexprs.exp: Update.
* gdb.cp/infcall-nodebug.exp.in: Rename to ...
* gdb.cp/infcall-nodebug.exp.tcl: ... this.
* gdb.cp/infcall-nodebug-c++-d0.exp: Update.
* gdb.cp/infcall-nodebug-c++-d1.exp: Update.
* gdb.cp/infcall-nodebug-c-d0.exp: Update.
* gdb.cp/infcall-nodebug-c-d1.exp: Update.
* gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
* gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
* gdb.dwarf2/clang-debug-names-2.exp: Update.
* gdb.dwarf2/clang-debug-names.exp: Update.
2020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
* lib/check-test-names.exp: Remove code that prevents this file

View File

@ -24,4 +24,4 @@ if { [skip_cplus_tests] || [get_compiler_info "c++"] } {
}
set lang c++
source $srcdir/$subdir/align.exp.in
source $srcdir/$subdir/align.exp.tcl

View File

@ -20,4 +20,4 @@
set lang c
source $srcdir/$subdir/align.exp.in
source $srcdir/$subdir/align.exp.tcl

View File

@ -14,4 +14,4 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. */
set test_slice 0
source $srcdir/$subdir/all-architectures.exp.in
source $srcdir/$subdir/all-architectures.exp.tcl

View File

@ -14,4 +14,4 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. */
set test_slice 1
source $srcdir/$subdir/all-architectures.exp.in
source $srcdir/$subdir/all-architectures.exp.tcl

View File

@ -14,4 +14,4 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. */
set test_slice 2
source $srcdir/$subdir/all-architectures.exp.in
source $srcdir/$subdir/all-architectures.exp.tcl

View File

@ -14,4 +14,4 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. */
set test_slice 3
source $srcdir/$subdir/all-architectures.exp.in
source $srcdir/$subdir/all-architectures.exp.tcl

View File

@ -14,4 +14,4 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. */
set test_slice 4
source $srcdir/$subdir/all-architectures.exp.in
source $srcdir/$subdir/all-architectures.exp.tcl

View File

@ -14,4 +14,4 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. */
set test_slice 5
source $srcdir/$subdir/all-architectures.exp.in
source $srcdir/$subdir/all-architectures.exp.tcl

View File

@ -14,4 +14,4 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. */
set test_slice 6
source $srcdir/$subdir/all-architectures.exp.in
source $srcdir/$subdir/all-architectures.exp.tcl

View File

@ -14,4 +14,4 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. */
set test_slice 7
source $srcdir/$subdir/all-architectures.exp.in
source $srcdir/$subdir/all-architectures.exp.tcl

View File

@ -21,4 +21,4 @@ if { [skip_cplus_tests] || [get_compiler_info "c++"] } {
}
set lang c++
source $srcdir/$subdir/infcall-nested-structs.exp.in
source $srcdir/$subdir/infcall-nested-structs.exp.tcl

View File

@ -17,4 +17,4 @@
set lang {c}
source $srcdir/$subdir/infcall-nested-structs.exp.in
source $srcdir/$subdir/infcall-nested-structs.exp.tcl

View File

@ -19,4 +19,4 @@ if { [skip_cplus_tests] || [get_compiler_info "c++"] } {
}
set lang c++
source $srcdir/$subdir/info-types.exp.in
source $srcdir/$subdir/info-types.exp.tcl

View File

@ -15,4 +15,4 @@
set lang {c}
source $srcdir/$subdir/info-types.exp.in
source $srcdir/$subdir/info-types.exp.tcl

View File

@ -19,4 +19,4 @@ if { [skip_cplus_tests] || [get_compiler_info "c++"] } {
}
set lang c++
source $srcdir/$subdir/max-depth.exp.in
source $srcdir/$subdir/max-depth.exp.tcl

View File

@ -15,4 +15,4 @@
set lang {c}
source $srcdir/$subdir/max-depth.exp.in
source $srcdir/$subdir/max-depth.exp.tcl

View File

@ -17,4 +17,4 @@
# Run cpexprs.exp with -fdebug-types-section.
set flags {additional_flags=-fdebug-types-section}
source $srcdir/$subdir/cpexprs.exp.in
source $srcdir/$subdir/cpexprs.exp.tcl

View File

@ -21,4 +21,4 @@
# Run cpexprs.exp.
set flags {}
source $srcdir/$subdir/cpexprs.exp.in
source $srcdir/$subdir/cpexprs.exp.tcl

View File

@ -22,4 +22,4 @@ set lang {c++}
set debug nodebug
source $srcdir/$subdir/infcall-nodebug.exp.in
source $srcdir/$subdir/infcall-nodebug.exp.tcl

View File

@ -22,4 +22,4 @@ set lang {c++}
set debug debug
source $srcdir/$subdir/infcall-nodebug.exp.in
source $srcdir/$subdir/infcall-nodebug.exp.tcl

View File

@ -18,4 +18,4 @@ set lang {c}
set debug nodebug
source $srcdir/$subdir/infcall-nodebug.exp.in
source $srcdir/$subdir/infcall-nodebug.exp.tcl

View File

@ -18,4 +18,4 @@ set lang {c}
set debug debug
source $srcdir/$subdir/infcall-nodebug.exp.in
source $srcdir/$subdir/infcall-nodebug.exp.tcl

View File

@ -29,7 +29,7 @@ lassign \
main_start main_length
set asm_file [standard_output_file $srcfile2]
source $srcdir/$subdir/clang-debug-names.exp.in
source $srcdir/$subdir/clang-debug-names.exp.tcl
if { [build_executable_from_specs "failed to prepare" ${testfile} "" \
$srcfile "nodebug" $asm_file "nodebug" $srcfile3 "debug"] } {

View File

@ -26,7 +26,7 @@ lassign [function_range main ${srcdir}/${subdir}/${srcfile}] \
main_start main_length
set asm_file [standard_output_file $srcfile2]
source $srcdir/$subdir/clang-debug-names.exp.in
source $srcdir/$subdir/clang-debug-names.exp.tcl
if { [prepare_for_testing "failed to prepare" ${testfile} \
[list $srcfile $asm_file] {nodebug}] } {