aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorAndrea Pappacoda <[email protected]>2023-12-11 12:11:01 +0100
committerAndrea Pappacoda <[email protected]>2023-12-11 12:22:30 +0100
commit650b241e322f75f1ea125fafdbe03071d17c5087 (patch)
tree9351f8dda66fa69b31a46d075e77ddb0c213dba7 /test
parent016ce86b66ff7c34f88b4cbaa159fcfc05b4ca99 (diff)
downloadxbyak-650b241e322f75f1ea125fafdbe03071d17c5087.tar.gz
xbyak-650b241e322f75f1ea125fafdbe03071d17c5087.zip
test: only run apx test when BIT=64
This fixes tests on 32 bit systems.
Diffstat (limited to 'test')
-rw-r--r--test/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Makefile b/test/Makefile
index 6d7cfc8..d2d8309 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1,4 +1,4 @@
-TARGET = make_nm normalize_prefix bad_address misc cvt_test cvt_test32 noexception misc32 detect_x32 apx
+TARGET = make_nm normalize_prefix bad_address misc cvt_test cvt_test32 noexception misc32 detect_x32
XBYAK_INC=../xbyak/xbyak.h ../xbyak/xbyak_mnemonic.h
UNAME_S=$(shell uname -s)
ifeq ($(shell ./detect_x32),x32)
@@ -21,7 +21,7 @@ ifeq ($(ONLY_64BIT),0)
endif
ifeq ($(BIT),64)
- TARGET += jmp64 address64
+ TARGET += jmp64 address64 apx
endif
all: $(TARGET)
@@ -73,7 +73,6 @@ endif
./misc
./misc32
./cvt_test
- ./apx
ifeq ($(BIT),64)
CXX=$(CXX) ./test_address.sh 64
ifneq ($(X32),1)
@@ -81,6 +80,7 @@ ifneq ($(X32),1)
CXX=$(CXX) ./test_nm.sh Y64
endif
./jmp64
+ ./apx
endif
test_avx: normalize_prefix