mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-02 04:27:46 +08:00
* lib/gdb.exp (gdb_compile_test): New.
(skip_ada_tests, skip_java_tests): New. (gdb_compile): Use gdb_compile_test for f77. * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result. * lib/java.exp (compile_java_from_source): Remove runtests check, use gdb_compile_test to record result. * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp, gdb.ada/exec_changed.exp, gdb.ada/start.exp, gdb.ada/watch_arg.exp, gdb.ada/null_record.exp, gdb.ada/array_return.exp, gdb.ada/arrayidx.exp, gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp, gdb.fortran/array-element.exp, gdb.fortran/subarray.exp, gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp, gdb.java/jmisc.exp, gdb.java/jprint.exp, gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip, adjust gdb_compile invocations.
This commit is contained in:
@ -23,12 +23,13 @@ if $tracelevel then {
|
||||
|
||||
load_lib "java.exp"
|
||||
|
||||
if { [skip_java_tests] } { continue }
|
||||
|
||||
set testfile "jmain"
|
||||
set srcfile ${srcdir}/$subdir/${testfile}.java
|
||||
set binfile ${objdir}/${subdir}/${testfile}
|
||||
if { [compile_java_from_source ${srcfile} ${binfile} "-g"] != "" } {
|
||||
untested "Couldn't compile ${srcfile}"
|
||||
return -1
|
||||
if {[compile_java_from_source ${srcfile} ${binfile} "-g"] != ""} {
|
||||
continue
|
||||
}
|
||||
|
||||
set prms_id 0
|
||||
|
@ -26,12 +26,13 @@ if $tracelevel then {
|
||||
|
||||
load_lib "java.exp"
|
||||
|
||||
if { [skip_java_tests] } { continue }
|
||||
|
||||
set testfile "jmisc"
|
||||
set srcfile ${srcdir}/$subdir/${testfile}.java
|
||||
set binfile ${objdir}/${subdir}/${testfile}
|
||||
if { [compile_java_from_source ${srcfile} ${binfile} "-g"] != "" } {
|
||||
untested "Couldn't compile ${srcfile}"
|
||||
return -1
|
||||
if {[compile_java_from_source ${srcfile} ${binfile} "-g"] != ""} {
|
||||
continue
|
||||
}
|
||||
|
||||
# Set the current language to java. This counts as a test. If it
|
||||
|
@ -23,12 +23,13 @@ if $tracelevel then {
|
||||
|
||||
load_lib "java.exp"
|
||||
|
||||
if { [skip_java_tests] } { continue }
|
||||
|
||||
set testfile "jprint"
|
||||
set srcfile ${srcdir}/$subdir/${testfile}.java
|
||||
set binfile ${objdir}/${subdir}/${testfile}
|
||||
if { [compile_java_from_source ${srcfile} ${binfile} "-g"] != "" } {
|
||||
untested "Couldn't compile ${srcfile}"
|
||||
return -1
|
||||
if {[compile_java_from_source ${srcfile} ${binfile} "-g"] != ""} {
|
||||
continue
|
||||
}
|
||||
|
||||
# Set the current language to java. This counts as a test. If it
|
||||
|
@ -21,6 +21,10 @@ if $tracelevel then {
|
||||
strace $tracelevel
|
||||
}
|
||||
|
||||
load_lib "java.exp"
|
||||
|
||||
if { [skip_java_tests] } { continue }
|
||||
|
||||
set prms_id 0
|
||||
set bug_id 0
|
||||
|
||||
|
Reference in New Issue
Block a user