codegen: implement `iastore' and `iaload'
[mate.git] / Makefile
index 2b4182d46c57c28e13e35a28701e2d9884639e1d..79d36964c2ab981a857b5b901909a3daf355dd19 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -60,6 +60,12 @@ test: mate $(CLASS_FILES)
        @printf "should be:  0x%08x 0x%08x\n" 0x1337 0x1337
        ./$< tests/Native2 | grep "printstream"
        @printf "should be:   0x%08x\n" 0x1337
+       ./$< tests/Native3 | egrep -e "^Hello World"
+       @printf "should be: %s\n" "Hello World"
+       ./$< tests/Strings1 | egrep -c -e "^okay :-\)"
+       @printf "should be: %d\n" 3
+       ./$< tests/Array1 | grep "printstream"
+       @printf "should be:   0x%08x 0x%08x\n" 0x264 0x8
 
 %.class: %.java
        $(JAVAC) $<