mirror of
https://github.com/netwide-assembler/nasm.git
synced 2026-01-26 08:07:53 +00:00
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>
85 lines
1.7 KiB
JSON
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" }
|
|
]
|
|
}
|
|
]
|