forked from aniani/nasm
No need to generate binaries, just compare __OUTPUT_FORMAT__ output and add missing formats. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.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": [
|
|
{ "stdout": "nasmformat-bin.stdout" }
|
|
]
|
|
},
|
|
{
|
|
"description": "Test __OUTPUT_FORMAT__ directive (elf32)",
|
|
"ref": "nasmformat",
|
|
"format": "elf32",
|
|
"target": [
|
|
{ "stdout": "nasmformat-elf32.stdout" }
|
|
]
|
|
},
|
|
{
|
|
"description": "Test __OUTPUT_FORMAT__ directive (elf64)",
|
|
"ref": "nasmformat",
|
|
"format": "elf64",
|
|
"target": [
|
|
{ "stdout": "nasmformat-elf64.stdout" }
|
|
]
|
|
},
|
|
{
|
|
"description": "Test __OUTPUT_FORMAT__ directive (macho32)",
|
|
"ref": "nasmformat",
|
|
"format": "macho32",
|
|
"target": [
|
|
{ "stdout": "nasmformat-macho32.stdout" }
|
|
]
|
|
},
|
|
{
|
|
"description": "Test __OUTPUT_FORMAT__ directive (macho64)",
|
|
"ref": "nasmformat",
|
|
"format": "macho64",
|
|
"target": [
|
|
{ "stdout": "nasmformat-macho64.stdout" }
|
|
]
|
|
},
|
|
{
|
|
"description": "Test __OUTPUT_FORMAT__ directive (aout)",
|
|
"ref": "nasmformat",
|
|
"format": "aout",
|
|
"target": [
|
|
{ "stdout": "nasmformat-aout.stdout" }
|
|
]
|
|
},
|
|
{
|
|
"description": "Test __OUTPUT_FORMAT__ directive (win32)",
|
|
"ref": "nasmformat",
|
|
"format": "win32",
|
|
"target": [
|
|
{ "stdout": "nasmformat-win32.stdout" }
|
|
]
|
|
},
|
|
{
|
|
"description": "Test __OUTPUT_FORMAT__ directive (win64)",
|
|
"ref": "nasmformat",
|
|
"format": "win64",
|
|
"target": [
|
|
{ "stdout": "nasmformat-win64.stdout" }
|
|
]
|
|
},
|
|
{
|
|
"description": "Test __OUTPUT_FORMAT__ directive (obj)",
|
|
"ref": "nasmformat",
|
|
"format": "obj",
|
|
"target": [
|
|
{ "stdout": "nasmformat-obj.stdout" }
|
|
]
|
|
},
|
|
{
|
|
"description": "Test __OUTPUT_FORMAT__ directive (ieee)",
|
|
"ref": "nasmformat",
|
|
"format": "ieee",
|
|
"target": [
|
|
{ "stdout": "nasmformat-ieee.stdout" }
|
|
]
|
|
}
|
|
]
|