32
33 LIMIT_JTREG_VM_MEMORY := false
34
35 IGNORE_MARKED_TESTS := true
36
37 # Include the common base file with most of the logic
38 include ../../TestCommon.gmk
39
40 ################################################################
41 # Default make rule (runs jtreg_tests)
42 all: hotspot_all
43 @$(ECHO) "Testing completed successfully"
44
45 # Support "hotspot_" prefixed test make targets (too)
46 # The hotspot_% targets are used by the top level Makefile
47 # Unless explicitly defined below, hotspot_<x> is interpreted as a jtreg test group name
48 hotspot_%:
49 $(ECHO) "Running tests: $@"
50 $(MAKE) -j 1 TEST_SELECTION=":$@" UNIQUE_DIR=$@ jtreg_tests;
51
52 hotspot_internal:
53 $(ALT_OUTPUTDIR)/jdk/bin/java -XX:+ExecuteInternalVMTests -XX:+ShowMessageBoxOnError -version
54
55 ################################################################
56
57 # Set up the directory in which the jvm directories live (client/, server/, etc.)
58 ifeq ($(PLATFORM),windows)
59 JVMS_DIR := $(PRODUCT_HOME)/bin
60 else
61 JVMS_DIR := $(PRODUCT_HOME)/lib
62 endif
63
64 # Use the existance of a directory as a sign that jvm variant is available
65 CANDIDATE_JVM_VARIANTS := client minimal server
66 JVM_VARIANTS := $(strip $(foreach x,$(CANDIDATE_JVM_VARIANTS),$(if $(wildcard $(JVMS_DIR)/$(x)),$(x))))
67
68 ################################################################
69
70 # Run the native gtest tests from the test image
71
72 define NEWLINE
73
74
|
32
33 LIMIT_JTREG_VM_MEMORY := false
34
35 IGNORE_MARKED_TESTS := true
36
37 # Include the common base file with most of the logic
38 include ../../TestCommon.gmk
39
40 ################################################################
41 # Default make rule (runs jtreg_tests)
42 all: hotspot_all
43 @$(ECHO) "Testing completed successfully"
44
45 # Support "hotspot_" prefixed test make targets (too)
46 # The hotspot_% targets are used by the top level Makefile
47 # Unless explicitly defined below, hotspot_<x> is interpreted as a jtreg test group name
48 hotspot_%:
49 $(ECHO) "Running tests: $@"
50 $(MAKE) -j 1 TEST_SELECTION=":$@" UNIQUE_DIR=$@ jtreg_tests;
51
52 ################################################################
53
54 # Set up the directory in which the jvm directories live (client/, server/, etc.)
55 ifeq ($(PLATFORM),windows)
56 JVMS_DIR := $(PRODUCT_HOME)/bin
57 else
58 JVMS_DIR := $(PRODUCT_HOME)/lib
59 endif
60
61 # Use the existance of a directory as a sign that jvm variant is available
62 CANDIDATE_JVM_VARIANTS := client minimal server
63 JVM_VARIANTS := $(strip $(foreach x,$(CANDIDATE_JVM_VARIANTS),$(if $(wildcard $(JVMS_DIR)/$(x)),$(x))))
64
65 ################################################################
66
67 # Run the native gtest tests from the test image
68
69 define NEWLINE
70
71
|