Integrate the "eth" architecture in the test suite
This commit is contained in:
parent
0c61971874
commit
d05eb817cd
8
tests/eth.asm
Normal file
8
tests/eth.asm
Normal file
|
@ -0,0 +1,8 @@
|
|||
/* $Id$ */
|
||||
.section .text
|
||||
push1 0x01 /* 60 01 */
|
||||
push1 0x00 /* 60 00 */
|
||||
dup2 /* 81 */
|
||||
swap1 /* 90 */
|
||||
sstore /* 55 */
|
||||
pop /* 50 */
|
|
@ -1,4 +1,4 @@
|
|||
targets=amd64.o,arm.o,armeb.o,armel.o,coverage.log,dalvik.o,fixme.log,i386.o,i386_real.o,i486.o,i586.o,i686.o,mips.o,mipseb.o,mipsel.o,java.o,pylint.log,sparc.o,sparc64.o,template.o,tests.log,yasep.o,yasep16.o,yasep32.o
|
||||
targets=amd64.o,arm.o,armeb.o,armel.o,coverage.log,dalvik.o,eth.o,fixme.log,i386.o,i386_real.o,i486.o,i586.o,i686.o,mips.o,mipseb.o,mipsel.o,java.o,pylint.log,sparc.o,sparc64.o,template.o,tests.log,yasep.o,yasep16.o,yasep32.o
|
||||
as=$(OBJDIR)../tools/asm-static
|
||||
dist=Makefile,pylint.sh,python.sh,tests.sh
|
||||
|
||||
|
@ -48,6 +48,14 @@ sources=dalvik.asm
|
|||
[dalvik.asm]
|
||||
depends=$(OBJDIR)../tools/asm-static$(EXEEXT)
|
||||
|
||||
[eth.o]
|
||||
type=object
|
||||
asflags=-a eth
|
||||
sources=eth.asm
|
||||
|
||||
[eth.asm]
|
||||
depends=$(OBJDIR)../tools/asm-static$(EXEEXT)
|
||||
|
||||
[fixme.log]
|
||||
type=script
|
||||
script=./fixme.sh
|
||||
|
@ -158,7 +166,7 @@ depends=$(OBJDIR)../tools/asm-static$(EXEEXT)
|
|||
[tests.log]
|
||||
type=script
|
||||
script=./tests.sh -v
|
||||
depends=$(OBJDIR)amd64.o,$(OBJDIR)arm.o,$(OBJDIR)armeb.o,$(OBJDIR)armel.o,$(OBJDIR)i386.o,$(OBJDIR)i386_real.o,$(OBJDIR)i486.o,$(OBJDIR)i586.o,$(OBJDIR)i686.o,python.sh,$(OBJDIR)sparc.o,$(OBJDIR)sparc64.o,tests.sh,$(OBJDIR)yasep.o,$(OBJDIR)yasep16.o,$(OBJDIR)yasep32.o,$(OBJDIR)../tools/asm-static$(EXEEXT),$(OBJDIR)../tools/deasm-static$(EXEEXT)
|
||||
depends=$(OBJDIR)amd64.o,$(OBJDIR)arm.o,$(OBJDIR)armeb.o,$(OBJDIR)armel.o,$(OBJDIR)eth.o,$(OBJDIR)i386.o,$(OBJDIR)i386_real.o,$(OBJDIR)i486.o,$(OBJDIR)i586.o,$(OBJDIR)i686.o,python.sh,$(OBJDIR)sparc.o,$(OBJDIR)sparc64.o,tests.sh,$(OBJDIR)yasep.o,$(OBJDIR)yasep16.o,$(OBJDIR)yasep32.o,$(OBJDIR)../tools/asm-static$(EXEEXT),$(OBJDIR)../tools/deasm-static$(EXEEXT)
|
||||
|
||||
[yasep.o]
|
||||
type=object
|
||||
|
|
|
@ -169,6 +169,7 @@ echo "Expected failures:" 1>&2
|
|||
for test in $failures; do
|
||||
_fail "$test"
|
||||
done
|
||||
_fail _deasm eth
|
||||
if [ -n "$FAILED" ]; then
|
||||
echo "Failed tests:$FAILED" 1>&2
|
||||
exit 2
|
||||
|
|
Loading…
Reference in New Issue
Block a user