]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/testsuite/gas/hppa/README
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / hppa / README
CommitLineData
252b5132
RH
1Notes on how the HPPA testsuite is organized:
2
3basic.parse -- this directory contains the basic instruction parsing
4tests and a simple .stab parsing test. This would be where you'd
5add code to make sure new instructions are parsed correctly, new
6completers (such as cache hits) are parsed correctly, etc.
7
8It's also a reasonable place to make sure parsing of the various
9assembler directives is handled correctly. If you're going to add
10such code, try to be reasonably complete. Add test code for each
11basic directive and test all (or a noteworthy) subset of arguments.
12
13It should only be necessary to have an assembler to run these tests;
14calling objdump_start or something similar should not be done from
15this directory.
16
17
18more.parse -- this is where you should put additional parsing tests, such
19as tests to check mode selector parsing, string parsing, expression parsing,
20etc. It's also a reasonable place to put parsing tests which are not complete
21enough (whatever that means) for basic.parse.
22
23It should only be necessary to have an assembler to run these tests;
24calling objdump_start or something similar should not be done from
25this directory.
26
27
28reloc -- this is where you tests which examine relocations produced
29by GAS belong. To run these tests you must have a functioning objdump.
30
31
32unsorted -- this is where everything else goes. As groups of related tests
33end up in this directory, they should be broken out into a new class of
34tests.
5bf135a7 35\f
250d07de 36Copyright (C) 2012-2021 Free Software Foundation, Inc.
5bf135a7
NC
37
38Copying and distribution of this file, with or without modification,
39are permitted in any medium without royalty provided the copyright
40notice and this notice are preserved.