readme
来自「Linux下嵌入式开发工具源代码」· 代码 · 共 35 行
TXT
35 行
Notes on how the HPPA testsuite is organized:basic.parse -- this directory contains the basic instruction parsingtests and a simple .stab parsing test. This would be where you'dadd code to make sure new instructions are parsed correctly, newcompleters (such as cache hits) are parsed correctly, etc.It's also a reasonable place to make sure parsing of the variousassembler directives is handled correctly. If you're going to addsuch code, try to be reasonably complete. Add test code for eachbasic directive and test all (or a noteworthy) subset of arguments.It should only be necessary to have an assembler to run these tests;calling objdump_start or something similar should not be done fromthis directory.more.parse -- this is where you should put additional parsing tests, suchas tests to check mode selector parsing, string parsing, expression parsing,etc. It's also a reasonable place to put parsing tests which are not completeenough (whatever that means) for basic.parse. It should only be necessary to have an assembler to run these tests;calling objdump_start or something similar should not be done fromthis directory.reloc -- this is where you tests which examine relocations producedby GAS belong. To run these tests you must have a functioning objdump.unsorted -- this is where everything else goes. As groups of related testsend up in this directory, they should be broken out into a new class oftests.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?