Ignore:
Timestamp:
Mar 26, 2011, 8:39:20 PM (14 years ago)
Author:
dmik
Message:

trunk: Merged in openjdk6 b22 from branches/vendor/oracle.

Location:
trunk/openjdk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk

  • trunk/openjdk/jdk/test/Makefile

    r2 r278  
    11#
    2 # Copyright 1995-2009 Sun Microsystems, Inc.  All Rights Reserved.
     2# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
    33# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
    44#
    55# This code is free software; you can redistribute it and/or modify it
    66# under the terms of the GNU General Public License version 2 only, as
    7 # published by the Free Software Foundation.  Sun designates this
     7# published by the Free Software Foundation.  Oracle designates this
    88# particular file as subject to the "Classpath" exception as provided
    9 # by Sun in the LICENSE file that accompanied this code.
     9# by Oracle in the LICENSE file that accompanied this code.
    1010#
    1111# This code is distributed in the hope that it will be useful, but WITHOUT
     
    1919# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    2020#
    21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
    22 # CA 95054 USA or visit www.sun.com if you need additional information or
    23 # have any questions.
     21# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
     22# or visit www.oracle.com if you need additional information or have any
     23# questions.
    2424#
    2525
     
    4141CP        = cp
    4242CUT       = cut
     43DIRNAME   = dirname
    4344ECHO      = echo
    4445EGREP     = egrep
    4546EXPAND    = expand
    46 EXPR      = expr
    47 KILL      = /usr/bin/kill
     47FIND      = find
    4848MKDIR     = mkdir
    49 NOHUP     = nohup
    5049PWD       = pwd
    5150SED       = sed
    52 SLEEP     = sleep
    5351SORT      = sort
    5452TEE       = tee
     
    5654UNIQ      = uniq
    5755WC        = wc
    58 XHOST     = xhost
    5956ZIP       = zip
    6057
     
    7774  OS_NAME     = linux
    7875  OS_ARCH    := $(shell $(UNAME) -m)
     76  # Check for unknown arch, try uname -p if uname -m says unknown
     77  ifeq ($(OS_ARCH),unknown)
     78    OS_ARCH    := $(shell $(UNAME) -p)
     79  endif
    7980  OS_VERSION := $(shell $(UNAME) -r)
    8081endif
    81 ifndef OS_NAME
    82   ifneq ($(PROCESSOR_IDENTIFIER), )
    83     OS_NAME = windows
    84     SLASH_JAVA = J:
    85     # A variety of ways to say X64 arch :^(
    86     OS_ARCH:=$(word 1, $(PROCESSOR_IDENTIFIER))
    87     EXESUFFIX = .exe
    88     # These need to be different depending on MKS or CYGWIN
    89     ifeq ($(findstring cygdrive,$(shell ($(CD) C:/ && $(PWD)))), )
    90       GETMIXEDPATH  = dosname -s
    91       OS_VERSION   := $(shell $(UNAME) -r)
    92     else
    93       GETMIXEDPATH  = cygpath -m -s
    94       OS_VERSION   := $(shell $(UNAME) -s | $(CUT) -d'-' -f2)
    95     endif
     82ifeq ($(OS_NAME),)
     83  OS_NAME = windows
     84  # GNU Make or MKS overrides $(PROCESSOR_ARCHITECTURE) to always
     85  # return "x86". Use the first word of $(PROCESSOR_IDENTIFIER) instead.
     86  ifeq ($(PROCESSOR_IDENTIFIER),)
     87    PROC_ARCH:=$(shell $(UNAME) -m)
     88  else
     89    PROC_ARCH:=$(word 1, $(PROCESSOR_IDENTIFIER))
     90  endif
     91  OS_ARCH:=$(PROC_ARCH)
     92  SLASH_JAVA = J:
     93  EXESUFFIX = .exe
     94  # These need to be different depending on MKS or CYGWIN
     95  ifeq ($(findstring cygdrive,$(shell ($(CD) C:/ && $(PWD)))), )
     96    GETMIXEDPATH  = dosname -s
     97    OS_VERSION   := $(shell $(UNAME) -r)
     98  else
     99    GETMIXEDPATH  = cygpath -m -s
     100    OS_VERSION   := $(shell $(UNAME) -s | $(CUT) -d'-' -f2)
    96101  endif
    97102endif
     
    100105OS_VERSION := $(shell $(ECHO) "$(OS_VERSION)" | $(CUT) -d'.' -f1,2)
    101106
    102 # Try and use names i586, x64, and ia64 consistently 
    103 OS_ARCH:=$(subst X64,x64,$(OS_ARCH))
    104 OS_ARCH:=$(subst AMD64,x64,$(OS_ARCH))
    105 OS_ARCH:=$(subst amd64,x64,$(OS_ARCH))
    106 OS_ARCH:=$(subst x86_64,x64,$(OS_ARCH))
    107 OS_ARCH:=$(subst EM64T,x64,$(OS_ARCH))
    108 OS_ARCH:=$(subst em64t,x64,$(OS_ARCH))
    109 OS_ARCH:=$(subst intel64,x64,$(OS_ARCH))
    110 OS_ARCH:=$(subst Intel64,x64,$(OS_ARCH))
    111 OS_ARCH:=$(subst INTEL64,x64,$(OS_ARCH))
    112 OS_ARCH:=$(subst IA64,ia64,$(OS_ARCH))
    113 OS_ARCH:=$(subst X86,i586,$(OS_ARCH))
    114 OS_ARCH:=$(subst x86,i586,$(OS_ARCH))
    115 OS_ARCH:=$(subst i386,i586,$(OS_ARCH))
    116 OS_ARCH:=$(subst i486,i586,$(OS_ARCH))
    117 OS_ARCH:=$(subst i686,i586,$(OS_ARCH))
    118 
    119 # Check for ARCH_DATA_MODEL, adjust OS_ARCH accordingly
     107# Name to use for x86_64 arch (historically amd64, but should change someday)
     108OS_ARCH_X64_NAME:=amd64
     109#OS_ARCH_X64_NAME:=x64
     110
     111# Alternate arch names (in case this arch is known by a second name)
     112#   PROBLEM_LISTS may use either name.
     113OS_ARCH2-amd64:=x64
     114#OS_ARCH2-x64:=amd64
     115
     116# Try and use the arch names consistently
     117OS_ARCH:=$(patsubst x64,$(OS_ARCH_X64_NAME),$(OS_ARCH))
     118OS_ARCH:=$(patsubst X64,$(OS_ARCH_X64_NAME),$(OS_ARCH))
     119OS_ARCH:=$(patsubst AMD64,$(OS_ARCH_X64_NAME),$(OS_ARCH))
     120OS_ARCH:=$(patsubst amd64,$(OS_ARCH_X64_NAME),$(OS_ARCH))
     121OS_ARCH:=$(patsubst x86_64,$(OS_ARCH_X64_NAME),$(OS_ARCH))
     122OS_ARCH:=$(patsubst 8664,$(OS_ARCH_X64_NAME),$(OS_ARCH))
     123OS_ARCH:=$(patsubst EM64T,$(OS_ARCH_X64_NAME),$(OS_ARCH))
     124OS_ARCH:=$(patsubst em64t,$(OS_ARCH_X64_NAME),$(OS_ARCH))
     125OS_ARCH:=$(patsubst intel64,$(OS_ARCH_X64_NAME),$(OS_ARCH))
     126OS_ARCH:=$(patsubst Intel64,$(OS_ARCH_X64_NAME),$(OS_ARCH))
     127OS_ARCH:=$(patsubst INTEL64,$(OS_ARCH_X64_NAME),$(OS_ARCH))
     128OS_ARCH:=$(patsubst IA64,ia64,$(OS_ARCH))
     129OS_ARCH:=$(patsubst X86,i586,$(OS_ARCH))
     130OS_ARCH:=$(patsubst x86,i586,$(OS_ARCH))
     131OS_ARCH:=$(patsubst i386,i586,$(OS_ARCH))
     132OS_ARCH:=$(patsubst i486,i586,$(OS_ARCH))
     133OS_ARCH:=$(patsubst i686,i586,$(OS_ARCH))
     134OS_ARCH:=$(patsubst 386,i586,$(OS_ARCH))
     135OS_ARCH:=$(patsubst 486,i586,$(OS_ARCH))
     136OS_ARCH:=$(patsubst 586,i586,$(OS_ARCH))
     137OS_ARCH:=$(patsubst 686,i586,$(OS_ARCH))
     138
     139# Default  ARCH_DATA_MODEL settings
     140ARCH_DATA_MODEL-i586 = 32
     141ARCH_DATA_MODEL-$(OS_ARCH_X64_NAME) = 64
     142ARCH_DATA_MODEL-ia64 = 64
     143ARCH_DATA_MODEL-sparc = 32
     144ARCH_DATA_MODEL-sparcv9 = 64
     145
     146# If ARCH_DATA_MODEL is not defined, try and pick a reasonable default
     147ifndef ARCH_DATA_MODEL
     148  ARCH_DATA_MODEL:=$(ARCH_DATA_MODEL-$(OS_ARCH))
     149endif
    120150ifndef ARCH_DATA_MODEL
    121151  ARCH_DATA_MODEL=32
    122152endif
     153
     154# Platform directory name
     155PLATFORM_OS = $(OS_NAME)-$(OS_ARCH)
     156
     157# Check ARCH_DATA_MODEL, adjust OS_ARCH accordingly on solaris
    123158ARCH_DATA_MODEL_ERROR= \
    124   ARCH_DATA_MODEL=$(ARCH_DATA_MODEL) cannot be used with $(OS_NAME)-$(ARCH)
     159  ARCH_DATA_MODEL=$(ARCH_DATA_MODEL) cannot be used with $(PLATFORM_OS)
    125160ifeq ($(ARCH_DATA_MODEL),64)
    126   ifeq ($(OS_NAME)-$(OS_ARCH),solaris-i586)
    127     OS_ARCH=x64
    128   endif
    129   ifeq ($(OS_NAME)-$(OS_ARCH),solaris-sparc)
     161  ifeq ($(PLATFORM_OS),solaris-i586)
     162    OS_ARCH=$(OS_ARCH_X64_NAME)
     163  endif
     164  ifeq ($(PLATFORM_OS),solaris-sparc)
    130165    OS_ARCH=sparcv9
    131166  endif
     
    138173else
    139174  ifeq ($(ARCH_DATA_MODEL),32)
    140     ifeq ($(OS_ARCH),x64)
     175    ifeq ($(OS_ARCH),$(OS_ARCH_X64_NAME))
    141176      x:=$(warning "WARNING: $(ARCH_DATA_MODEL_ERROR)")
    142177    endif
     
    152187endif
    153188
     189# Alternate OS_ARCH name (defaults to OS_ARCH)
     190OS_ARCH2:=$(OS_ARCH2-$(OS_ARCH))
     191ifeq ($(OS_ARCH2),)
     192  OS_ARCH2:=$(OS_ARCH)
     193endif
     194
    154195# Root of this test area (important to use full paths in some places)
    155196TEST_ROOT := $(shell $(PWD))
     
    159200  ABS_OUTPUTDIR = $(ALT_OUTPUTDIR)
    160201else
    161   ABS_OUTPUTDIR = $(TEST_ROOT)/../build/$(OS_NAME)-$(OS_ARCH)
    162 endif
    163 ABS_BUILD_ROOT = $(ABS_OUTPUTDIR)
    164 ABS_TEST_OUTPUT_DIR := $(ABS_BUILD_ROOT)/testoutput/$(UNIQUE_DIR)
     202  ABS_OUTPUTDIR = $(TEST_ROOT)/../build/$(PLATFORM_OS)
     203endif
     204ABS_PLATFORM_BUILD_ROOT = $(ABS_OUTPUTDIR)
     205ABS_TEST_OUTPUT_DIR := $(ABS_PLATFORM_BUILD_ROOT)/testoutput/$(UNIQUE_DIR)
    165206
    166207# Expect JPRT to set PRODUCT_HOME (the product or jdk in this case to test)
    167208ifndef PRODUCT_HOME
    168209  # Try to use j2sdk-image if it exists
    169   ABS_JDK_IMAGE = $(ABS_BUILD_ROOT)/j2sdk-image
    170   PRODUCT_HOME :=                       \
    171     $(shell                             \
    172       if [ -d $(ABS_JDK_IMAGE) ] ; then \
    173          $(ECHO) "$(ABS_JDK_IMAGE)";    \
    174        else                             \
    175          $(ECHO) "$(ABS_BUILD_ROOT)";   \
     210  ABS_JDK_IMAGE = $(ABS_PLATFORM_BUILD_ROOT)/j2sdk-image
     211  PRODUCT_HOME :=                                       \
     212    $(shell                                             \
     213      if [ -d $(ABS_JDK_IMAGE) ] ; then                 \
     214         $(ECHO) "$(ABS_JDK_IMAGE)";                    \
     215       else                                             \
     216         $(ECHO) "$(ABS_PLATFORM_BUILD_ROOT)";          \
    176217       fi)
    177218  PRODUCT_HOME := $(PRODUCT_HOME)
     
    206247endif
    207248
     249# Macro to run make and set the shared library permissions
     250define SharedLibraryPermissions
     251$(MAKE) SHARED_LIBRARY_DIR=$1 UNIQUE_DIR=$@ shared_library_permissions
     252endef
     253
    208254# Expect JPRT to set JPRT_ARCHIVE_BUNDLE (path to zip bundle for results)
    209255ARCHIVE_BUNDLE = $(ABS_TEST_OUTPUT_DIR)/ARCHIVE_BUNDLE.zip
     
    212258endif
    213259
    214 # DISPLAY settings for virtual frame buffer
    215 START_XVFB = start-Xvfb.sh
    216 NOHUP_OUTPUT = $(ABS_TEST_OUTPUT_DIR)/start-Xvfb.nohup-output.txt
    217 DISPLAY_PID_FILE=$(ABS_TEST_OUTPUT_DIR)/xvfb-display-number.txt
    218 DISPLAY_SLEEP_TIME=10
    219 DISPLAY_MAX_SLEEPS=10
    220 ifeq ($(OS_NAME),solaris)
    221   VIRTUAL_FRAME_BUFFER = true
    222 endif
    223 ifeq ($(OS_NAME),linux)
    224   VIRTUAL_FRAME_BUFFER = true
    225 endif
    226 
    227 # Does not work yet, display dies as soon as it gets used. :^(
    228 VIRTUAL_FRAME_BUFFER = false
    229 
    230 # Are we using a VIRTUAL_FRAME_BUFFER (Xvfb)
    231 ifeq ($(VIRTUAL_FRAME_BUFFER),true)
    232  
    233   PREP_DISPLAY = \
    234     $(CP) $(START_XVFB) $(ABS_TEST_OUTPUT_DIR); \
    235     $(CHMOD) a+x $(ABS_TEST_OUTPUT_DIR)/$(START_XVFB); \
    236     ( $(CD) $(ABS_TEST_OUTPUT_DIR) && \
    237       $(NOHUP) $(ABS_TEST_OUTPUT_DIR)/$(START_XVFB) $(DISPLAY_PID_FILE) > $(NOHUP_OUTPUT) 2>&1 && \
    238       $(SLEEP) $(DISPLAY_SLEEP_TIME) ) & \
    239     count=1; \
    240     while [ ! -s $(DISPLAY_PID_FILE) ] ; do \
    241       $(ECHO) "Sleeping $(DISPLAY_SLEEP_TIME) more seconds, DISPLAY not ready"; \
    242       $(SLEEP) $(DISPLAY_SLEEP_TIME); \
    243       count=`$(EXPR) $${count} '+' 1`; \
    244       if [ $${count} -gt $(DISPLAY_MAX_SLEEPS) ] ; then \
    245         $(ECHO) "ERROR: DISPLAY not ready, giving up on DISPLAY"; \
    246         exit 9; \
    247       fi; \
    248     done ; \
    249     DISPLAY=":`$(CAT) $(DISPLAY_PID_FILE)`"; \
    250     export DISPLAY; \
    251     $(CAT) $(NOHUP_OUTPUT); \
    252     $(ECHO) "Prepared DISPLAY=$${DISPLAY}"; \
    253     $(XHOST) || \
    254     ( $(ECHO) "ERROR: No display" ; exit 8)
    255 
    256   KILL_DISPLAY = \
    257     ( \
    258       DISPLAY=":`$(CAT) $(DISPLAY_PID_FILE)`"; \
    259       export DISPLAY; \
    260       if [ -s "$(DISPLAY_PID_FILE)" ] ; then \
    261         $(KILL) `$(CAT) $(DISPLAY_PID_FILE)` > /dev/null 2>&1; \
    262         $(KILL) -9 `$(CAT) $(DISPLAY_PID_FILE)` > /dev/null 2>&1; \
    263       fi; \
    264       $(ECHO) "Killed DISPLAY=$${DISPLAY}"; \
    265     )
    266 
    267 else
    268  
    269   PREP_DISPLAY = $(ECHO) "VIRTUAL_FRAME_BUFFER=$(VIRTUAL_FRAME_BUFFER)"
    270   KILL_DISPLAY = $(ECHO) "VIRTUAL_FRAME_BUFFER=$(VIRTUAL_FRAME_BUFFER)"
    271 
    272 endif
    273 
    274260# How to create the test bundle (pass or fail, we want to create this)
    275261#   Follow command with ";$(BUNDLE_UP_AND_EXIT)", so it always gets executed.
    276 ZIP_UP_RESULTS = ( $(MKDIR) -p `dirname $(ARCHIVE_BUNDLE)`     \
     262ZIP_UP_RESULTS = ( $(MKDIR) -p `$(DIRNAME) $(ARCHIVE_BUNDLE)`     \
    277263                   && $(CD) $(ABS_TEST_OUTPUT_DIR)             \
    278264                   && $(ZIP) -q -r $(ARCHIVE_BUNDLE) . )
     
    322308    failc="`$(CAT) $(FAILLIST)    | $(WC) -l | $(AWK) '{print $$1;}'`"; \
    323309    exclc="`$(CAT) $(EXCLUDELIST) | $(WC) -l | $(AWK) '{print $$1;}'`"; \
    324     $(ECHO) "TEST STATS: run=$${runc}  pass=$${passc}  fail=$${failc}  excluded=$${exclc}" \
     310    $(ECHO) "TEST STATS: name=$(UNIQUE_DIR)  run=$${runc}  pass=$${passc}  fail=$${failc}  excluded=$${exclc}" \
    325311      >> $(STATS_TXT); \
    326312  else \
     
    328314  fi; \
    329315  $(CAT) $(STATS_TXT); \
    330   $(ZIP_UP_RESULTS) && $(KILL_DISPLAY) ; \
     316  $(ZIP_UP_RESULTS) ; \
    331317  $(TESTEXIT) \
    332318)
     
    341327prep: clean
    342328        @$(MKDIR) -p $(ABS_TEST_OUTPUT_DIR)
    343         @$(MKDIR) -p `dirname $(ARCHIVE_BUNDLE)`
     329        @$(MKDIR) -p `$(DIRNAME) $(ARCHIVE_BUNDLE)`
    344330
    345331# Cleanup
     
    371357# With samevm, you cannot use -javaoptions?
    372358ifeq ($(USE_JTREG_SAMEVM),true)
    373   EXTRA_JTREG_OPTIONS += -samevm $(JAVA_ARGS) $(JAVA_ARGS:%=-vmoption:%)
     359  JTREG_SAMEVM_OPTION = -samevm
     360  EXTRA_JTREG_OPTIONS += $(JTREG_SAMEVM_OPTION) $(JAVA_ARGS) $(JAVA_ARGS:%=-vmoption:%)
    374361  JTREG_TEST_OPTIONS = $(JAVA_VM_ARGS:%=-vmoption:%)
    375362else
     
    390377        @$(RM) $@ $@.temp1 $@.temp2
    391378        @(($(CAT) $(PROBLEM_LISTS) | $(EGREP) -- '$(OS_NAME)-all'          ) ;\
    392           ($(CAT) $(PROBLEM_LISTS) | $(EGREP) -- '$(OS_NAME)-$(OS_ARCH)'   ) ;\
     379          ($(CAT) $(PROBLEM_LISTS) | $(EGREP) -- '$(PLATFORM_OS)'          ) ;\
     380          ($(CAT) $(PROBLEM_LISTS) | $(EGREP) -- '$(OS_NAME)-$(OS_ARCH2)'  ) ;\
    393381          ($(CAT) $(PROBLEM_LISTS) | $(EGREP) -- '$(OS_NAME)-$(OS_VERSION)') ;\
    394382          ($(CAT) $(PROBLEM_LISTS) | $(EGREP) -- 'generic-$(OS_ARCH)'      ) ;\
     383          ($(CAT) $(PROBLEM_LISTS) | $(EGREP) -- 'generic-$(OS_ARCH2)'     ) ;\
    395384          ($(CAT) $(PROBLEM_LISTS) | $(EGREP) -- 'generic-all'             ) ;\
    396385          ($(ECHO) "#") ;\
     
    432421#   Using samevm has problems, and doesn't help performance as much as others.
    433422JDK_ALL_TARGETS += jdk_awt
    434 jdk_awt: com/sun/awt java/awt sun/awt
     423jdk_awt: java/awt sun/awt
    435424        $(call RunOthervmBatch)
    436425
     
    529518JDK_ALL_TARGETS += jdk_security3
    530519jdk_security3: com/sun/security lib/security javax/security sun/security
     520        $(call SharedLibraryPermissions,sun/security)
    531521        $(call RunOthervmBatch)
    532522
     
    560550JDK_ALL_TARGETS += jdk_tools2
    561551jdk_tools2: com/sun/tools sun/jvmstat sun/tools tools vm
     552        $(call SharedLibraryPermissions,tools/launcher)
    562553        $(call RunOthervmBatch)
    563554
     
    590581# Only run automatic tests
    591582JTREG_BASIC_OPTIONS += -a
     583# Always turn on assertions
     584JTREG_ASSERT_OPTION = -ea -esa
     585JTREG_BASIC_OPTIONS += $(JTREG_ASSERT_OPTION)
    592586# Report details on all failed or error tests, times too
    593587JTREG_BASIC_OPTIONS += -v:fail,error,time
     
    595589JTREG_BASIC_OPTIONS += -retain:fail,error
    596590# Ignore tests are not run and completely silent about it
    597 JTREG_BASIC_OPTIONS += -ignore:quiet
     591JTREG_IGNORE_OPTION = -ignore:quiet
     592JTREG_BASIC_OPTIONS += $(JTREG_IGNORE_OPTION)
    598593# Multiple by 4 the timeout numbers
    599 JTREG_BASIC_OPTIONS += -timeoutFactor:4
     594JTREG_TIMEOUT_OPTION =  -timeoutFactor:4
     595JTREG_BASIC_OPTIONS += $(JTREG_TIMEOUT_OPTION)
    600596# Boost the max memory for jtreg to avoid gc thrashing
    601 JTREG_BASIC_OPTIONS += -J-Xmx512m
     597JTREG_MEMORY_OPTION = -J-Xmx512m
     598JTREG_BASIC_OPTIONS += $(JTREG_MEMORY_OPTION)
    602599
    603600# Make sure jtreg exists
     
    612609          ( JT_HOME=$(shell $(GETMIXEDPATH) "$(JT_HOME)");                   \
    613610            export JT_HOME;                                                  \
    614             $(PREP_DISPLAY) &&                                               \
    615611            $(shell $(GETMIXEDPATH) "$(JTREG)")                              \
    616612              $(JTREG_BASIC_OPTIONS)                                         \
     
    624620        ) 2>&1 | $(TEE) $(ABS_TEST_OUTPUT_DIR)/output.txt ; $(TESTEXIT)
    625621
    626 PHONY_LIST += jtreg_tests
     622# Rule that may change execute permissions on shared library files.
     623#  Files in repositories should never have execute permissions, but there
     624#  are some tests that have pre-built shared libraries, and these windows
     625#  dll files must have execute permission. Adding execute permission
     626#  may happen automatically on windows when using certain versions of mercurial
     627#  but it cannot be guaranteed. And blindly adding execute permission might
     628#  be seen as a mercurial 'change', so we avoid adding execute permission to
     629#  repository files. But testing from a plain source tree needs the chmod a+rx.
     630#  Used on select directories and applying the chmod to all shared libraries
     631#  not just dll files. On windows, this may not work with MKS if the files
     632#  were installed with CYGWIN unzip or untar (MKS chmod may not do anything).
     633#  And with CYGWIN and sshd service, you may need CYGWIN=ntsec for this to work.
     634#
     635shared_library_permissions: $(SHARED_LIBRARY_DIR)
     636        if [ ! -d $(TEST_ROOT)/../.hg ] ; then                          \
     637          $(FIND) $< \( -name \*.dll -o -name \*.DLL -o -name \*.so \)  \
     638                -exec $(CHMOD) a+rx {} \; ;                             \
     639        fi
     640
     641PHONY_LIST += jtreg_tests shared_library_permissions
    627642
    628643################################################################
Note: See TracChangeset for help on using the changeset viewer.