test/nasmformat.asm
raw| 1 | ;Testname=obj; Arguments=-fobj -onasmfomat.o; Files=stdout stderr nasmfomat.o |
| 2 | ;Testname=bin; Arguments=-fbin -onasmfomat.o; Files=stdout stderr nasmfomat.o |
| 3 | |
| 4 | %if __OUTPUT_FORMAT__ == 'bin' |
| 5 | |
| 6 | db 'This is binary format file' |
| 7 | |
| 8 | %elif __OUTPUT_FORMAT__ == 'obj' |
| 9 | |
| 10 | db 'This is object format file' |
| 11 | |
| 12 | %else |
| 13 | |
| 14 | db 'This is some other format file' |
| 15 | |
| 16 | %endif |