comparison test/Makefile @ 560:b79faa366fbd

6799452: HotSpot tests Makefile should take care of ALT_SLASH_JAVA Summary: The HotSpot tests Makefile has a hardcoded SLASH_JAVA which makes it difficult to run the tests on non-Sun build machines which do not have a /java infrastructure. Reviewed-by: kamg
author twisti
date Tue, 03 Feb 2009 08:10:28 -0800
parents 68e0443dfd9c
children 0fbdb4381b99
comparison
equal deleted inserted replaced
559:7628781568e1 560:b79faa366fbd
26 # Makefile to run various jdk tests 26 # Makefile to run various jdk tests
27 # 27 #
28 28
29 # Get OS/ARCH specifics 29 # Get OS/ARCH specifics
30 OSNAME = $(shell uname -s) 30 OSNAME = $(shell uname -s)
31 SLASH_JAVA = /java
32 ifeq ($(OSNAME), SunOS) 31 ifeq ($(OSNAME), SunOS)
33 PLATFORM = solaris 32 PLATFORM = solaris
33 SLASH_JAVA = /java
34 ARCH = $(shell uname -p) 34 ARCH = $(shell uname -p)
35 ifeq ($(ARCH), i386) 35 ifeq ($(ARCH), i386)
36 ARCH=i586 36 ARCH=i586
37 endif 37 endif
38 endif 38 endif
39 ifeq ($(OSNAME), Linux) 39 ifeq ($(OSNAME), Linux)
40 PLATFORM = linux 40 PLATFORM = linux
41 SLASH_JAVA = /java
41 ARCH = $(shell uname -m) 42 ARCH = $(shell uname -m)
42 ifeq ($(ARCH), i386) 43 ifeq ($(ARCH), i386)
43 ARCH = i586 44 ARCH = i586
44 endif 45 endif
45 endif 46 endif
60 endif 61 endif
61 endif 62 endif
62 EXESUFFIX = .exe 63 EXESUFFIX = .exe
63 endif 64 endif
64 65
66 ifdef ALT_SLASH_JAVA
67 SLASH_JAVA = $(ALT_SLASH_JAVA)
68 endif
69
65 # Utilities used 70 # Utilities used
66 CD = cd 71 CD = cd
67 CP = cp 72 CP = cp
68 ECHO = echo 73 ECHO = echo
69 MKDIR = mkdir 74 MKDIR = mkdir