Browse Source

update existing tests

JNI-94
heck 5 years ago
parent
commit
fb66d77051
  1. 4
      test/JNI-88/Makefile
  2. 2
      test/JNI-88/TestMain.java
  3. 3
      test/Makefile

4
test/JNI-88/Makefile

@ -2,7 +2,7 @@ include ../../Makefile.conf
include ../Makefile.conf include ../Makefile.conf
JAVA_CLASSES = \ JAVA_CLASSES = \
JNI-88.class TestMain.class
.PHONY: compile run test clean .PHONY: compile run test clean
@ -10,7 +10,7 @@ all: compile
$(MAKE) run $(MAKE) run
run: compile run: compile
HOME=$(PWD) CLASSPATH=$(CLASSPATH) time $(VM) JNI-88 HOME=$(PWD) CLASSPATH=$(CLASSPATH) time $(VM) TestMain
compile: $(JAVA_CLASSES) compile: $(JAVA_CLASSES)

2
test/JNI-88/JNI-88.java → test/JNI-88/TestMain.java

@ -93,7 +93,7 @@ class TestThread extends Thread {
} }
} }
class JNI-88 { class TestMain {
public static void main(String[] args) { public static void main(String[] args) {
// Test parameters // Test parameters
boolean useSharedEngine = true; boolean useSharedEngine = true;

3
test/Makefile

@ -5,11 +5,14 @@ all: compile
run: compile run: compile
$(MAKE) -C Basic run $(MAKE) -C Basic run
$(MAKE) -C JNI-85 run $(MAKE) -C JNI-85 run
$(MAKE) -C JNI-88 run
compile: compile:
$(MAKE) -C Basic compile $(MAKE) -C Basic compile
$(MAKE) -C JNI-85 compile $(MAKE) -C JNI-85 compile
$(MAKE) -C JNI-88 compile
clean: clean:
$(MAKE) -C Basic clean $(MAKE) -C Basic clean
$(MAKE) -C JNI-85 clean $(MAKE) -C JNI-85 clean
$(MAKE) -C JNI-88 clean

Loading…
Cancel
Save