Skip to content

Commit

Permalink
Merge pull request #173 from renfeiw/tkg
Browse files Browse the repository at this point in the history
Add external group in testKitGen
  • Loading branch information
llxia authored Sep 29, 2017
2 parents 26fe7cf + 8d7046b commit c3288bb
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
6 changes: 5 additions & 1 deletion test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@
################################################################################
#
# usage:
# make [JAVA_BIN=/path/to/java/bin] [SPEC=linux_x86-64] [JTREG_DIR=/path/to/jtreg/harness] [all | sanity | extended | openjdk]
# make [JAVA_BIN=/path/to/java/bin] [SPEC=linux_x86-64] [JTREG_DIR=/path/to/jtreg/harness] [all | sanity | extended | external | openjdk]
#
# sanity tests only:
# make sanity [JAVA_BIN=/path/to/java/bin] [SPEC=linux_x86-64]
# extended tests only:
# make extended [JAVA_BIN=/path/to/java/bin] [SPEC=linux_x86-64]
#external tests only:
# make external [JAVA_BIN=/path/to/java/bin] [SPEC=linux_x86-64]
# openjdk jtreg tests only:
# make openjdk [JAVA_BIN=/path/to/java/bin] [SPEC=linux_x86-64] [JTREG_DIR=/path/to/jtreg/harness]
#################################################################################
Expand Down Expand Up @@ -117,6 +119,8 @@ sanity: test_sanity

extended: test_extended

external: test_external

openjdk : override ADD_CMD_ARGS := $(ADD_CMD_ARGS) JTREG_DIR=$(JTREG_DIR) JTREG_TEST_DIR=$(subst //,/,$(TOP_DIR)/jdk/test)
openjdk: jtreg test_openjdk

Expand Down
3 changes: 3 additions & 0 deletions test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ JAVA_VERSION=[SE80|SE90] (SE90 default value)
* sanity tests

make sanity
* external tests

make external
* openjdk tests

make openjdk
Expand Down
7 changes: 5 additions & 2 deletions test/TestConfig/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,11 @@ extended: rmResultFile extended_$(JAVA_VERSION) resultsSummary
openjdk: JVM_TEST_ROOT := $(BUILD_ROOT)
openjdk: rmResultFile openjdk_$(JAVA_VERSION) resultsSummary

runtest: rmResultFile sanity_$(JAVA_VERSION) extended_$(JAVA_VERSION) openjdk_$(JAVA_VERSION) resultsSummary
.NOTPARALLEL: extended sanity openjdk runtest rmResultFile resultsSummary
external: JVM_TEST_ROOT := $(BUILD_ROOT)
external: rmResultFile external_$(JAVA_VERSION) resultsSummary

runtest: rmResultFile sanity_$(JAVA_VERSION) extended_$(JAVA_VERSION) openjdk_$(JAVA_VERSION) external_$(JAVA_VERSION) resultsSummary
.NOTPARALLEL: extended sanity openjdk external runtest rmResultFile resultsSummary

# cleanup
clean:
Expand Down
2 changes: 1 addition & 1 deletion test/TestConfig/scripts/testKitGen/makeGenTool/mkgen.pl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

use constant DEBUG => 0;

my @allGroups = ( "sanity", "extended", "promotion", "openjdk" );
my @allGroups = ( "sanity", "extended", "promotion", "openjdk", "external" );

my $headerComments =
"########################################################\n"
Expand Down

0 comments on commit c3288bb

Please sign in to comment.