diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_address.bat | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_address.bat b/test/test_address.bat index fe1b437..7faa23a 100644 --- a/test/test_address.bat +++ b/test/test_address.bat @@ -1,4 +1,5 @@ @echo off +set FILTER=cat if /i "%1"=="64" ( set OPT2=-DXBYAK64 set OPT3=win64 @@ -25,7 +26,7 @@ cl address.cpp %OPT% %OPT2% address %1% > a.asm echo nasm -f %OPT3% -l a.lst a.asm nasm -f %OPT3% -l a.lst a.asm -awk "!/warning:/ {print $3}" < a.lst > ok.lst +awk "{if (index($3, ""-"")) { conti=substr($3, 0, length($3) - 1) } else { conti = conti $3; print conti; conti = """" }} " < a.lst |%FILTER% > ok.lst echo address %1% jit > nm.cpp address %1% jit > nm.cpp echo cl -I../ -DXBYAK_TEST nm_frame.cpp %OPT% %OPT2% |