[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:
parent
d1034d7878
commit
6dbc505a74
@ -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>
|
2020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||||
|
|
||||||
* lib/check-test-names.exp: Remove code that prevents this file
|
* lib/check-test-names.exp: Remove code that prevents this file
|
||||||
|
@ -24,4 +24,4 @@ if { [skip_cplus_tests] || [get_compiler_info "c++"] } {
|
|||||||
}
|
}
|
||||||
set lang c++
|
set lang c++
|
||||||
|
|
||||||
source $srcdir/$subdir/align.exp.in
|
source $srcdir/$subdir/align.exp.tcl
|
||||||
|
@ -20,4 +20,4 @@
|
|||||||
|
|
||||||
set lang c
|
set lang c
|
||||||
|
|
||||||
source $srcdir/$subdir/align.exp.in
|
source $srcdir/$subdir/align.exp.tcl
|
||||||
|
@ -14,4 +14,4 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
# along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
set test_slice 0
|
set test_slice 0
|
||||||
source $srcdir/$subdir/all-architectures.exp.in
|
source $srcdir/$subdir/all-architectures.exp.tcl
|
||||||
|
@ -14,4 +14,4 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
# along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
set test_slice 1
|
set test_slice 1
|
||||||
source $srcdir/$subdir/all-architectures.exp.in
|
source $srcdir/$subdir/all-architectures.exp.tcl
|
||||||
|
@ -14,4 +14,4 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
# along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
set test_slice 2
|
set test_slice 2
|
||||||
source $srcdir/$subdir/all-architectures.exp.in
|
source $srcdir/$subdir/all-architectures.exp.tcl
|
||||||
|
@ -14,4 +14,4 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
# along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
set test_slice 3
|
set test_slice 3
|
||||||
source $srcdir/$subdir/all-architectures.exp.in
|
source $srcdir/$subdir/all-architectures.exp.tcl
|
||||||
|
@ -14,4 +14,4 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
# along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
set test_slice 4
|
set test_slice 4
|
||||||
source $srcdir/$subdir/all-architectures.exp.in
|
source $srcdir/$subdir/all-architectures.exp.tcl
|
||||||
|
@ -14,4 +14,4 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
# along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
set test_slice 5
|
set test_slice 5
|
||||||
source $srcdir/$subdir/all-architectures.exp.in
|
source $srcdir/$subdir/all-architectures.exp.tcl
|
||||||
|
@ -14,4 +14,4 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
# along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
set test_slice 6
|
set test_slice 6
|
||||||
source $srcdir/$subdir/all-architectures.exp.in
|
source $srcdir/$subdir/all-architectures.exp.tcl
|
||||||
|
@ -14,4 +14,4 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
# along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
set test_slice 7
|
set test_slice 7
|
||||||
source $srcdir/$subdir/all-architectures.exp.in
|
source $srcdir/$subdir/all-architectures.exp.tcl
|
||||||
|
@ -21,4 +21,4 @@ if { [skip_cplus_tests] || [get_compiler_info "c++"] } {
|
|||||||
}
|
}
|
||||||
set lang c++
|
set lang c++
|
||||||
|
|
||||||
source $srcdir/$subdir/infcall-nested-structs.exp.in
|
source $srcdir/$subdir/infcall-nested-structs.exp.tcl
|
||||||
|
@ -17,4 +17,4 @@
|
|||||||
|
|
||||||
set lang {c}
|
set lang {c}
|
||||||
|
|
||||||
source $srcdir/$subdir/infcall-nested-structs.exp.in
|
source $srcdir/$subdir/infcall-nested-structs.exp.tcl
|
||||||
|
@ -19,4 +19,4 @@ if { [skip_cplus_tests] || [get_compiler_info "c++"] } {
|
|||||||
}
|
}
|
||||||
set lang c++
|
set lang c++
|
||||||
|
|
||||||
source $srcdir/$subdir/info-types.exp.in
|
source $srcdir/$subdir/info-types.exp.tcl
|
||||||
|
@ -15,4 +15,4 @@
|
|||||||
|
|
||||||
set lang {c}
|
set lang {c}
|
||||||
|
|
||||||
source $srcdir/$subdir/info-types.exp.in
|
source $srcdir/$subdir/info-types.exp.tcl
|
||||||
|
@ -19,4 +19,4 @@ if { [skip_cplus_tests] || [get_compiler_info "c++"] } {
|
|||||||
}
|
}
|
||||||
set lang c++
|
set lang c++
|
||||||
|
|
||||||
source $srcdir/$subdir/max-depth.exp.in
|
source $srcdir/$subdir/max-depth.exp.tcl
|
||||||
|
@ -15,4 +15,4 @@
|
|||||||
|
|
||||||
set lang {c}
|
set lang {c}
|
||||||
|
|
||||||
source $srcdir/$subdir/max-depth.exp.in
|
source $srcdir/$subdir/max-depth.exp.tcl
|
||||||
|
@ -17,4 +17,4 @@
|
|||||||
|
|
||||||
# Run cpexprs.exp with -fdebug-types-section.
|
# Run cpexprs.exp with -fdebug-types-section.
|
||||||
set flags {additional_flags=-fdebug-types-section}
|
set flags {additional_flags=-fdebug-types-section}
|
||||||
source $srcdir/$subdir/cpexprs.exp.in
|
source $srcdir/$subdir/cpexprs.exp.tcl
|
||||||
|
@ -21,4 +21,4 @@
|
|||||||
|
|
||||||
# Run cpexprs.exp.
|
# Run cpexprs.exp.
|
||||||
set flags {}
|
set flags {}
|
||||||
source $srcdir/$subdir/cpexprs.exp.in
|
source $srcdir/$subdir/cpexprs.exp.tcl
|
||||||
|
@ -22,4 +22,4 @@ set lang {c++}
|
|||||||
|
|
||||||
set debug nodebug
|
set debug nodebug
|
||||||
|
|
||||||
source $srcdir/$subdir/infcall-nodebug.exp.in
|
source $srcdir/$subdir/infcall-nodebug.exp.tcl
|
||||||
|
@ -22,4 +22,4 @@ set lang {c++}
|
|||||||
|
|
||||||
set debug debug
|
set debug debug
|
||||||
|
|
||||||
source $srcdir/$subdir/infcall-nodebug.exp.in
|
source $srcdir/$subdir/infcall-nodebug.exp.tcl
|
||||||
|
@ -18,4 +18,4 @@ set lang {c}
|
|||||||
|
|
||||||
set debug nodebug
|
set debug nodebug
|
||||||
|
|
||||||
source $srcdir/$subdir/infcall-nodebug.exp.in
|
source $srcdir/$subdir/infcall-nodebug.exp.tcl
|
||||||
|
@ -18,4 +18,4 @@ set lang {c}
|
|||||||
|
|
||||||
set debug debug
|
set debug debug
|
||||||
|
|
||||||
source $srcdir/$subdir/infcall-nodebug.exp.in
|
source $srcdir/$subdir/infcall-nodebug.exp.tcl
|
||||||
|
@ -29,7 +29,7 @@ lassign \
|
|||||||
main_start main_length
|
main_start main_length
|
||||||
|
|
||||||
set asm_file [standard_output_file $srcfile2]
|
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} "" \
|
if { [build_executable_from_specs "failed to prepare" ${testfile} "" \
|
||||||
$srcfile "nodebug" $asm_file "nodebug" $srcfile3 "debug"] } {
|
$srcfile "nodebug" $asm_file "nodebug" $srcfile3 "debug"] } {
|
||||||
|
@ -26,7 +26,7 @@ lassign [function_range main ${srcdir}/${subdir}/${srcfile}] \
|
|||||||
main_start main_length
|
main_start main_length
|
||||||
|
|
||||||
set asm_file [standard_output_file $srcfile2]
|
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} \
|
if { [prepare_for_testing "failed to prepare" ${testfile} \
|
||||||
[list $srcfile $asm_file] {nodebug}] } {
|
[list $srcfile $asm_file] {nodebug}] } {
|
||||||
|
Loading…
Reference in New Issue
Block a user