hotspot/test/Makefile
changeset 38255 5784bccf53b0
parent 37299 db3b0d4c3bda
child 38303 1d0016127806
equal deleted inserted replaced
38254:05e46b580b4e 38255:5784bccf53b0
    49 TEE       = tee
    49 TEE       = tee
    50 UNAME     = uname
    50 UNAME     = uname
    51 UNIQ      = uniq
    51 UNIQ      = uniq
    52 WC        = wc
    52 WC        = wc
    53 ZIP       = zip
    53 ZIP       = zip
       
    54 
       
    55 define NEWLINE
       
    56 
       
    57 
       
    58 endef
    54 
    59 
    55 # Get OS name from uname (Cygwin inexplicably adds _NT-5.1)
    60 # Get OS name from uname (Cygwin inexplicably adds _NT-5.1)
    56 UNAME_S := $(shell $(UNAME) -s | $(CUT) -f1 -d_)
    61 UNAME_S := $(shell $(UNAME) -s | $(CUT) -f1 -d_)
    57 ifeq ($(UNAME_S), SunOS)
    62 ifeq ($(UNAME_S), SunOS)
    58   PLATFORM = solaris
    63   PLATFORM = solaris
   425 
   430 
   426 PHONY_LIST += hotspot_servertest servertest
   431 PHONY_LIST += hotspot_servertest servertest
   427 
   432 
   428 ################################################################
   433 ################################################################
   429 
   434 
       
   435 # Run the native gtest tests from the test image
       
   436 
       
   437 hotspot_gtest:
       
   438 	$(foreach v, $(JVM_VARIANTS), \
       
   439 	  $(MAKE) hotspot_gtest$v $(NEWLINE) )
       
   440 
       
   441 hotspot_gtestserver hotspot_gtestclient hotspot_gtestminimal: hotspot_gtest%:
       
   442 	$(TESTNATIVE_DIR)/hotspot/gtest/$*/gtestLauncher \
       
   443 	    -jdk $(shell $(GETMIXEDPATH) "$(PRODUCT_HOME)")
       
   444 
       
   445 PHONY_LIST += hotspot_gtest hotspot_gtestserver hotspot_gtestclient \
       
   446     hotspot_gtestminimal
       
   447 
       
   448 ################################################################
   430 # Phony targets (e.g. these are not filenames)
   449 # Phony targets (e.g. these are not filenames)
   431 .PHONY: all clean prep $(PHONY_LIST)
   450 .PHONY: all clean prep $(PHONY_LIST)
   432 
   451 
   433 ################################################################
   452 ################################################################