nasm/travis/test/nasmformat.json
H. Peter Anvin 1a907c27a5 travis: always generate a list file; show subtest number
Always generate a list file and point output at a given filename, even
if failure is expected.

Remove ad hoc -o output names that generally don't point into safe
locations.

The result is that the preprocessing options (-E) no longer output to
stdout, so change the tests accordingly.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
2025-10-15 22:11:09 -07:00

85 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" }
]
}
]