diff -r e5c5721fe29b -r df350c85390b test/Makefile --- a/test/Makefile Thu Feb 02 21:55:29 2017 +0000 +++ b/test/Makefile Fri Feb 03 14:32:38 2017 +0100 @@ -60,7 +60,12 @@ -include $(TOPDIR)/closed/test/Makefile ifeq ($(TEST_JOBS), 0) - JDK_TEST_JOBS=$(JOBS) + ifeq ($(shell $(EXPR) $(JOBS) \> 50), 1) + # JTReg cannot handle more than 50 in concurrency + JDK_TEST_JOBS=50 + else + JDK_TEST_JOBS=$(JOBS) + endif else JDK_TEST_JOBS=$(TEST_JOBS) endif