mirror of
https://github.com/netwide-assembler/nasm
synced 2026-08-26 16:23:04 -04:00
This is a mostly automated, partially AI-assisted migration of tests from the test/ directory into the travis framework. Running tests manually in the test/ directory is still supported, but move common include files into travis/test and add a default -I option to Makefile.in in the test/ directory. The incbin test fails for pre-existing reasons; for now it contains an stderr file with the errors. The problem is that INCBIN is both a macro and a special instruction (not even a directive...), but there currently is no way to handle prefixes, *especially* TIMES, in multi-line macros. This is a separate problem and needs to be dealt with as such. Reorganize the travis directory so that each test or collection of tests are in a separate subdirectory of travis/, and travis itself lives in tools/travis to avoid creating deeper paths. Add support for recording compression options in the travis .json files, so that compressed files can be recreated with the same options: because of the generally repetitive nature of the binary output test files, the parameters used for xz compression can matter enormously. These are combined into a single huge commit to avoid adding large binary files into the repository that then would immediately be obsoleted, but still retained in git. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
84 lines
1.7 KiB
JSON
84 lines
1.7 KiB
JSON
[
|
|
{
|
|
"description": "Test __OUTPUT_FORMAT__ directive (bin)",
|
|
"id": "nasmformat",
|
|
"format": "bin",
|
|
"source": "nasmformat.asm",
|
|
"option": "-E -Ox",
|
|
"target": [
|
|
{ "output": "nasmformat-bin.out" }
|
|
]
|
|
},
|
|
{
|
|
"description": "Test __OUTPUT_FORMAT__ directive (elf32)",
|
|
"ref": "nasmformat",
|
|
"format": "elf32",
|
|
"target": [
|
|
{ "output": "nasmformat-elf32.out" }
|
|
]
|
|
},
|
|
{
|
|
"description": "Test __OUTPUT_FORMAT__ directive (elf64)",
|
|
"ref": "nasmformat",
|
|
"format": "elf64",
|
|
"target": [
|
|
{ "output": "nasmformat-elf64.out" }
|
|
]
|
|
},
|
|
{
|
|
"description": "Test __OUTPUT_FORMAT__ directive (macho32)",
|
|
"ref": "nasmformat",
|
|
"format": "macho32",
|
|
"target": [
|
|
{ "output": "nasmformat-macho32.out" }
|
|
]
|
|
},
|
|
{
|
|
"description": "Test __OUTPUT_FORMAT__ directive (macho64)",
|
|
"ref": "nasmformat",
|
|
"format": "macho64",
|
|
"target": [
|
|
{ "output": "nasmformat-macho64.out" }
|
|
]
|
|
},
|
|
{
|
|
"description": "Test __OUTPUT_FORMAT__ directive (aout)",
|
|
"ref": "nasmformat",
|
|
"format": "aout",
|
|
"target": [
|
|
{ "output": "nasmformat-aout.out" }
|
|
]
|
|
},
|
|
{
|
|
"description": "Test __OUTPUT_FORMAT__ directive (win32)",
|
|
"ref": "nasmformat",
|
|
"format": "win32",
|
|
"target": [
|
|
{ "output": "nasmformat-win32.out" }
|
|
]
|
|
},
|
|
{
|
|
"description": "Test __OUTPUT_FORMAT__ directive (win64)",
|
|
"ref": "nasmformat",
|
|
"format": "win64",
|
|
"target": [
|
|
{ "output": "nasmformat-win64.out" }
|
|
]
|
|
},
|
|
{
|
|
"description": "Test __OUTPUT_FORMAT__ directive (obj)",
|
|
"ref": "nasmformat",
|
|
"format": "obj",
|
|
"target": [
|
|
{ "output": "nasmformat-obj.out" }
|
|
]
|
|
},
|
|
{
|
|
"description": "Test __OUTPUT_FORMAT__ directive (ieee)",
|
|
"ref": "nasmformat",
|
|
"format": "ieee",
|
|
"target": [
|
|
{ "output": "nasmformat-ieee.out" }
|
|
]
|
|
}
|
|
]
|