codegen: {put,get}static for static field access
[mate.git] / Makefile
index 6fdae5590af42d1174e8ea8fc29f6ff9c9ad12ee..82ff90a2e5834a41d6ed93363be044defcb84fba 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,10 @@ test: mate $(CLASS_FILES)
        @printf "should be:  0x%08x\n" 8
        @printf "should be:  0x%08x\n" 13
        ./$< tests/Native1 | egrep -i -e '^printsomething: '
-       ./$< tests/Static1
+       ./$< tests/Static1 | grep mainresult
+       @printf "should be:  0x%08x\n" 0x33
+       ./$< tests/Static2 | grep mainresult
+       @printf "should be:  0x%08x\n" 0x55
 
 %.class: %.java
        $(JAVAC) $<