aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2013-07-30 13:51:13 +0900
committerMITSUNARI Shigeo <[email protected]>2013-07-30 13:51:13 +0900
commit15e309b77f109906ef31e4f07d15613798ff6a00 (patch)
tree675287d02a7ccfcd2d9d8c1d6b8817bb02b65299 /test
parent09295a432c9d3443cc96c8b48e5f5e044d88f03e (diff)
downloadxbyak-15e309b77f109906ef31e4f07d15613798ff6a00.tar.gz
xbyak-15e309b77f109906ef31e4f07d15613798ff6a00.zip
support long format
Diffstat (limited to 'test')
-rw-r--r--test/test_address.bat3
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%