Commit graph

177 commits

Author SHA1 Message Date
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
109babdf49 * gas/hppa/reloc/relocreduce2.s: More relocation reduction tests.
* gas/hppa/reloc/reloc.exp: Run them.
1994-07-07 17:59:58 +00:00
Ken Raeburn
7e6fc3a845 * config/default.exp: Look for "as.new" in "$base_dir/..", where it got
compiled, not in "$base_dir".

* config/unknown.exp: Deleted.
1994-06-30 22:54:44 +00:00
Steve Chamberlain
1b01afe630 Don't keep the "is" cases, only the "was" cases. 1994-06-28 01:19:19 +00:00
Steve Chamberlain
7a9e58720f Reflect new rules. 1994-06-28 01:17:29 +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
Rob Savoye
605491337b Look for as.new before looking in the path for the binary to test. 1994-06-21 22:15:04 +00:00
Rob Savoye
afaf3145b5 Use "default" rather than "unix". 1994-06-18 20:17:26 +00:00
Rob Savoye
3b8bdecc4a Setup default and unknown init files. 1994-06-18 20:11:38 +00:00
Rob Savoye
a7175ea958 Don't pass AS and ASFLAGS, it's now done in the testing code. 1994-06-18 20:06:27 +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
Ian Lance Taylor
daa7e18489 * Makefile.in (mostlyclean, realclean): New targets.
* doc/Makefile.in, testsuite/Makefile.in: Likewise.
1994-06-07 17:37:52 +00:00
Ken Raeburn
be64f9c8bf keep files for pushw test 1994-06-05 16:47:36 +00:00
Ken Raeburn
e4125bb4d9 note new i386 test 1994-06-02 23:47:38 +00:00
Ken Raeburn
121d5e17cd new test for "pushw" 1994-06-02 23:46:51 +00:00
Ken Raeburn
d9ac025813 whitespace 1994-06-02 23:46:41 +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
Ken Raeburn
5494073cf2 remove unneeded files 1994-05-08 05:21:37 +00:00
Ken Raeburn
a29f494c27 note file renaming 1994-05-08 05:21:18 +00:00
Ken Raeburn
8f10906f94 * config/default.exp: Renamed from unix-gas.exp. 1994-05-05 21:34:11 +00:00
Steve Chamberlain
a5f4bc3075 More testcases. 1994-04-27 18:03:31 +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
1135d397cf * gas/hppa/more.parse/callinfobug.s: Add missing name for procedure. 1994-04-11 16:02:52 +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
80b849167a * gas/hppa/unsorted/importbug.s: New test.
* gas/hppa/unsorted/unsorted.exp: Run it.
1994-03-17 21:40:06 +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
Rob Savoye
d8e882a899 Change "error" to "perror". 1994-03-02 05:00:26 +00:00
Rob Savoye
6e2194f077 Change "error" to "perror" everywhere. 1994-03-02 02:59:43 +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
Ken Raeburn
3eacff1741 update -- keep more stuff recently added 1994-02-18 22:09:23 +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
Ken Raeburn
0586b4600f * gas/alpha/fp.*: New files.
* lib/gas-defs.exp (regexp_diff): Report noted mismatch at
verbosity level 3 or above only.
1994-02-10 05:39:17 +00:00
Jeff Law
a2f0b50733 * gas/hppa/*/*.exp: Change xfails to check for PA ELF rather than
PA OSF1.
1994-02-07 23:54:54 +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
0ce4d62e74 test code for fp handling -- no .exp file yet 1994-01-31 19:11:28 +00:00
Steve Chamberlain
3981bad3ee New files for testing gasp. 1994-01-31 16:53:03 +00:00
Ken Raeburn
9e929d320a fix regexp for all/x930509.s 1994-01-31 04:39:12 +00:00
Rob Savoye
03372cf4ab Change all occurances of RUNTEST_FLAGS to RUNTESTFLAGS to be consistant with
everything else. (and now work recursively too)
1994-01-26 21:44:50 +00:00
Rob Savoye
23c6150b6f Fix gas_version. 1994-01-21 00:35:57 +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
Rob Savoye
ae61c2de71 Tweak to run under either version of expect. Add a hack-around for a
dejagnu 1.1.1 (only) bug.
1994-01-20 23:44:10 +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
Rob Savoye
6caa29338b Tweaked to run under either version of expect. 1994-01-20 23:10:41 +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
Jeff Law
644df6f6c2 * gas/all/gas.exp: No longer expect difference of forward
references to fail.
        * gas/all/x930509.s: Fix testcase to match how the expect code was
        written.
1994-01-13 20:01:22 +00:00
Jeff Law
96f147a095 * gas/hppa/more.parse/procbug.s: Add test for another bug relating
to having a function's label follow the .PROC directive.
1994-01-12 21:42:55 +00:00
Jeff Law
61bfefd79a * gas/hppa/reloc/reloc.exp: Add test for cross-subspace call bug
found while working on multiple $CODE$ subspace support.
1994-01-12 05:49:12 +00:00
Jeff Law
378cbfe1c9 * gas/hppa/more.parse/parse.exp: procbug.s is no longer expected
to fail.
        * gas/hppa/more.parse/procbug.s: Add missing .procend.
1994-01-10 17:55:19 +00:00
Rob Savoye
5fdb3602a6 Add default values for AS and ASFLAGS. 1994-01-05 05:21:34 +00:00
Jeff Law
07ec88b67f * gas/hppa/more.parse/labelbug.s: Add testcase for bug in last
app.c change
1994-01-03 18:08:43 +00:00
Jeff Law
88b245830a * gas/hppa/more.parse/labelbug.s: Add more colonless label
tests.
1993-12-29 19:37:20 +00:00
Ken Raeburn
29f5c3cb15 Some changes from trying to run test suite in California last week:
* Makefile.in (site.exp): Don't set ASFLAGS.  Quote value of OBJDUMPFLAGS in
case it's empty.  Use temporary names until the end; make creating site.exp the
final step.
(check): Pass in ASFLAGS.

* gas/all/gas.exp: Use all_ones proc.  Change regexp for matching
C comments to avoid bugs in latest expect code.
1993-12-15 16:28:46 +00:00
Jeff Law
28b9501dcd * gas/m68k/disperr.s: New test.
* gas/m68k/all.exp: Run it.
1993-12-08 22:32:05 +00:00
Jeff Law
9fad66b50b * gas/hppa/reloc/roundmode.s: New test.
* gas/hppa/reloc/reloc.exp: Run it.  Fix typo in last change.
1993-12-06 03:26:33 +00:00
Jeff Law
b28171d0d0 * gas/hppa/more.parse/parse.exp: Test for error on for subspace
directive is an XFAIL for SOM assmeblers.

        * gas/hppa/reloc/reloc.exp: Remove XFAIL for relocation on
        cross-subspace call test.
1993-11-30 21:44:41 +00:00
Jeff Law
6e4eda3368 * gas/hppa/more.parse/appbug.s: New test.
* gas/hppa/more.parse/parse.exp: Run it.
1993-11-28 21:17:36 +00:00
Jeff Law
16539b5df7 * gas/hppa/unsorted/align3.s: New test.
* gas/hppa/unsorted/unsorted.exp: Run it.
1993-11-28 20:14:41 +00:00
Jeff Law
5f74c94042 * gas/all/p2425.s: Insert a tab before assembler directives so
that the directives are not interpreted as labels.

        * gas/hppa/basic/weird.s: Sync with GDB version.

        * gas/hppa/more.parse/labelbug.s: New test.

        * gas/hppa/more.parse/parse.exp: Run it.
1993-11-28 06:52:42 +00:00
Jeff Law
1421609c24 * gas/hppa/more.parse/labelbug.s: New test.
* gas/hppa/more.parse/parse.exp: Run it.
1993-11-28 06:52:28 +00:00
Jeff Law
8d898eda89 * gas/hppa/reloc/fixupbug.s: New test.
* gas/hppa/reloc/reloc.exp: Run it.
1993-11-24 20:45:32 +00:00
Jeff Law
64f591aea9 * gas/hppa/reloc/exitbug.s: New test.
* gas/hppa/reloc/reloc.exp: Run it.
1993-11-24 09:26:23 +00:00
Jeff Law
cd4d802bbb * gas/hppa/reloc/reloc.exp: Minor fixes so that SOM & ELF can
share the same test code.
        * gas/hppa/reloc/relocreduce.s: Likewise.
1993-11-22 07:28:08 +00:00
Jeff Law
4a1781156b * gas/hppa/basic/fmem.s: Add quadword FP store instructions.
* gas/hppa/basic/basic.exp: Test quadword FP store instructions.
1993-11-22 06:14:24 +00:00
Jeff Law
f60a4a0b52 * gas/hppa/basic/basic.exp: No longer expect failures for
system instruction tests now that probei is fixed.
1993-11-07 08:33:03 +00:00
Jeff Law
e8dc4a9347 * gas/hppa/reloc/selectorbug.s: New test.
* gas/hppa/reloc/reloc.exp: Run it.
1993-11-07 06:46:44 +00:00
Jeff Law
70d4dc11dc * gas/hppa/unsorted/fragbug.s: New test.
* gas/hppa/unsorted/unsorted.exp: Run it.
1993-11-05 01:03:25 +00:00
Jeff Law
c5ab495714 Add fragbug.s to things to keep. 1993-11-05 01:03:13 +00:00
Jeffrey Wheat
de074576ce Changed RUNTESTFLAGS to RUNTEST_FLAGS 1993-11-04 17:36:24 +00:00
Jeff Law
9ac55becf6 * gas/hppa/more.parse/{defbug.s, stdreg.s}: New tests.
* gas/hppa/more.parse/parse.exp: Run them.
1993-11-03 06:12:15 +00:00
Jeff Law
97335255fb * gas/hppa/reloc/reloc.exp (reloc_reduce): Correct offsets at
which specific relocations are expected to be found.
1993-11-02 07:40:53 +00:00
Jeff Law
5c2bae7507 * gas/hppa/unsorted/unsorted.exp (ss_align): Remove OSF xfail.
* gas/hppa/more.parse/parse.exp: Add new test.
        * gas/hppa/more.parse/ssbug.s: New test to make sure non-default
        * sections are handled correctly.
1993-10-31 01:45:52 +00:00
Jeff Law
03cc338bc1 * gas/hppa/more.parse/parse.exp: Add new test.
* gas/hppa/more.parse/ssbug.s: New test to make sure non-default
	sections are handled correctly.
1993-10-31 01:41:59 +00:00
Jeff Law
9bc0f7c85c * gas/all/gas.exp: Disable (and fail) p1480.s for all PA targets. 1993-10-30 21:14:53 +00:00
Jeff Law
762df61d4c * gas/hppa/more.parse/parse.exp: Fix typos. 1993-10-29 23:34:37 +00:00
Jeff Law
06c368b7d3 * gas/hppa/more.parse/calldatabug.s: Colonize. 1993-10-29 23:28:16 +00:00
Jeff Law
a54c84c779 * gas/hppa/{basic, more.parse, reloc, unsorted}: New directories.
* gas/hppa/*/*.exp: New test drivers.
        * gas/hppa/*/*.s: New test files.
1993-10-29 05:22:27 +00:00
Jeff Law
47882613c7 Unsorted PA tests. 1993-10-29 05:21:18 +00:00
Jeff Law
7317acfcea Quick description of test directory contents. 1993-10-29 05:20:11 +00:00
Jeff Law
9b1b0ad1a6 Relocation tests for the PA. 1993-10-29 05:14:07 +00:00
Jeff Law
7b5b8e5117 Additional parsing tests for PA gas. 1993-10-29 05:06:18 +00:00
Jeff Law
64285e8321 * gas/hppa/basic: New directory.
* gas/hppa/basic/basic.exp: New test driver.
        * gas/hppa/basic/*.s: New test files.
1993-10-29 04:58:03 +00:00
Jeff Law
fae89ef08e Keep hppa test directory. 1993-10-29 04:56:45 +00:00
Jeff Law
6bf5210ada Basic hppa GAS testsuite. 1993-10-29 04:55:51 +00:00
Jeff Law
a0b5dd523e Add new hppa directory. 1993-10-29 04:54:51 +00:00
Ken Raeburn
4a350ee6b2 bunch of changes... 1993-10-25 16:48:51 +00:00
Ken Raeburn
1c7b72b373 keep diff1.s 1993-10-25 16:48:30 +00:00
Ken Raeburn
b59797d28a new test case for relocations with addends 1993-10-25 16:46:55 +00:00
Ken Raeburn
24f1de41a7 keep pic1.s 1993-10-25 16:45:26 +00:00