Bob Manson
85fbaa747f
* gdb.*/*.exp: Replace $prompt with $gdb_prompt.
...
* gdb.base/scope.exp: Use gdb_test.
* gdb.c++/classes.exp: Ditto.
* gdb.c++/inherit.exp: Ditto.
More random cleanups. Still lots to go, however.
1997-02-02 07:59:25 +00:00
Bob Manson
787f622077
Major revision to testsuites for cross-testing and DOS testing support.
1997-01-29 09:40:31 +00:00
Ian Lance Taylor
d45358c6a7
* configure, */configure: Rebuild with autoconf 2.12.
1996-11-26 22:27:00 +00:00
Fred Fish
e8ee39bcfb
* misc.exp: Change x86 linux setup_xfails to use new
...
i*86-pc-linux*-gnu quads.
* tuples.exp: Ditto.
* tests2.exp: Ditto.
* pr-5016.exp: Ditto.
* tuples.exp: Add i*86-pc-linux-gnu setup_fail to existing
xfails for 'set var vs1 := [ "bar", 42, m_ps[ a ] ]',
'set var $i := m_s1["foo", 44, m_ps[a ]]', and
'set var vs2 := [ 10+3, m_s1[ "foo" , 42, m_ps[ b ]]]'.
1996-11-23 21:28:30 +00:00
Fred Fish
63a0ebfbe9
* callch.exp: Add mips*-sgi-irix* xfail for
...
"call king(a, otto[[10, 15], [20, 25]])".
* pr-8742.exp: Add mips*-sgi-irix* xfails for
"pass int powerset tuple"
"pass set powerset tuple"
"pass modeless int powerset tuple" and
"pass modeless set powerset tuple".
* tuples.exp: Add sparc-*-solaris* and sparc-*-sunos*
xfails for several "set var" commands that are failing.
Convert most of the set commands into gdb_test_exact
commands.
1996-11-11 18:32:39 +00:00
Fred Fish
37d1429623
* expstruct.exp (objfile2): Set and use, like other chill tests.
...
* pr-4975.exp: Ditto.
* pr-5646.exp: Ditto.
* pr-8134.exp: Ditto.
1996-10-11 23:54:12 +00:00
Fred Fish
f646eef47b
* gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
...
"p func1 ()" and note that rests of tests are skipped.
* gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
setup_xfails for "print func2::coremaker_local".
Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
* gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
affected by the previous run test.
* gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
"print array () ubyte (foo)" and "print/x array () byte (\$i)"
* gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
"pass int powerset tuple" and "pass modeless int powerset tuple".
* gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
"real write 4" and "real write 8".
* gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
setup_xfails for "print vs1 after tuple assign 2",
"print \$i after tuple assign 2", and
"print vs2 after tuple assign 2".
* lib/gdb.exp (gdb_test): When a gdb aborts, print a more
meaningful error message and return -1 so the caller can
suppress further tests and avoid a cascade of errors.
1996-10-01 03:29:45 +00:00
Wilfried Moser
7cdda733d5
* gch1280.exp: Enhance test case.
1996-09-05 08:55:32 +00:00
Wilfried Moser
9811b59602
* gch1272.{ch,exp}, gch1280.{ch,exp}, pr-9946.{ch,exp}:
...
New test cases.
1996-09-04 14:34:15 +00:00
Fred Fish
6f5fbad328
* gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
...
PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
* gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
and -lpthreads (everybody else).
(test_startup): Fail gracefully if threads are not supported.
* gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
"p/c array_index("abcdef",2)" when not gcc compiled.
* gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
"print func2::coremaker_local" when not gcc compiled.
* gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
"ptype on opaque struct tagname (statically)",
"ptype on opaque struct tagname (dynamically) 1", and
"ptype on opaque struct tagname (dynamically) 2"
for not compiled with gcc.
* gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
backtrace when compiled with gcc.
* lib/gdb.exp (runto_main): Return result of "runto main" rather
than always return success.
1996-08-19 17:59:46 +00:00
Jason Molenda
6c890568ff
* configure.in (AC_PREREQ): autoconf 2.5 or higher.
...
* gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
@srcdir@.
* gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
autoconf 2.5 or higher.
* gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
1996-06-25 12:54:35 +00:00
Fred Fish
570a390281
* tests1.exp (test_modes): Remove *-*-* setup_sfail for
...
"print unnumbered set range mode" and
"print numbered set range mode".
1996-06-23 17:24:20 +00:00
Wilfried Moser
d7d354cb6c
* tests1.{ch,exp}: Tets case modified and enhanced.
1996-04-17 08:24:36 +00:00
Wilfried Moser
cc1583dac2
* gch981.{ch,exp}, gch1041.{ch,exp}: New test cases.
1996-04-09 08:19:58 +00:00
Fred Fish
fda58904db
Revert use of autoconf 2.9, it was causing too many regressions.
1996-03-25 04:09:45 +00:00
Fred Fish
a319972ce6
* configure, testsuite/configure, testsuite/gdb.base/configure,
...
testsuite/gdb.c++/configure, testsuite/gdb.chill/configure,
testsuite/gdb.disasm/configure, testsuite/gdb.stabs/configure:
Regenerated with autoconf 2.9.
1996-03-24 00:19:59 +00:00
Wilfried Moser
8513db3731
* powerset.exp: Add test.
1996-03-06 08:30:40 +00:00
Wilfried Moser
6bf53072e9
* gch922.{ch,exp}, powerset.{ch,exp}: New test cases.
...
* builtins.exp, chillvars.exp, misc.exp, tests1.exp: Updated
due to new format of nonprintable characters (control sequence
instead of C'xx').
1996-03-06 07:44:46 +00:00
Stan Shebs
45061b1e59
* */Makefile.in (maintainer-clean): Remove config.log.
...
* gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
* gdb.c++/Makefile.in (PROGS): Add inherit.
(clean): Remove *.ci.
1996-03-05 22:42:17 +00:00
Per Bothner
6cec39dc99
* string.ch, string.exp: Add tests (from Cygnus PR chill/9078).
1996-03-05 08:21:49 +00:00
Per Bothner
845fed18b8
* pr-9095.ch, pr-9095.exp: New test case.
1996-03-05 08:12:53 +00:00
Fred Fish
eec5305701
* Makefile.in (clean): Add missing '{'.
1996-02-09 15:23:30 +00:00
Per Bothner
bb4119f19d
* pr-8894.exp, pr-8894.ch, pr-8894-grt.ch: New test case.
1996-02-07 05:54:17 +00:00
Jeff Law
9b2ceeb159
* gdb.base/default.exp: Remove extraneous call to load gdb.exp.
...
* gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
trying to compile the testcase.
1996-01-31 21:24:38 +00:00
Wilfried Moser
d59558827e
* builtins.ch, builtins.exp: Enhance test case.
...
* extstruct.ch, extstruct-grt.ch, extstruct.exp: New test case.
1996-01-29 08:09:04 +00:00
Per Bothner
084ae26cf5
* enum.ch, enum.exp: New test case (covers PRs 8869 and 8870).
1996-01-24 00:59:02 +00:00
Per Bothner
f22d1530fc
* Makefile.in (PROGS): Removed.
...
(clean mostlyclean): Remove *.exe rather than ${PROGS}.
1996-01-12 01:37:28 +00:00
Per Bothner
3c69d5fe52
* pr-8742.ch, pr-8742.exp: New test case.
1996-01-12 01:35:30 +00:00
Wilfried Moser
0025f7a0a7
* misc.ch, misc.exp: Enhance test case.
1996-01-09 12:48:44 +00:00
Fred Fish
5a8a03d881
* tests2.exp: Setup_xfail "i*86-*-linux" and
...
"mips-sgi-irix*" for "real write 4" and "real write 8".
Conditionalize both tests for system specific value
of "infinity" string.
1995-12-31 00:03:54 +00:00
Fred Fish
b887e9ad36
* builtins.exp (test_size): Alpha seems to have long builtins.
...
* tests1.exp: Setup xfail "*-*-*" for "ptype r2".
* tests2.exp: Add check to skip chill tests.
1995-12-30 22:31:31 +00:00
Per Bothner
b44fe1d5e0
* tuples.ch, tuples.exp: Exhance test cases (from PR 8643).
1995-12-12 00:55:18 +00:00
Wilfried Moser
32d067978f
* builtins.exp, pr-5016.{ch,exp}, result.{ch,exp},
...
tests1.{ch,exp}: Enhance test cases.
1995-12-11 14:59:01 +00:00
Wilfried Moser
7609ecebac
* builtins.ch, builtins.exp, Makefile.in: New test case.
1995-12-07 13:18:08 +00:00
Stan Shebs
e7db3d77d0
Always keep the newly-added configure scripts.
1995-12-07 01:37:31 +00:00
Wilfried Moser
29ba0f2876
* tests2.exp: Add compiling of the test case.
1995-12-05 09:52:45 +00:00
Per Bothner
5be700fd21
Ooops. Fix to work with new scheme (where runtest invokes the compiler).
1995-12-01 22:50:47 +00:00
Per Bothner
e300da1c7d
* pr-8405.ch, pr-8405.exp, Makefile.in: New test case.
1995-12-01 22:17:42 +00:00
Per Bothner
d9eb60c63a
* tests1.exp, tests2.exp (test_print_reject): Remove; causes
...
conflicts with later tests using test_print_reject in ../lib/gdb.exp.
(passcount): Remove.
* tests2.exp (test_print_accept): Removed.
(test_write): Re-write to use gdb_test rather than test_print_accept.
* tests1.exp (test_print_accept_exact): Removed.
(tests_locations): Rewrite to use gdb_test and not above proc.
1995-12-01 19:05:52 +00:00
Per Bothner
da2cfeb098
* tests1.ch, tests1.exp, tests2.ch, tests2.exp, Makefile.in:
...
New (extensive) test cases.
* chexp.exp: Fix relations to return TRUE or FALSE.
1995-12-01 08:17:13 +00:00
Per Bothner
787f2cb332
* Makefile.in: Add .exp.check rule.
...
* callch.ch: Add missing "%." to format strings.
* callch.exp: Fix argument to gdb_load.
* chexp.exp: Add specific error messages to test_print_reject calls.
* misc.exp: Add a test for PR 8496.
* pr-6632.exp, pr-8136.exp: Link executables from two .o files.
1995-11-30 03:35:14 +00:00
Fred Fish
79e6c66069
* pr-5016.exp: xfail "whatis i" for alpha-osf-dec-osf2*, same as linux.
1995-11-27 22:44:38 +00:00
Fred Fish
d38644cd59
Left out of last cvs commit...
1995-11-25 20:27:38 +00:00
Fred Fish
782445c7aa
From Rob Savoye (rob@poseidon.cygnus.com)
...
* Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in, configure.in},
gdb.disasm/{Makefile.in, configure.in}, gdb.stabs/{Makefile.in, configure.in},
gdb.threads/{Makefile.in, configure.in}: Major reworking for autoconfig.
* aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt : New files.
* config/unix-gdb.exp: Make GDB global.
* gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp, callfuncs.exp,
commands.exp, corefile.exp, crossload.exp, exprs.exp, funcargs.exp, interrupt.exp,
langs.exp, list.exp, mips_pro.exp, nodebug.exp, opaque.exp, printcmds.exp,
ptype.exp, recurse.exp, regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp,
signals.exp, term.exp, twice.exp, watchpoint.exp, whatis.exp},
gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp, templates.exp,
virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp, misc.exp, pr-4975.exp,
pr-5016.exp, pr-5020.exp, pr-5022.exp, pr-5646.exp, pr-5984.exp, pr-6292.exp,
pr-6632.exp, pr-8134.exp, pr-8136.exp, result.exp, string.exp, tuples.exp},
gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
to returns as necessary, arrange for test to compile own testcase executable.
* lib/gdb.exp: Changes for testsuite to compile own test cases.
From Fred Fish (fnf@cygnus.com )
* gdb.c++/classes.exp (test_pointers_to_class_members): Add
clear_xfail at end of test which might not call either pass or fail.
* gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
"backtrace through signal handler".
1995-11-25 19:55:29 +00:00
Fred Fish
7efb4b4c8e
* pr-5016.exp: xfail "whatis i" for sparc-sun-sunos4*, same as linux.
1995-10-30 03:15:12 +00:00
Jeff Law
00c916f4a8
* Many files: When warning about suppressed tests due to a
...
nonexistant test binary, avoid incrementing the warning count.
Fixes bogus UNRESOLVED test results.
1995-10-18 05:07:51 +00:00
Per Bothner
f3415760cf
* pr-8136.{ch,exp}, pr-8134.exp, func1.ch, Makefile.in: New test cases.
1995-10-05 01:24:44 +00:00
Per Bothner
658f132580
* tuples.ch. tuples.exp: Add new test for setting a variant record
...
using a tuple, and access the fields.
1995-09-27 18:51:33 +00:00
Ian Lance Taylor
582433a889
add maintainer-clean Makefile targets
1995-09-20 17:24:12 +00:00
Fred Fish
605b7789b1
Document FSF address updating of all files with FSF addresses,
...
except for the COPYING* files.
1995-08-03 18:42:27 +00:00