* lib/gdb.exp (gdb_compile_test): New.
authorNathan Sidwell <nathan@codesourcery.com>
Tue, 10 Nov 2009 10:16:10 +0000 (10:16 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Tue, 10 Nov 2009 10:16:10 +0000 (10:16 +0000)
commitec3c07fc0ff7ca6defeb89c58727363b6382d2b5
treee571a77afcc13dd913a5db4313536c17e4c54bfb
parentee143e81426371a93b891ce65891b43034e87347
* 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/jmisc1.exp, gdb.java/jprint.exp,
gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
adjust gdb_compile invocations.
22 files changed:
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.ada/array_return.exp
gdb/testsuite/gdb.ada/arrayidx.exp
gdb/testsuite/gdb.ada/exec_changed.exp
gdb/testsuite/gdb.ada/fixed_points.exp
gdb/testsuite/gdb.ada/null_record.exp
gdb/testsuite/gdb.ada/packed_array.exp
gdb/testsuite/gdb.ada/start.exp
gdb/testsuite/gdb.ada/watch_arg.exp
gdb/testsuite/gdb.fortran/array-element.exp
gdb/testsuite/gdb.fortran/derived-type.exp
gdb/testsuite/gdb.fortran/exprs.exp
gdb/testsuite/gdb.fortran/subarray.exp
gdb/testsuite/gdb.fortran/types.exp
gdb/testsuite/gdb.java/jmain.exp
gdb/testsuite/gdb.java/jmisc.exp
gdb/testsuite/gdb.java/jprint.exp
gdb/testsuite/gdb.java/jv-print.exp
gdb/testsuite/gdb.mi/mi-var-child-f.exp
gdb/testsuite/lib/ada.exp
gdb/testsuite/lib/gdb.exp
gdb/testsuite/lib/java.exp