]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb/testsuite] Rename *.exp.in to *.exp.tcl
authorTom de Vries <tdevries@suse.de>
Fri, 15 May 2020 12:49:48 +0000 (14:49 +0200)
committerTom de Vries <tdevries@suse.de>
Fri, 15 May 2020 12:49:48 +0000 (14:49 +0200)
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.

33 files changed:
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/align-c++.exp
gdb/testsuite/gdb.base/align-c.exp
gdb/testsuite/gdb.base/align.exp.tcl [moved from gdb/testsuite/gdb.base/align.exp.in with 100% similarity]
gdb/testsuite/gdb.base/all-architectures-0.exp
gdb/testsuite/gdb.base/all-architectures-1.exp
gdb/testsuite/gdb.base/all-architectures-2.exp
gdb/testsuite/gdb.base/all-architectures-3.exp
gdb/testsuite/gdb.base/all-architectures-4.exp
gdb/testsuite/gdb.base/all-architectures-5.exp
gdb/testsuite/gdb.base/all-architectures-6.exp
gdb/testsuite/gdb.base/all-architectures-7.exp
gdb/testsuite/gdb.base/all-architectures.exp.tcl [moved from gdb/testsuite/gdb.base/all-architectures.exp.in with 100% similarity]
gdb/testsuite/gdb.base/infcall-nested-structs-c++.exp
gdb/testsuite/gdb.base/infcall-nested-structs-c.exp
gdb/testsuite/gdb.base/infcall-nested-structs.exp.tcl [moved from gdb/testsuite/gdb.base/infcall-nested-structs.exp.in with 100% similarity]
gdb/testsuite/gdb.base/info-types-c++.exp
gdb/testsuite/gdb.base/info-types-c.exp
gdb/testsuite/gdb.base/info-types.exp.tcl [moved from gdb/testsuite/gdb.base/info-types.exp.in with 100% similarity]
gdb/testsuite/gdb.base/max-depth-c++.exp
gdb/testsuite/gdb.base/max-depth-c.exp
gdb/testsuite/gdb.base/max-depth.exp.tcl [moved from gdb/testsuite/gdb.base/max-depth.exp.in with 100% similarity]
gdb/testsuite/gdb.cp/cpexprs-debug-types.exp
gdb/testsuite/gdb.cp/cpexprs.exp
gdb/testsuite/gdb.cp/cpexprs.exp.tcl [moved from gdb/testsuite/gdb.cp/cpexprs.exp.in with 100% similarity]
gdb/testsuite/gdb.cp/infcall-nodebug-c++-d0.exp
gdb/testsuite/gdb.cp/infcall-nodebug-c++-d1.exp
gdb/testsuite/gdb.cp/infcall-nodebug-c-d0.exp
gdb/testsuite/gdb.cp/infcall-nodebug-c-d1.exp
gdb/testsuite/gdb.cp/infcall-nodebug.exp.tcl [moved from gdb/testsuite/gdb.cp/infcall-nodebug.exp.in with 100% similarity]
gdb/testsuite/gdb.dwarf2/clang-debug-names-2.exp
gdb/testsuite/gdb.dwarf2/clang-debug-names.exp
gdb/testsuite/gdb.dwarf2/clang-debug-names.exp.tcl [moved from gdb/testsuite/gdb.dwarf2/clang-debug-names.exp.in with 100% similarity]

index 5a523c2d2bc97117ad56db982183785e7be7344f..30a150d782ce48ca79b90e73ae5cefb4c1722312 100644 (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
index 09632d8bfaa3528fbecf0a7f4c0e5fbd72479548..6266d112828de6ed4e46c10862aa737fa3ca3089 100644 (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
index d7852f4ea83381d905d19409fdc88eebadcbbfe3..d42abc8d3802cd8dfd2171aee55217c70fb40eba 100644 (file)
@@ -20,4 +20,4 @@
 
 set lang c
 
-source $srcdir/$subdir/align.exp.in
+source $srcdir/$subdir/align.exp.tcl
index 767daac9fff0aa2a554d3b05b11ad79681e477ae..d861c41aff5c6c389e110942dfe79eaa11db4f75 100644 (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
index 91aad9dc861cf2f8fab76cdc191dc1bff975c248..0e6379eea5df46cd8ae9152a43ca83e1d5844954 100644 (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
index c24a332bc2476649fe0e8a5dd5e6f83fdd3aa2fa..6216d48a7c682f25cf625a0a484e7061010596da 100644 (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
index a88a38b3a97a1de19e93f8b6f6f62c53ff89ee18..bd873a9666cc00d1a0c50a7ba9a97e0418f17c68 100644 (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
index f6c9fc4cefa6986786ee2293472e504e79c944ba..17b0160036bf8f84e01a9a78e2f2c6a42ba87166 100644 (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
index e84441be4a89a22c62f250470e8bf2a2dc28b008..613ae6fdf12c1b85ddd92aa9b2fec3e34e3bc073 100644 (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
index 702b5237d2fb13926665f200e69bf4afe5b95898..3dceb5e1f833ac00f4311247aa19d050cd84cfdb 100644 (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
index 2d0705b384bfcfbf83115c706eef164abc94d546..ba7640ce44ca83ba6967865f15694d643cab7493 100644 (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
index 9da0621384efdd9c968caa8f70d5db76ceff22f3..4741e0dade4cdb0b3d3bc49883acca10f17e1d95 100644 (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
index a715c5bd0d2880fa196f815210b48a089419d30a..1e876e331a4ba913c43783d36ed0fb52508c0302 100644 (file)
@@ -17,4 +17,4 @@
 
 set lang {c}
 
-source $srcdir/$subdir/infcall-nested-structs.exp.in
+source $srcdir/$subdir/infcall-nested-structs.exp.tcl
index 4f44369fe98cc6b24e05985dcf1f01982943273c..587a39f55fecf4bebc68c128894acf6305ccf038 100644 (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
index 800d6389a4bdfa6e80c1659e9c6a56788dd7734b..0b6e81d5b2b998a322298c991e221890f5132827 100644 (file)
@@ -15,4 +15,4 @@
 
 set lang {c}
 
-source $srcdir/$subdir/info-types.exp.in
+source $srcdir/$subdir/info-types.exp.tcl
index b88b2c118d8503b919af4c2cdf4a688e56ee0762..9f732d004fceca04d4369020d3f43991f2432b0b 100644 (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
index 3bd93098d2cc6d1c9cb71f64cda5965406736200..765772087d6f28b2c35da680ec4a4ac5a233fd07 100644 (file)
@@ -15,4 +15,4 @@
 
 set lang {c}
 
-source $srcdir/$subdir/max-depth.exp.in
+source $srcdir/$subdir/max-depth.exp.tcl
index b93f2e8c1572ff2d742ae66d6c783d182a3b682c..ece7bc9acdd9db5f71070aa898cc0cbe614b9c0e 100644 (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
index b16a5ea6e38417738b9b2f3d6f0adc0616c38d84..62f13a38e82cecf50da5c1f7aa5fad01d9f48f70 100644 (file)
@@ -21,4 +21,4 @@
 
 # Run cpexprs.exp.
 set flags {}
-source $srcdir/$subdir/cpexprs.exp.in
+source $srcdir/$subdir/cpexprs.exp.tcl
index f06ab0862882ca1d231f807196885b92fab9f16e..806d03b0e2c68d12f486d17c7f373ae8bece42c8 100644 (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
index d9dd14faf96542994e8d240f3bc74fc9cc5dd9b3..dfafe52afb06d92eed9a3ec3cd7692c41ef247fe 100644 (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
index cd65dd036a7534c3049f5afd64488ab8dafc793f..b74f9333f8bda4ea6d156082fba2346a07119623 100644 (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
index 4cb26ad3fd2a9d23687ed68ff5d52c2c454c7f63..b9d68637ae3d00271b68f00de4ddf30589c8a933 100644 (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
index 185dddfc73396fb0abdbf74f4e8d19f291a1598f..43d7801c0d9515db08ddd2d76196fb7bbc31e5ea 100644 (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"] } {
index b5af898838fba6659ecaa6db8a6dea0b3f10cc13..149c1263c90143f20077f075f5dd8efab174ef3e 100644 (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}] } {