Mercurial > hg > shark
changeset 25:3dfb856768da
Run it
author | Gary Benson <gbenson@redhat.com> |
---|---|
date | Thu, 10 Feb 2011 13:48:48 +0000 |
parents | b79687c336c3 |
children | e212cad74484 |
files | Makefile |
diffstat | 1 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Thu Feb 10 13:05:20 2011 +0000 +++ b/Makefile Thu Feb 10 13:48:48 2011 +0000 @@ -4,7 +4,7 @@ TARGETS = product debug productzero debugzero productshark debugshark -default: productshark +default: test $(TARGETS): rm -Rf $(BOOTDIR) @@ -28,4 +28,12 @@ test/java/dyn/MethodHandlesTest.class: test/java/dyn/MethodHandlesTest.java $(JAVADIR)/bin/javac -cp $(JUNITJAR) $< -.PHONY: default $(TARGETS) build clean patch +test: debug test/java/dyn/MethodHandlesTest.class + hotspot/build/linux/jdk-linux-amd64/debug/bin/java \ + -XX:+UnlockExperimentalVMOptions \ + -XX:+EnableMethodHandles \ + -XX:+EnableInvokeDynamic \ + -cp $(JUNITJAR):. org.junit.runner.JUnitCore \ + test.java.dyn.MethodHandlesTest + +.PHONY: default $(TARGETS) build clean patch test