Skip to content

Commit

Permalink
Increase aarch linux jtreg timeout option
Browse files Browse the repository at this point in the history
Increase aarch linux jtreg timeout option

Signed-off-by: LongyuZhang <[email protected]>
  • Loading branch information
LongyuZhang committed Dec 2, 2024
2 parents a2f96a0 + b8a1496 commit 4d17d83
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions openjdk/openjdk.mk
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,16 @@ JTREG_BASIC_OPTIONS += $(JTREG_IGNORE_OPTION)
# riscv64 machines aren't very fast (yet!!)
ifeq ($(ARCH), riscv64)
JTREG_TIMEOUT_OPTION = -timeoutFactor:16
else
# aarch64 linux requires extra time, set timeoutFactor to 12
else ifneq ($(filter linux_aarch64, $(SPEC)),)
JTREG_TIMEOUT_OPTION = -timeoutFactor:12
# Multiple by 8 the timeout numbers, except on zOS use 2
ifneq ($(OS),OS/390)
JTREG_TIMEOUT_OPTION = -timeoutFactor:8
else
else ifeq ($(OS),OS/390)
JTREG_TIMEOUT_OPTION = -timeoutFactor:2
else
JTREG_TIMEOUT_OPTION = -timeoutFactor:8
endif
endif

JTREG_BASIC_OPTIONS += $(JTREG_TIMEOUT_OPTION)
# Create junit xml
JTREG_XML_OPTION = -xml:verify
Expand Down

0 comments on commit 4d17d83

Please sign in to comment.