mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-24 14:09:56 +00:00
java: add 'check' target to Makefile
This commit is contained in:
parent
984d45068c
commit
a3f87a54d9
@ -59,3 +59,11 @@ ifdef BUILDDIR
|
||||
rm -rf $(BLDIR)
|
||||
rm -rf $(OBJDIR)
|
||||
endif
|
||||
|
||||
TESTS = test arm arm64 mips ppc sparc systemz x86 xcore
|
||||
check:
|
||||
@for t in $(TESTS); do \
|
||||
echo Check $$t ... ; \
|
||||
./run.sh $$t > /dev/null && echo OK || echo FAILED; \
|
||||
done
|
||||
|
||||
|
@ -12,6 +12,7 @@ fi
|
||||
|
||||
case "$1" in
|
||||
"") java -classpath ${JNA}:. Test ;;
|
||||
"test") java -classpath ${JNA}:. Test ;;
|
||||
"arm") java -classpath ${JNA}:. TestArm ;;
|
||||
"arm64") java -classpath ${JNA}:. TestArm64 ;;
|
||||
"mips") java -classpath ${JNA}:. TestMips ;;
|
||||
|
Loading…
Reference in New Issue
Block a user