< prev index next >

test/Makefile

Print this page
rev 11112 : 8148244: Finalize and integrate GTest implementation
Reviewed-by: jwilhelm, erikj
Contributed-by: stefan.karlsson@oracle.com, stefan.sarne@oracle.com, jesper.wilhelmsson@oracle.com, erik.helin@oracle.com, alexandre.iline@oracle.com, igor.ignatyev@oracle.com, erik.joelsson@oracle.com

*** 50,59 **** --- 50,64 ---- UNAME = uname UNIQ = uniq WC = wc ZIP = zip + define NEWLINE + + + endef + # Get OS name from uname (Cygwin inexplicably adds _NT-5.1) UNAME_S := $(shell $(UNAME) -s | $(CUT) -f1 -d_) ifeq ($(UNAME_S), SunOS) PLATFORM = solaris SLASH_JAVA = /java
*** 425,433 **** --- 430,452 ---- PHONY_LIST += hotspot_servertest servertest ################################################################ + # Run the native gtest tests from the test image + + hotspot_gtest: + $(foreach v, $(JVM_VARIANTS), \ + $(MAKE) hotspot_gtest$v $(NEWLINE) ) + + hotspot_gtestserver hotspot_gtestclient hotspot_gtestminimal: hotspot_gtest%: + $(TESTNATIVE_DIR)/hotspot/gtest/$*/gtestLauncher \ + -jdk $(shell $(GETMIXEDPATH) "$(PRODUCT_HOME)") + + PHONY_LIST += hotspot_gtest hotspot_gtestserver hotspot_gtestclient \ + hotspot_gtestminimal + + ################################################################ # Phony targets (e.g. these are not filenames) .PHONY: all clean prep $(PHONY_LIST) ################################################################
< prev index next >