Commit Graph

20 Commits

Author SHA1 Message Date
Ian Lance Taylor
a46c0ed860 * lib/gas-defs.exp (run_dump_test): If the program to run does not
exist, mark the test as untested.
1995-08-16 21:13:52 +00:00
Ian Lance Taylor
a0cc993c12 * lib/gas-defs.exp (run_dump_test): Name the output file dump.o,
rather than using an implicit a.out.
1995-08-16 20:42:15 +00:00
David Edelsohn
dd0f8fcfe4 (gas-dg-test): Detect invalid values of `do_what'. 1995-04-30 20:16:22 +00:00
David Edelsohn
5af38f24a1 New file (interfaces to dg.exp). 1995-04-30 06:34:53 +00:00
David Edelsohn
91e3b58270 *** empty log message *** 1995-04-08 19:50:44 +00:00
Ken Raeburn
384b93b1be * gas/all/gas.exp (comment.s test): Make the "\r" optional, since it depends on
tty modes.

* lib/gas-defs.exp (gas_start): Try using -nottycopy instead of -nottyinit.
1994-12-10 03:50:52 +00:00
Ken Raeburn
3c6dc75b41 * lib/gas-defs.exp: Use -i in expect_after command. 1994-12-09 01:20:07 +00:00
Ken Raeburn
09a1cedb20 boost timeout to at least 2min; fix a couple mips tests for 64-bit host disasm 1994-12-08 01:48:25 +00:00
Ken Raeburn
8cbd903e9c * lib/gas-defs.exp (run_dump_test): New routine for running the
assembler, running objdump or nm (not fully supported) on the
	resulting object file, and comparing the results against a file of
	regular expressions in the test suite, all in one command.
	(fail_phase, slurp_options): New auxiliary routines.
	(regexp_diff): Always return a value.  Fix bugs in actually doing
	the regexp test.

Should make it even easier to write gas test cases, giving Ian even less
excuse for not doing so. :-)
1994-07-15 23:13:10 +00:00
Jeff Law
cf8c0d64b3 From rob:
* gas/lib/gas-defs.exp (gas_finish): Call "close" before exiting.
	Make note about possibly needing a call to "wait" too.
	(objdump_finish): Likewise.
1994-06-26 19:26:33 +00:00
Ken Raeburn
d9ac025813 whitespace 1994-06-02 23:46:41 +00:00
Bill Cox
858665b799 * lib/gas-defs.exp: Replace error proc calls with perror calls. 1994-05-17 21:54:41 +00:00
Ken Raeburn
d193d76268 * lib/gas-defs.exp (objdump): New proc.
(objdump_start): Deleted unused proc.
(objdump_start_common): Merged into objdump_start_no_subdir.

* gas/alpha/fp.exp: Use objdump instead of objdump_start_no_subdir, since the
former actually waits for objdump to finish.  Specify .rdata section only.
Make comment indicate Alpha architecture rather than SPARC.
* gas/alpha/fp.d: Omit .reginfo patterns.  Just use "." to match
against ASCII code 0x2a ("*", special in regexp).
* gas/sun4/addend.exp: Use objdump instead of objdump_start_no_subdir.
1994-02-28 20:00:10 +00:00
Rob Savoye
23c6150b6f Fix gas_version. 1994-01-21 00:35:57 +00:00
Rob Savoye
fd9b8885e1 Tweak to work with either version of expect. Use the verbose function, fix
gas_version.
1994-01-20 23:30:51 +00:00
K. Richard Pixley
87756e15db added things-to-lose sections 1993-05-27 06:44:29 +00:00
Ken Raeburn
10f7b933f5 keep new utility scripts 1993-04-22 06:42:47 +00:00
Ken Raeburn
c0991e3eda New script. Simply evaluates and exec's its arguments. Needed until I
can figure out how to handle redirection easily in tcl/expect.
1993-04-05 17:32:38 +00:00
Ken Raeburn
acf11ed1aa from gas/testscripts -- may be useful someday 1993-04-05 17:25:37 +00:00
Ken Raeburn
f70a4714c9 First crack at a test suite. 1993-03-29 13:27:13 +00:00