diff options
author | Tom de Vries <tdevries@suse.de> | 2020-05-15 14:49:48 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2020-05-15 14:49:48 +0200 |
commit | 6dbc505a74ac6bb930a4b7306e60ea3a439bb886 (patch) | |
tree | 070cf3dbe1e9472b69ee9da2d513b50e586dbf76 /gdb | |
parent | d1034d78788ef809b321282dbb984eed95696c56 (diff) | |
download | gdb-6dbc505a74ac6bb930a4b7306e60ea3a439bb886.zip gdb-6dbc505a74ac6bb930a4b7306e60ea3a439bb886.tar.gz gdb-6dbc505a74ac6bb930a4b7306e60ea3a439bb886.tar.bz2 |
[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.
Diffstat (limited to 'gdb')
33 files changed, 67 insertions, 24 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 5a523c2..30a150d 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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 diff --git a/gdb/testsuite/gdb.base/align-c++.exp b/gdb/testsuite/gdb.base/align-c++.exp index 09632d8..6266d11 100644 --- a/gdb/testsuite/gdb.base/align-c++.exp +++ b/gdb/testsuite/gdb.base/align-c++.exp @@ -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 diff --git a/gdb/testsuite/gdb.base/align-c.exp b/gdb/testsuite/gdb.base/align-c.exp index d7852f4..d42abc8 100644 --- a/gdb/testsuite/gdb.base/align-c.exp +++ b/gdb/testsuite/gdb.base/align-c.exp @@ -20,4 +20,4 @@ set lang c -source $srcdir/$subdir/align.exp.in +source $srcdir/$subdir/align.exp.tcl diff --git a/gdb/testsuite/gdb.base/align.exp.in b/gdb/testsuite/gdb.base/align.exp.tcl index 0653371..0653371 100644 --- a/gdb/testsuite/gdb.base/align.exp.in +++ b/gdb/testsuite/gdb.base/align.exp.tcl diff --git a/gdb/testsuite/gdb.base/all-architectures-0.exp b/gdb/testsuite/gdb.base/all-architectures-0.exp index 767daac..d861c41 100644 --- a/gdb/testsuite/gdb.base/all-architectures-0.exp +++ b/gdb/testsuite/gdb.base/all-architectures-0.exp @@ -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 diff --git a/gdb/testsuite/gdb.base/all-architectures-1.exp b/gdb/testsuite/gdb.base/all-architectures-1.exp index 91aad9d..0e6379e 100644 --- a/gdb/testsuite/gdb.base/all-architectures-1.exp +++ b/gdb/testsuite/gdb.base/all-architectures-1.exp @@ -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 diff --git a/gdb/testsuite/gdb.base/all-architectures-2.exp b/gdb/testsuite/gdb.base/all-architectures-2.exp index c24a332..6216d48 100644 --- a/gdb/testsuite/gdb.base/all-architectures-2.exp +++ b/gdb/testsuite/gdb.base/all-architectures-2.exp @@ -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 diff --git a/gdb/testsuite/gdb.base/all-architectures-3.exp b/gdb/testsuite/gdb.base/all-architectures-3.exp index a88a38b..bd873a9 100644 --- a/gdb/testsuite/gdb.base/all-architectures-3.exp +++ b/gdb/testsuite/gdb.base/all-architectures-3.exp @@ -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 diff --git a/gdb/testsuite/gdb.base/all-architectures-4.exp b/gdb/testsuite/gdb.base/all-architectures-4.exp index f6c9fc4..17b0160 100644 --- a/gdb/testsuite/gdb.base/all-architectures-4.exp +++ b/gdb/testsuite/gdb.base/all-architectures-4.exp @@ -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 diff --git a/gdb/testsuite/gdb.base/all-architectures-5.exp b/gdb/testsuite/gdb.base/all-architectures-5.exp index e84441b..613ae6f 100644 --- a/gdb/testsuite/gdb.base/all-architectures-5.exp +++ b/gdb/testsuite/gdb.base/all-architectures-5.exp @@ -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 diff --git a/gdb/testsuite/gdb.base/all-architectures-6.exp b/gdb/testsuite/gdb.base/all-architectures-6.exp index 702b523..3dceb5e 100644 --- a/gdb/testsuite/gdb.base/all-architectures-6.exp +++ b/gdb/testsuite/gdb.base/all-architectures-6.exp @@ -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 diff --git a/gdb/testsuite/gdb.base/all-architectures-7.exp b/gdb/testsuite/gdb.base/all-architectures-7.exp index 2d0705b..ba7640c 100644 --- a/gdb/testsuite/gdb.base/all-architectures-7.exp +++ b/gdb/testsuite/gdb.base/all-architectures-7.exp @@ -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 diff --git a/gdb/testsuite/gdb.base/all-architectures.exp.in b/gdb/testsuite/gdb.base/all-architectures.exp.tcl index ebdd344..ebdd344 100644 --- a/gdb/testsuite/gdb.base/all-architectures.exp.in +++ b/gdb/testsuite/gdb.base/all-architectures.exp.tcl diff --git a/gdb/testsuite/gdb.base/infcall-nested-structs-c++.exp b/gdb/testsuite/gdb.base/infcall-nested-structs-c++.exp index 9da0621..4741e0d 100644 --- a/gdb/testsuite/gdb.base/infcall-nested-structs-c++.exp +++ b/gdb/testsuite/gdb.base/infcall-nested-structs-c++.exp @@ -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 diff --git a/gdb/testsuite/gdb.base/infcall-nested-structs-c.exp b/gdb/testsuite/gdb.base/infcall-nested-structs-c.exp index a715c5b..1e876e3 100644 --- a/gdb/testsuite/gdb.base/infcall-nested-structs-c.exp +++ b/gdb/testsuite/gdb.base/infcall-nested-structs-c.exp @@ -17,4 +17,4 @@ set lang {c} -source $srcdir/$subdir/infcall-nested-structs.exp.in +source $srcdir/$subdir/infcall-nested-structs.exp.tcl diff --git a/gdb/testsuite/gdb.base/infcall-nested-structs.exp.in b/gdb/testsuite/gdb.base/infcall-nested-structs.exp.tcl index f740961..f740961 100644 --- a/gdb/testsuite/gdb.base/infcall-nested-structs.exp.in +++ b/gdb/testsuite/gdb.base/infcall-nested-structs.exp.tcl diff --git a/gdb/testsuite/gdb.base/info-types-c++.exp b/gdb/testsuite/gdb.base/info-types-c++.exp index 4f44369..587a39f 100644 --- a/gdb/testsuite/gdb.base/info-types-c++.exp +++ b/gdb/testsuite/gdb.base/info-types-c++.exp @@ -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 diff --git a/gdb/testsuite/gdb.base/info-types-c.exp b/gdb/testsuite/gdb.base/info-types-c.exp index 800d638..0b6e81d 100644 --- a/gdb/testsuite/gdb.base/info-types-c.exp +++ b/gdb/testsuite/gdb.base/info-types-c.exp @@ -15,4 +15,4 @@ set lang {c} -source $srcdir/$subdir/info-types.exp.in +source $srcdir/$subdir/info-types.exp.tcl diff --git a/gdb/testsuite/gdb.base/info-types.exp.in b/gdb/testsuite/gdb.base/info-types.exp.tcl index 8c065b1..8c065b1 100644 --- a/gdb/testsuite/gdb.base/info-types.exp.in +++ b/gdb/testsuite/gdb.base/info-types.exp.tcl diff --git a/gdb/testsuite/gdb.base/max-depth-c++.exp b/gdb/testsuite/gdb.base/max-depth-c++.exp index b88b2c1..9f732d0 100644 --- a/gdb/testsuite/gdb.base/max-depth-c++.exp +++ b/gdb/testsuite/gdb.base/max-depth-c++.exp @@ -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 diff --git a/gdb/testsuite/gdb.base/max-depth-c.exp b/gdb/testsuite/gdb.base/max-depth-c.exp index 3bd9309..7657720 100644 --- a/gdb/testsuite/gdb.base/max-depth-c.exp +++ b/gdb/testsuite/gdb.base/max-depth-c.exp @@ -15,4 +15,4 @@ set lang {c} -source $srcdir/$subdir/max-depth.exp.in +source $srcdir/$subdir/max-depth.exp.tcl diff --git a/gdb/testsuite/gdb.base/max-depth.exp.in b/gdb/testsuite/gdb.base/max-depth.exp.tcl index 8c0d712..8c0d712 100644 --- a/gdb/testsuite/gdb.base/max-depth.exp.in +++ b/gdb/testsuite/gdb.base/max-depth.exp.tcl diff --git a/gdb/testsuite/gdb.cp/cpexprs-debug-types.exp b/gdb/testsuite/gdb.cp/cpexprs-debug-types.exp index b93f2e8..ece7bc9 100644 --- a/gdb/testsuite/gdb.cp/cpexprs-debug-types.exp +++ b/gdb/testsuite/gdb.cp/cpexprs-debug-types.exp @@ -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 diff --git a/gdb/testsuite/gdb.cp/cpexprs.exp b/gdb/testsuite/gdb.cp/cpexprs.exp index b16a5ea..62f13a3 100644 --- a/gdb/testsuite/gdb.cp/cpexprs.exp +++ b/gdb/testsuite/gdb.cp/cpexprs.exp @@ -21,4 +21,4 @@ # Run cpexprs.exp. set flags {} -source $srcdir/$subdir/cpexprs.exp.in +source $srcdir/$subdir/cpexprs.exp.tcl diff --git a/gdb/testsuite/gdb.cp/cpexprs.exp.in b/gdb/testsuite/gdb.cp/cpexprs.exp.tcl index ef30215..ef30215 100644 --- a/gdb/testsuite/gdb.cp/cpexprs.exp.in +++ b/gdb/testsuite/gdb.cp/cpexprs.exp.tcl diff --git a/gdb/testsuite/gdb.cp/infcall-nodebug-c++-d0.exp b/gdb/testsuite/gdb.cp/infcall-nodebug-c++-d0.exp index f06ab08..806d03b 100644 --- a/gdb/testsuite/gdb.cp/infcall-nodebug-c++-d0.exp +++ b/gdb/testsuite/gdb.cp/infcall-nodebug-c++-d0.exp @@ -22,4 +22,4 @@ set lang {c++} set debug nodebug -source $srcdir/$subdir/infcall-nodebug.exp.in +source $srcdir/$subdir/infcall-nodebug.exp.tcl diff --git a/gdb/testsuite/gdb.cp/infcall-nodebug-c++-d1.exp b/gdb/testsuite/gdb.cp/infcall-nodebug-c++-d1.exp index d9dd14f..dfafe52 100644 --- a/gdb/testsuite/gdb.cp/infcall-nodebug-c++-d1.exp +++ b/gdb/testsuite/gdb.cp/infcall-nodebug-c++-d1.exp @@ -22,4 +22,4 @@ set lang {c++} set debug debug -source $srcdir/$subdir/infcall-nodebug.exp.in +source $srcdir/$subdir/infcall-nodebug.exp.tcl diff --git a/gdb/testsuite/gdb.cp/infcall-nodebug-c-d0.exp b/gdb/testsuite/gdb.cp/infcall-nodebug-c-d0.exp index cd65dd0..b74f933 100644 --- a/gdb/testsuite/gdb.cp/infcall-nodebug-c-d0.exp +++ b/gdb/testsuite/gdb.cp/infcall-nodebug-c-d0.exp @@ -18,4 +18,4 @@ set lang {c} set debug nodebug -source $srcdir/$subdir/infcall-nodebug.exp.in +source $srcdir/$subdir/infcall-nodebug.exp.tcl diff --git a/gdb/testsuite/gdb.cp/infcall-nodebug-c-d1.exp b/gdb/testsuite/gdb.cp/infcall-nodebug-c-d1.exp index 4cb26ad..b9d6863 100644 --- a/gdb/testsuite/gdb.cp/infcall-nodebug-c-d1.exp +++ b/gdb/testsuite/gdb.cp/infcall-nodebug-c-d1.exp @@ -18,4 +18,4 @@ set lang {c} set debug debug -source $srcdir/$subdir/infcall-nodebug.exp.in +source $srcdir/$subdir/infcall-nodebug.exp.tcl diff --git a/gdb/testsuite/gdb.cp/infcall-nodebug.exp.in b/gdb/testsuite/gdb.cp/infcall-nodebug.exp.tcl index 2346619..2346619 100644 --- a/gdb/testsuite/gdb.cp/infcall-nodebug.exp.in +++ b/gdb/testsuite/gdb.cp/infcall-nodebug.exp.tcl diff --git a/gdb/testsuite/gdb.dwarf2/clang-debug-names-2.exp b/gdb/testsuite/gdb.dwarf2/clang-debug-names-2.exp index 185dddf..43d7801 100644 --- a/gdb/testsuite/gdb.dwarf2/clang-debug-names-2.exp +++ b/gdb/testsuite/gdb.dwarf2/clang-debug-names-2.exp @@ -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"] } { diff --git a/gdb/testsuite/gdb.dwarf2/clang-debug-names.exp b/gdb/testsuite/gdb.dwarf2/clang-debug-names.exp index b5af898..149c126 100644 --- a/gdb/testsuite/gdb.dwarf2/clang-debug-names.exp +++ b/gdb/testsuite/gdb.dwarf2/clang-debug-names.exp @@ -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}] } { diff --git a/gdb/testsuite/gdb.dwarf2/clang-debug-names.exp.in b/gdb/testsuite/gdb.dwarf2/clang-debug-names.exp.tcl index 39e0e1e..39e0e1e 100644 --- a/gdb/testsuite/gdb.dwarf2/clang-debug-names.exp.in +++ b/gdb/testsuite/gdb.dwarf2/clang-debug-names.exp.tcl |