Commit graph

76 commits

Author SHA1 Message Date
David Edelsohn
003587bd1f * lib/gas-defs.exp (run_dump_test): Handle arguments with paths.
Always resolve testcase status before returning.
	If `slurp_options' fails, return and don't do test.
	(slurp_options): Fix "can't open" error message.
	Return -1 to indicate error.
1995-04-08 19:51:42 +00:00
Jeff Law
d4a9bc73c1 Add missing ChangeLog entry. 1995-02-21 05:14:22 +00:00
Ian Lance Taylor
a93c34edf1 * gas/mips/uld.d: New file.
* gas/mips/uld.s: New file.
	* gas/mips/usd.d: New file.
	* gas/mips/usd.s: New file.
	* gas/mips/mips.exp: Run new tests.
1995-02-15 20:45:35 +00:00
Jeff Law
359bb9a364 * config/tc-hppa.c (pa_ip, case 'D'): Fix typo which caused
miscompilation of "diag" instructions.

	* gas/hppa/basic/basic.exp (do_system): Update.
1995-01-24 04:50:43 +00:00
Jeff Law
ef788f4f66 * gas/hppa/unsorted/unsorted.exp (align4.s): Fix glitch in
regexp to avoid losing without a controlling tty.
1995-01-10 18:43:46 +00:00
Ken Raeburn
227fe4adb9 * gas/i386/pushw.l: Fixed whitespace to match current listing style.
* gas/all/gas.exp: Mark test p1480.s expected to pass, even with listings.
[requires patches that'll be checked in soon]
1994-12-30 23:15:52 +00:00
Ian Lance Taylor
d9f4c35f65 * gas/mips/jal-svr4pic.d: Fix 0-strings to work with 64-bit hosted
disassembly.
1994-12-13 23:28:17 +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
1fd1309172 * gas/arm/gas.exp: The arm6 test should report errors, for now. 1994-12-10 01:28:29 +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
d2ccfce3d2 rename gas/ieee.fp to ieee-fp 1994-12-07 21:51:34 +00:00
Ian Lance Taylor
2245d757d7 * gas/mips/ld.d: Adjust to work for both big and little endian
code.
	* gas/mips/ld.s, gas/mips/lif-empic.d: Likewise.
	* gas/mips/lifloat.d, gas/mips/ulh-empic.d: Likewise.
	* gas/mips/ulh.d, gas/mips/ulw.d, gas/mips/ush.d: Likewise.
	* gas/mips/usw.d: Likewise.
1994-11-28 16:21:59 +00:00
Jeff Law
5a1b13d7e9 * gas/hppa/more.parse/parse.exp (nosubspace.s): No longer expected
to fail.  Fix comments for the test.  Tweak test name.
1994-11-28 07:55:25 +00:00
Jeff Law
d2e9cd8c9a * gas/hppa/reloc/reloc.exp: Minor tweaks to match current PA ELF
output.
1994-11-23 06:39:20 +00:00
Jeff Law
2df1ea3d5b * gas/hppa/unsorted/align4.s: New test.
* gas/hppa/unsorted/unsorted.exp: Run it.
1994-11-16 06:18:20 +00:00
Jeff Law
1a9a95bb2a * gas/config/tc-hppa.h (obj_frob_symbol): Delete ELF specific
definition.
	(tc_frob_symbol): Make this condition on OBJ_SOM or OBJ_ELF.  For
	ELF, subtract out the symbol->section->vma for non-common symbols.

	* gas/testsuite/gas/hppa/unsorted/unsorted.exp (importbug): Tweak
	to match current expected ELF output.
	* gas/testsuite/gas/hppa/reloc/reloc.exp
	(do_plabel_relocation_test, do_r_no_reloc): Likewise.
1994-11-15 18:35:32 +00:00
Ian Lance Taylor
71da20b741 * gas/mips/ulh.d, gas/mips/ulw.d, gas/mips/ush.d, gas/mips/usw.d:
Correct test cases.
1994-11-03 20:52:11 +00:00
Jeff Law
a7f1f2a8ea * gas/hppa/reloc/blebug3.s: New test.
* gas/hppa/reloc/reloc.exp: Run it.
1994-10-20 06:56:55 +00:00
Jeff Law
71b07521c6 * gas/hppa/reloc/reloc.exp (r_no_reloc): Tweak output to match
current reality.
1994-10-17 04:27:13 +00:00
Ian Lance Taylor
fac75dfebb * gas/mips/beq.d, gas/mips/beq.s: Test that unconditional branch
overflows are correctly converted to jumps.
1994-09-28 17:42:30 +00:00
Ken Raeburn
b0ed204dbf vax test 1994-09-17 05:28:13 +00:00
Jeff Law
7e9825f0b7 * gas/hppa/reloc/r_no_relocbug.s: New test.
* gas/hppa/reloc/reloc.exp: Run it.

	* gas/hppa/reloc/reloc.exp (do_function_reloc_bug): Update
	expected output.
1994-09-13 04:22:49 +00:00
Ken Raeburn
318b02b6b9 ARM Acorn/RISCiX target and host patches from Richard Earnshaw 1994-09-05 10:53:00 +00:00
Ken Raeburn
14c11f4482 more description on last change 1994-07-15 23:24:34 +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
5ce4e41c09 * gas/lib/gas-defs.exp (gas_finish): Call "close" and "wait"
before exiting.  Enclose both calls inside a "catch".
	(objdump_finish): Likewise.
1994-06-26 22:52:06 +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
Jeff Law
ed50a13b4e * gas/hppa/reloc/reloc.exp (roundmode test): Tweak expected output
for SOM to match current testcase.
1994-06-10 16:24:54 +00:00
Ken Raeburn
e4125bb4d9 note new i386 test 1994-06-02 23:47:38 +00:00
Ken Raeburn
b166d61474 * Makefile.in (distclean): Remove site config files and gas.sum. 1994-06-02 19:09:30 +00:00
Ken Raeburn
c06e55d99a changes from gas-2.3/binutils-2.4 dist (details in branch log msgs, changelogs) 1994-05-27 16:58:05 +00:00
Bill Cox
858665b799 * lib/gas-defs.exp: Replace error proc calls with perror calls. 1994-05-17 21:54:41 +00:00
Jeff Law
a0546d5ed3 * gas/hppa/reloc/reloc.exp: Tweak expected output to match new
ELF code.
	* gas/hppa/reloc/roundmode.s: Avoid "S" and "D" modes, ELF does
	not support them.
	* gas/hppa/unsorted/unsorted.exp: Tweak expected output to match
	new ELF code.
1994-05-16 19:25:51 +00:00
Bill Cox
099c286e74 * Makefile.in (check): Set TCL_LIBRARY for runtest. 1994-04-11 23:17:18 +00:00
Jeff Law
61b3c2c58b * gas/hppa/more.parse/callinfobug.s: Add missing name for procedure. 1994-04-11 16:03:21 +00:00
Jeff Law
77d9009d08 * gas/hppa/reloc/funcrelobug.s: Place the trampoline in the
$DATA$ rather than the $LIT$ subspace.
1994-04-11 14:55:16 +00:00
Jeff Law
2f7c8700d3 * gas/hppa/reloc/funcrelocbug.s: New test.
* gas/hppa/reloc/reloc.exp: Run it.
1994-03-27 22:06:42 +00:00
Jeff Law
067654f143 * gas/hppa/more.parse/regpopbug.s: Add trivial .equ test. 1994-03-17 00:50:41 +00:00
Jeff Law
f04a9a1ea1 * gas/hppa/unsorted/globalbug.s: New test (expected to fail).
* gas/hppa/unsorted/unsorted.exp: Run it.
1994-03-16 23:24:53 +00:00
Jeff Law
7f8b9d66f5 * gas/hppa/more.parse/callinfobug.s: New test.
* gas/hppa/omre.parse/parse.exp: Run it.
1994-03-16 22:44:14 +00:00
Jeff Law
2573e71c0e * gas/hppa/more.parse/regpopbug.s: New test.
* gas/hppa/more.parse/parse.exp: Run it.
1994-03-16 19:58:31 +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
Jeff Law
2563162846 * gas/hppa/more.parse/parse.exp (no subspace test): Only expect
a failure if gas is not producing an ELF object.
1994-02-24 15:12:50 +00:00
Jeff Law
1e95993e94 * gas/hppa/basic/fmemLRbug.s: New test.
* gas/hppa/basic/basic.exp: Run it.
1994-02-14 17:25:25 +00:00
Jeff Law
4fc3b3b493 * gas/hppa/more.parse/xmpyubug.s: New test.
* gas/hppa/more.parse/parse.exp: Run it.
1994-02-05 07:43:29 +00:00
Ken Raeburn
9ebe52b3b9 * lib/gas-defs.exp (regexp_diff): New procedure, vaguely based on
"simple_diff" from linker test suite.
* gas/sun4/addend.exp: Use it.
* gas/sun4/addend.d: New file.
1994-02-04 22:19:31 +00:00
Ken Raeburn
9e929d320a fix regexp for all/x930509.s 1994-01-31 04:39:12 +00:00
Rob Savoye
2d9f80791a * gas/all/gas.exp, lib/gas-defs.exp, sun4/addend.exp,
sparc-solaris/addend.exp: Tweaked to fix a few bugs and to run
	well under either version of expect
1994-01-20 23:47:09 +00:00
Jeff Law
3df8598e73 * gas/hppa/basic/fp_misc.s: Delete copr instruction. It's tested
elsewhere now.
        * gas/hppa/basic/{copr, coprmem, spop}.s: New tests.
        * gas/hppa/basic/basic.exp: Run them.
1994-01-17 08:25:42 +00:00