This commit is contained in:
2026-03-23 12:13:12 +01:00
commit a615280259
153 changed files with 33843 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
#!/bin/sh
set -e
XED=${XED:=xed}
CXX=${CXX:=g++}
CFLAGS_USER=${CFLAGS}
CFLAGS_WARN="$(cat CFLAGS_WARN.cfg)"
PYTHON=${PYTHON:=python3}
echo $XED
if [ $# -ne 1 ]; then
echo "./test_by_xed.sh <xbyak-cpp>"
exit 1
fi
TARGET=$1
CFLAGS="$CFLAGS_USER $CFLAGS_WARN -I ../"
echo "test:" $TARGET
cp $TARGET tmp.cpp
$CXX $CFLAGS test_by_xed.cpp -o test_by_xed
./test_by_xed
$XED -64 -ir bin > out.txt
$PYTHON test_by_xed.py $TARGET out.txt