test/Makefile
changeset 43728 e188ba772b26
parent 43386 df350c85390b
child 47218 918745561887
equal deleted inserted replaced
43727:335932d7dfe6 43728:e188ba772b26
    58 
    58 
    59 # Bring in closed test targets if present
    59 # Bring in closed test targets if present
    60 -include $(TOPDIR)/closed/test/Makefile
    60 -include $(TOPDIR)/closed/test/Makefile
    61 
    61 
    62 ifeq ($(TEST_JOBS), 0)
    62 ifeq ($(TEST_JOBS), 0)
    63   JDK_TEST_JOBS=$(JOBS)
    63   ifeq ($(shell $(EXPR) $(JOBS) \> 50), 1)
       
    64     # JTReg cannot handle more than 50 in concurrency
       
    65     JDK_TEST_JOBS=50
       
    66   else
       
    67     JDK_TEST_JOBS=$(JOBS)
       
    68   endif
    64 else
    69 else
    65   JDK_TEST_JOBS=$(TEST_JOBS)
    70   JDK_TEST_JOBS=$(TEST_JOBS)
    66 endif
    71 endif
    67 # Test targets
    72 # Test targets
    68 langtools_% :
    73 langtools_% :