diff options
| author | Cliff Click <cliffc@acm.org> | 2026-10-10 12:07:28 -0700 |
|---|---|---|
| committer | Cliff Click <cliffc@acm.org> | 2026-10-10 12:07:28 -0700 |
| commit | 1213e8e8f359c8a1abb05ee8a220d9c56bc36051 (patch) | |
| tree | cc186a55129881fd32c1293d27bda0df78fe4bb1 /chapter25/Makefile | |
| parent | 7096ba70c05eabfe96fd7e69d276b16ac1bd0bb9 (diff) | |
| download | Simple-1213e8e8f359c8a1abb05ee8a220d9c56bc36051.tar.gz Simple-1213e8e8f359c8a1abb05ee8a220d9c56bc36051.zip | |
First cut clinit tracking for cycles
Diffstat (limited to 'chapter25/Makefile')
| -rw-r--r-- | chapter25/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chapter25/Makefile b/chapter25/Makefile index aa7f0a17..954a22a5 100644 --- a/chapter25/Makefile +++ b/chapter25/Makefile @@ -15,6 +15,7 @@ # run the tests # # make tests +# make test CLASS=Chapter25Test METHOD=testHelloWorldNoInline ####################################################### # @@ -197,6 +198,13 @@ tests_sys: $(CLZDIR)/main/.mtag $(CLZDIR)/test/.ttag $(TEST_SYS) $(RELEASE_CRT) @[ -d $(OBJS) ] || mkdir -p $(OBJS) @$(JVM) org.junit.runner.JUnitCore $(test_sys) +# One test method (or the whole class when METHOD is omitted). +CLASS ?= Chapter25Test +METHOD ?= +.PHONY: test +test: $(CLZDIR)/main/.mtag $(CLZDIR)/test/.ttag $(TEST_SYS) $(RELEASE_CRT) + @$(JVM) com.seaofnodes.simple.TestRunner "$(CLASS)" "$(METHOD)" + fuzzer: $(CLZDIR)/main/.mtag $(CLZDIR)/test/.ttag @echo "fuzzing " @$(JVM) org.junit.runner.JUnitCore com.seaofnodes.simple.FuzzerWrap |
