(file) Return to TestMakefile CVS log (file) (dir) Up to [Pegasus] / pegasus

   1 martin 1.99 #//%LICENSE////////////////////////////////////////////////////////////////
   2 martin 1.100 #//
   3 martin 1.99  #// Licensed to The Open Group (TOG) under one or more contributor license
   4              #// agreements.  Refer to the OpenPegasusNOTICE.txt file distributed with
   5              #// this work for additional information regarding copyright ownership.
   6              #// Each contributor licenses this file to you under the OpenPegasus Open
   7              #// Source License; you may not use this file except in compliance with the
   8              #// License.
   9 martin 1.100 #//
  10 martin 1.99  #// Permission is hereby granted, free of charge, to any person obtaining a
  11              #// copy of this software and associated documentation files (the "Software"),
  12              #// to deal in the Software without restriction, including without limitation
  13              #// the rights to use, copy, modify, merge, publish, distribute, sublicense,
  14              #// and/or sell copies of the Software, and to permit persons to whom the
  15              #// Software is furnished to do so, subject to the following conditions:
  16 martin 1.100 #//
  17 martin 1.99  #// The above copyright notice and this permission notice shall be included
  18              #// in all copies or substantial portions of the Software.
  19 martin 1.100 #//
  20 martin 1.99  #// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  21 martin 1.100 #// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  22 martin 1.99  #// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  23              #// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  24              #// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  25              #// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  26              #// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  27 martin 1.100 #//
  28 martin 1.99  #//////////////////////////////////////////////////////////////////////////
  29 kumpf  1.1   ###############################################################################
  30              ##
  31              ## Test Makefile for Pegasus CIMOM
  32              ##
  33 jim.wunderlich 1.40  ## see the usage rule for documentation of rules etc.
  34 jim.wunderlich 1.34  ##
  35                      ##
  36 kumpf          1.1   ###############################################################################
  37                      
  38 david.dillard  1.15  error:
  39 jim.wunderlich 1.40  	@ $(ECHO) "Specify desired makefile option (i.e., unittests, usage )"
  40 kumpf          1.1   
  41 kumpf          1.23  include $(PEGASUS_ROOT)/mak/config.mak
  42                      include $(PEGASUS_ROOT)/mak/test.mak
  43                      include $(PEGASUS_ROOT)/mak/commands.mak
  44                      
  45                      system = localhost
  46                      
  47 jim.wunderlich 1.34  .PHONY: FORCE
  48                      
  49                      FORCE:
  50                      
  51 jim.wunderlich 1.40  usage: FORCE
  52                      	$(USAGE)
  53                      	$(USAGE)"TestMakefile Primary Targets:"
  54                      	$(USAGE)
  55                      	$(USAGE)"The following are all standalone tests. They stop and start the server,"
  56                      	$(USAGE)"and build repositories as needed."
  57                      	$(USAGE)
  58                      	$(USAGE)"alltests           - Execute unittests and servertests"
  59                      	$(USAGE)"unittests          - Execute the unit functional tests - no repository"
  60                      	$(USAGE)"                     or active server is required"
  61                      	$(USAGE)"servertests        - Execute a basic server test suites (No security, No SSL)"
  62                      	$(USAGE)"standardtests      - Execute an extended server test suites "
  63                      	$(USAGE)"                     using multiple options."
  64 jim.wunderlich 1.45  	$(USAGE)"perftests          - Executes a brief server performance test"
  65 jim.wunderlich 1.40  	$(USAGE)
  66                      	$(USAGE)"usage2             - usage on secondary test targets"
  67 jim.wunderlich 1.43  	$(USAGE)"usagetrace         - usage on trace targets"
  68 j.alex         1.66  	$(USAGE)"stresstests        - Execute the default stress test suite"
  69 jim.wunderlich 1.40  	$(USAGE)
  70                      
  71                      usage2: FORCE
  72                      	$(USAGE)
  73                      	$(USAGE)"TestMakefile Secondary Targets:"
  74                      	$(USAGE)
  75                      	$(USAGE)"The following are run as part of the Primary target test suites and may"
  76                      	$(USAGE)"also be invoked as standalone tests."
  77                      	$(USAGE)
  78                      	$(USAGE)"TestXMLRepository       - Executes poststarttests on XML repository"
  79                      	$(USAGE)"                          built with cimmofl."
  80 kumpf          1.101 	$(USAGE)"TestXMLRepositoryServer - Executes poststarttests on XML repository"
  81 jim.wunderlich 1.40  	$(USAGE)"                          built with cimmof."
  82                      	$(USAGE)"TestXMLCmpRepository    - Executes poststarttests on XML compressed"
  83                      	$(USAGE)"                          repository built with cimmofl."
  84                      	$(USAGE)"TestBinRepository       - Executes poststarttests on binary repository "
  85                      	$(USAGE)"                          built with cimmofl."
  86                      	$(USAGE)"TestBinRepositoryServer - Executes poststarttests on binary repository"
  87                      	$(USAGE)"                          built with cimmof."
  88                      	$(USAGE)"TestBinCmpRepository    - Executes poststarttests on binary compressed"
  89                      	$(USAGE)"                          repository built with cimmofl."
  90                      	$(USAGE)
  91                      	$(USAGE)"The following require the repository to be pre-built."
  92                      	$(USAGE)
  93 sushma.fernandes 1.84  	$(USAGE)"run_SSL_CBA_TS1         - Executes the Certificate based authentication test suite."
  94                        	$(USAGE)"run_SSL_IPV4_TS1        - Executes the IPv4 SSL connection test suite."
  95                        	$(USAGE)"run_SSL_IPV6_TS1        - Executes the IPv6 SSL connection test suite."
  96 jim.wunderlich   1.40  	$(USAGE)"run_OOP_TS1             - Executes the Out Of Process Provider tests"
  97 kumpf            1.46  	$(USAGE)"run_G11N_TS1            - Executes the Globalization tests"
  98 jim.wunderlich   1.40  	$(USAGE)
  99                        	$(USAGE)"The following require the repository to be pre-built and the server to be started."
 100                        	$(USAGE)
 101                        	$(USAGE)"serversuite             - the collection of test run by the servertests rule"
 102 j.alex           1.66  	$(USAGE)"run_STRESS_TS1          - Executes the stresstests"
 103 dave.sudlik      1.78  	$(USAGE)"slptests                - Executes the slptests"
 104 kumpf            1.101 	$(USAGE)"run_Cmpi_Sub            - Executes the CMPI subscription tests"
 105 jim.wunderlich   1.40  	$(USAGE)
 106                        
 107                        
 108                        ##########################################################
 109                        #
 110                        # rules that are defined in Makefile
 111                        #
 112                        ##########################################################
 113 kumpf            1.21  
 114 jim.wunderlich   1.39  build: FORCE
 115                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile build
 116 kumpf            1.21  
 117 jim.wunderlich   1.40  world: FORCE
 118                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile world
 119                        
 120                        new: FORCE
 121                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile new
 122                        
 123 jim.wunderlich   1.39  clean: FORCE
 124 kumpf            1.21  	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile clean
 125                        
 126 jim.wunderlich   1.40  depend: FORCE
 127                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile depend
 128                        
 129 denise.eckstein  1.69  ###############################################################################
 130                        #   mak/certificate_test.mak implements three key functions for
 131                        #   testing Certificate-Based Authentication (CBA).
 132 kumpf            1.101 #
 133 denise.eckstein  1.69  #   setupCBATestCertificates is used to create a set of test certificates
 134                        #       make -f TestMakefile setupCBATestCertificates
 135                        #
 136                        #   runCBATestSuites is used to run a set of CBA tests
 137                        #       make -f TestMakefile runCBATestSuites
 138                        #
 139                        #   cleanupCBATestCertificates can be used to remove the test certificates
 140                        #       make -f TestMakefile cleanupCBATestCertificates
 141                        ###############################################################################
 142                        include $(PEGASUS_ROOT)/mak/certificate_test.mak
 143 jim.wunderlich   1.40  
 144                        ############################################################
 145                        #
 146                        # rules defined here
 147                        #
 148                        ############################################################
 149                        
 150 jim.wunderlich   1.41  ##
 151                        ## Although the macros CIMSERVER_STOP_SERVICE and CIMSERVER_START_SERVICE
 152                        ## are available and could be invoked directly, their direct usage is
 153                        ## discouraged in favor of invoking the cimstop and the cimstart rules
 154 kumpf            1.101 ## as this allows one place where additional checks, delays etc may be
 155 jim.wunderlich   1.41  ## added in the future to control or further test the servers performance
 156                        ## in executing these commands.
 157                        ##
 158                        
 159 jim.wunderlich   1.40  #######################
 160                        #
 161                        # doc
 162                        #
 163 kumpf            1.1   doc:
 164 mday             1.6   	$(MAKE) --directory=$(PEGASUS_ROOT)/doc/ProviderSpec -f Makefile
 165                        	$(MAKE) --directory=$(PEGASUS_ROOT)/doc/DevManual -f Makefile
 166 kumpf            1.1   
 167 jim.wunderlich   1.40  
 168                        #######################
 169                        #
 170                        # repositoryServer
 171                        #
 172                        repositoryServer: FORCE
 173 kumpf            1.22  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
 174 kumpf            1.19  	$(SLEEP) 5
 175 kumpf            1.90  	$(RMREPOSITORY) $(REPOSITORY_ROOT)
 176 jim.wunderlich   1.41  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart
 177 kumpf            1.19  	$(SLEEP) 5
 178 kumpf            1.21  	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer
 179                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer
 180 mday             1.6   
 181 jim.wunderlich   1.40  ######################
 182                        #
 183                        # prestarttests is being deprecated since poststarttest is being deprecated
 184 kumpf            1.101 # in favor of name more related to its intended functionality.
 185 jim.wunderlich   1.40  #
 186                        prestarttests: prestarttests_msg shortsleep unittests
 187                        
 188                        prestarttests_msg: FORCE
 189                        	@$(ECHO) "=============================================================================="
 190                        	@$(ECHO) "TestMakefile: The \"prestarttests\" rule is being deprecated."
 191                        	@$(ECHO) "              Use \"make testusage\" for a description of the usage model."	
 192 kumpf            1.101 	@$(ECHO) "              The equivalent new rule is \"unittests\"."
 193 jim.wunderlich   1.40  	@$(ECHO) "              Invoking the \"unittests\" rule now."
 194                        	@$(ECHO) "=============================================================================="
 195                        
 196                        ####################
 197                        #
 198 kumpf            1.101 # poststarttests is being deprecated since it multiply defines a
 199 jim.wunderlich   1.40  # recursive make rule leading to ambuguity and confusion.
 200                        #
 201 kumpf            1.101 poststarttests: poststarttests_msg shortsleep servertests
 202 jim.wunderlich   1.40  
 203                        poststarttests_msg: FORCE
 204                        	@$(ECHO) "==============================================================================="
 205 kumpf            1.101 	@$(ECHO) "TestMakefile: The \"posstarttests\" rule is being deprecated.."
 206 jim.wunderlich   1.40  	@$(ECHO) "              Use \"make testusage\" for a description of the usage model."	
 207 kumpf            1.101 	@$(ECHO) "              The equivalent new rule is \"servertests\"."
 208 jim.wunderlich   1.40  	@$(ECHO) "              Invoking the \"servertests\" rule now."
 209                        	@$(ECHO) "==============================================================================="
 210                        
 211                        #####################
 212                        #
 213 kumpf            1.101 # tests is being deprecated since it multiply defines a
 214 jim.wunderlich   1.40  # recursive make rule leading to ambuguity and confusion.
 215                        #
 216                        tests: tests_msg shortsleep alltests
 217                        
 218                        tests_msg: FORCE
 219                        	@$(ECHO) "==================================================================="
 220                        	@$(ECHO) "TestMakefile: The \"tests\" rule is being deprecated."
 221                        	@$(ECHO) "              Use \"make testusage\" for a description of the usage model."	
 222 kumpf            1.101 	@$(ECHO) "              The equivalent new rule is \"alltests\"."
 223 jim.wunderlich   1.40  	@$(ECHO) "              Invoking the \"alltests\" rule now."
 224                        	@$(ECHO) "==================================================================="
 225                        
 226                        
 227                        shortsleep: FORCE
 228                        	@$(SLEEP) 5
 229                        
 230                        ####################
 231                        #
 232                        # unittests
 233                        #
 234                        unittests: FORCE
 235 h.sterling       1.38  	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile tests
 236 jim.wunderlich   1.40  	@ $(ECHO) "+++++ TestMakefile unittests complete"
 237                        
 238                        #####################
 239                        #
 240                        # servertests
 241                        #
 242 kumpf            1.1   
 243 jim.wunderlich   1.40  servertestsclean: FORCE
 244 jim.wunderlich   1.41  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
 245 lucier           1.17  	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/CQL/tests/Queries -f Makefile clean
 246                        	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/Query/QueryExpression/tests/Queries -f Makefile clean
 247 mday             1.6   	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile clean
 248 jim.wunderlich   1.31  
 249 jim.wunderlich   1.40  servertestssetup: FORCE
 250 denise.eckstein  1.50  ifdef PEGASUS_HAS_SSL
 251 jim.wunderlich   1.61  #
 252 kumpf            1.101 # The association between user names and certificates is stored in the
 253 jim.wunderlich   1.61  # repository.  If the repository is recreated, we also need to re-initialize
 254 kumpf            1.101 # the trust store directories. Otherwise, the truststore content will be
 255 jim.wunderlich   1.61  # out-of-sync with the mapping stored in the repository.
 256                        #
 257 w.otsuka         1.76  #  NOTE: Tests that require their own test namespaces to run poststarttests
 258                        #  should add their namespace creation make commands to pegasus/Makefile
 259                        #  under the testrepository tag.
 260                        #
 261 denise.eckstein  1.50  	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile removeSSLTrustDirectories
 262                        	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile createSSLTrustDirectories
 263                        endif
 264 jim.wunderlich   1.40  	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository
 265                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository
 266 denise.eckstein  1.69  	@$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile \
 267                                    cleanupCBATestCertificates
 268                        	@$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile \
 269                                    setupCBATestCertificates
 270 jim.wunderlich   1.41  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimstart
 271 kumpf            1.19  	$(SLEEP) 5
 272 jim.wunderlich   1.61  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile ConfigureUsers
 273                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile Create_SSL_Certificate
 274 denise.eckstein  1.73  ifeq ($(PEGASUS_TEST_SDK),true)
 275 kumpf            1.101 	$(MAKE) --directory=$(PEGASUS_ROOT)/src/SDK/samples -f Makefile setupSDK
 276 denise.eckstein  1.73  endif
 277 kumpf            1.98  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimstop
 278 denise.eckstein  1.73  
 279 dave.sudlik      1.78  # slptests are run under separate target because these testcases require that
 280                        # both the cimserver and SLP are running. There is no need for special options
 281                        # while starting cimserver.
 282                        slptests:
 283                        	$(MAKE) --directory=$(PEGASUS_ROOT)/src/slp/tests/slptests -f Makefile slptests
 284                        	@ $(ECHO) "+++++ TestMakefile slp test suite completed"
 285 jim.wunderlich   1.40  
 286                        servertests: servertestsclean servertestssetup serversuite
 287                        	@ $(ECHO) "+++++ TestMakefile servertests suites complete"
 288                        
 289                        serversuite: FORCE
 290 kumpf            1.98  	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/Server/tests -f Makefile commandtests
 291                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimstart
 292 kumpf            1.21  	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests
 293 jim.wunderlich   1.33  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestBinRepository
 294 w.otsuka         1.76  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_Cimsub_InterOp
 295 kumpf            1.20  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_OOP_TS1
 296 carolann.graves  1.28  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_IndInit_TS1
 297 carolann.graves  1.67  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_OOPProvFail_TS1
 298                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_OOPProvFail_TS2
 299 carolann.graves  1.74  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_OOPProvFail_TS3
 300 denise.eckstein  1.47  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_INDSSL_TS1
 301 sushma.fernandes 1.84  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_SSL_IPV4_TS1
 302                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_SSL_IPV6_TS1
 303                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_SSL_CBA_TS1
 304 kumpf            1.46  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_G11N_TS1
 305 denise.eckstein  1.69  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile runCBATestSuites
 306 denise.eckstein  1.73  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_SDK_TS1
 307 carolann.graves  1.75  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_ExportClientSSL_TS1
 308 sahana.prabhakar 1.103 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_Cimserver_Availability
 309 kumpf            1.87  ifeq ($(PEGASUS_ENABLE_CMPI_PROVIDER_MANAGER),true)
 310 s.kodali         1.85  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_Cmpi_Sub
 311                        endif
 312 s.kodali         1.105 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimprovagt32tests
 313 dave.sudlik      1.88  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_idleConnectionTimeout1
 314                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_idleConnectionTimeout2
 315 kumpf            1.1   
 316 j.alex           1.66  #####################
 317                        #
 318                        # stresstests
 319                        #
 320                        stresstests:
 321                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_STRESS_TS1
 322                        
 323 jim.wunderlich   1.40  ####################
 324                        #
 325 jim.wunderlich   1.45  # perftests - simple performance test until we have better
 326                        #
 327                        # - Turns statistics on (uses TestInterop until we have better)
 328 kumpf            1.81  # - runs poststarttests suite and TestBenchmark
 329 jim.wunderlich   1.45  # - runs cimperf to displat the statistics
 330 kumpf            1.101 # - turns statistics off
 331 jim.wunderlich   1.45  #
 332                        perftests: servertestsclean servertestssetup perfsuite
 333                        
 334                        perfsuite: FORCE
 335                        	$(PEGASUS_HOME)/bin/TestInterop on
 336                        	$(TIME_CMD) $(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile poststarttests
 337                        	@ $(ECHO) " "
 338                        	$(TIME_CMD) $(PEGASUS_HOME)/bin/TestClient
 339                        	@ $(ECHO) " "
 340 kumpf            1.81  	$(TIME_CMD) $(PEGASUS_HOME)/bin/TestBenchmark
 341 jim.wunderlich   1.45  	@ $(ECHO) " "
 342                        	@ $(ECHO) " "
 343                        	$(TIME_CMD) $(PEGASUS_HOME)/bin/cimperf
 344                        	@ $(ECHO) " "
 345                        	$(PEGASUS_HOME)/bin/TestInterop off
 346                        
 347 jim.wunderlich   1.40  
 348                        ####################
 349                        #
 350                        # alltests
 351                        #
 352                        alltests: unittests servertests
 353 a.dunfey         1.79  ifeq ($(OS_TYPE),windows)
 354 kumpf            1.22  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
 355 mday             1.6   	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile uninstall
 356 tony             1.5   endif
 357 jim.wunderlich   1.40  	@ $(ECHO) "+++++ TestMakefile alltests Complete"
 358 kumpf            1.1   
 359                        ###############################################################################
 360 denise.eckstein  1.18  ##  Test Suite Definitions
 361                        ###############################################################################
 362                        
 363                        ###############################################################################
 364 kumpf            1.101 ##  OOP Test Suite 1: "Out-of-Process"(OOP) Provider Tests
 365 denise.eckstein  1.18  ##
 366                        ##  Configuration Options: forceProviderProcesses=true
 367                        ##
 368 jim.wunderlich   1.54  ##  If PEGASUS_DEFAULT_ENABLE_OOP is set, then tests are run with OOP disabled
 369 jim.wunderlich   1.51  ##  since tests have already been run with OOP enabled.
 370                        ##
 371                        ##
 372 denise.eckstein  1.18  ###############################################################################
 373 jim.wunderlich   1.54  ifeq ($(PEGASUS_DEFAULT_ENABLE_OOP),true)
 374 jim.wunderlich   1.52  OOP_TS1_CONFIG_OPTIONS = forceProviderProcesses=false
 375                        else
 376 denise.eckstein  1.18  OOP_TS1_CONFIG_OPTIONS = forceProviderProcesses=true
 377 kumpf            1.44  endif
 378 jim.wunderlich   1.51  
 379 kumpf            1.96  ifeq ($(PEGASUS_ENABLE_PRIVILEGE_SEPARATION),true)
 380                            # When privilege separation is enabled, most providers run out of process
 381                            # regardless of the forceProviderProcesses setting.  The exception is
 382                            # providers that register with UserContext = 5 (CIM Server).  The only
 383                            # case of this in the automated tests is the UserContextTestProvider.
 384                            OOP_TS1_TEST_CMDS = \
 385                                $(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/UserContextTestProvider/testclient@@poststarttests
 386                        else
 387                            OOP_TS1_TEST_CMDS = \
 388                                $(MAKE)@@--directory=$(PEGASUS_ROOT)@@-f@@Makefile@@poststarttests
 389                        endif
 390 denise.eckstein  1.18  
 391                        run_OOP_TS1:
 392 denise.eckstein  1.26  	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 393 denise.eckstein  1.18              CIMSERVER_CONFIG_OPTIONS="$(OOP_TS1_CONFIG_OPTIONS)" \
 394                                    TESTSUITE_CMDS="$(OOP_TS1_TEST_CMDS)"
 395 jim.wunderlich   1.51  
 396 denise.eckstein  1.18  ###############################################################################
 397                        
 398                        ###############################################################################
 399 kumpf            1.101 ##  IndInit Test Suite 1: IndicationService Initialization Tests
 400 carolann.graves  1.28  ##
 401                        ##  Configuration Options: (none)
 402                        ##
 403                        ###############################################################################
 404 kumpf            1.101 IndInit_TS1_CONFIG_OPTIONS =
 405 carolann.graves  1.28  IndInit_TS1a_TEST_CMDS = \
 406                        	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Pegasus/IndicationService/tests/ProcessIndication@@IndInit_TS1a
 407                        IndInit_TS1b_TEST_CMDS = \
 408                        	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Pegasus/IndicationService/tests/ProcessIndication@@IndInit_TS1b
 409                        
 410                        run_IndInit_TS1:
 411                        	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 412                                    CIMSERVER_CONFIG_OPTIONS="$(IndInit_TS1_CONFIG_OPTIONS)" \
 413                                    TESTSUITE_CMDS="$(IndInit_TS1a_TEST_CMDS)"
 414                        	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 415                                    CIMSERVER_CONFIG_OPTIONS="$(IndInit_TS1_CONFIG_OPTIONS)" \
 416                                    TESTSUITE_CMDS="$(IndInit_TS1b_TEST_CMDS)"
 417                        
 418                        ###############################################################################
 419 carolann.graves  1.67  ##  OOPProvFail Test Suite 1: OOP Provider Module Failure Tests
 420                        ##
 421                        ##  Configuration Options: forceProviderProcesses=true
 422                        ##  enableAuthentication=true, enableAuthentication=false
 423                        ##
 424                        ##  NOTE: Regardless of the setting of PEGASUS_DEFAULT_ENABLE_OOP, this test
 425                        ##  suite is always run with OOP enabled.  This test suite causes a provider to
 426                        ##  exit.  Running this test suite with OOP disabled would cause the cimserver
 427                        ##  to exit and the test suite to fail.
 428                        ##
 429                        ##  NOTE: The test is run once with authentication enabled, and once without
 430                        ##  authentication enabled.
 431                        ##
 432                        ###############################################################################
 433 venkat.puvvada   1.104 OOPProvFail_TS1a_CONFIG_OPTIONS = forceProviderProcesses=true enableAuthentication=true maxFailedProviderModuleRestarts=0
 434                        OOPProvFail_TS1b_CONFIG_OPTIONS = forceProviderProcesses=true enableAuthentication=false maxFailedProviderModuleRestarts=0
 435 carolann.graves  1.67  OOPProvFail_TS1_TEST_CMDS = \
 436                        	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/OOPModuleFailureProvider/testclient@@OOPProvFail_TS1
 437                        
 438 carolann.graves  1.68  ifndef PEGASUS_DISABLE_PRIVILEGED_TESTS
 439 carolann.graves  1.67  run_OOPProvFail_TS1:
 440                        	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 441                                    CIMSERVER_CONFIG_OPTIONS="$(OOPProvFail_TS1a_CONFIG_OPTIONS)" \
 442                                    TESTSUITE_CMDS="$(OOPProvFail_TS1_TEST_CMDS)"
 443                        	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 444                                    CIMSERVER_CONFIG_OPTIONS="$(OOPProvFail_TS1b_CONFIG_OPTIONS)" \
 445                                    TESTSUITE_CMDS="$(OOPProvFail_TS1_TEST_CMDS)"
 446 carolann.graves  1.68  else
 447                        run_OOPProvFail_TS1: FORCE
 448                        	@ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping run_OOPProvFail_TS1"
 449                        endif
 450 carolann.graves  1.67  
 451                        ###############################################################################
 452 kumpf            1.101 ##  OOPProvFail Test Suite 2: OOP Provider Module Failure on IndicationService
 453 carolann.graves  1.67  ##                            Initialization Tests
 454                        ##
 455                        ##  Configuration Options: forceProviderProcesses=true
 456                        ##                         enableAuthentication=true
 457                        ##
 458                        ##  NOTE: Regardless of the setting of PEGASUS_DEFAULT_ENABLE_OOP, this test
 459                        ##  suite is always run with OOP enabled.  This test suite causes a provider to
 460                        ##  exit.  Running this test suite with OOP disabled would cause the cimserver
 461                        ##  to exit and the test suite to fail.
 462                        ##
 463                        ###############################################################################
 464                        OOPProvFail_TS2_CONFIG_OPTIONS = forceProviderProcesses=true enableAuthentication=true
 465                        OOPProvFail_TS2a_TEST_CMDS = \
 466                        	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/OOPModuleFailureProvider/testclient@@OOPProvFail_TS2a
 467                        OOPProvFail_TS2b_TEST_CMDS = \
 468                        	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/OOPModuleFailureProvider/testclient@@OOPProvFail_TS2b
 469                        
 470 carolann.graves  1.68  ifndef PEGASUS_DISABLE_PRIVILEGED_TESTS
 471 carolann.graves  1.67  run_OOPProvFail_TS2:
 472                        	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 473                                    CIMSERVER_CONFIG_OPTIONS="$(OOPProvFail_TS2_CONFIG_OPTIONS)" \
 474                                    TESTSUITE_CMDS="$(OOPProvFail_TS2a_TEST_CMDS)"
 475                        	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 476                                    CIMSERVER_CONFIG_OPTIONS="$(OOPProvFail_TS2_CONFIG_OPTIONS)" \
 477                                    TESTSUITE_CMDS="$(OOPProvFail_TS2b_TEST_CMDS)"
 478 carolann.graves  1.68  else
 479                        run_OOPProvFail_TS2: FORCE
 480                        	@ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping run_OOPProvFail_TS2"
 481                        endif
 482 carolann.graves  1.67  
 483                        ###############################################################################
 484 carolann.graves  1.74  ##  OOPProvFail Test Suite 3: OOP Provider Module Failure CIM Server restart
 485                        ##                            Tests
 486                        ##
 487                        ##  Configuration Options: forceProviderProcesses=true
 488                        ##                         enableAuthentication=true
 489                        ##
 490                        ##  NOTE: Regardless of the setting of PEGASUS_DEFAULT_ENABLE_OOP, this test
 491                        ##  suite is always run with OOP enabled.  This test suite causes a provider to
 492                        ##  exit.  Running this test suite with OOP disabled would cause the cimserver
 493                        ##  to exit and the test suite to fail.
 494                        ##
 495                        ###############################################################################
 496 venkat.puvvada   1.104 OOPProvFail_TS3_CONFIG_OPTIONS = forceProviderProcesses=true enableAuthentication=true maxFailedProviderModuleRestarts=0
 497 carolann.graves  1.74  OOPProvFail_TS3a_TEST_CMDS = \
 498                        	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/OOPModuleFailureProvider/testclient@@OOPProvFail_TS3a
 499                        OOPProvFail_TS3b_TEST_CMDS = \
 500                        	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/OOPModuleFailureProvider/testclient@@OOPProvFail_TS3b
 501                        
 502                        ifndef PEGASUS_DISABLE_PRIVILEGED_TESTS
 503                        run_OOPProvFail_TS3:
 504                        	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 505                                    CIMSERVER_CONFIG_OPTIONS="$(OOPProvFail_TS3_CONFIG_OPTIONS)" \
 506                                    TESTSUITE_CMDS="$(OOPProvFail_TS3a_TEST_CMDS)"
 507                        	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 508                                    CIMSERVER_CONFIG_OPTIONS="$(OOPProvFail_TS3_CONFIG_OPTIONS)" \
 509                                    TESTSUITE_CMDS="$(OOPProvFail_TS3b_TEST_CMDS)"
 510                        else
 511                        run_OOPProvFail_TS3: FORCE
 512                        	@ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping run_OOPProvFail_TS3"
 513                        endif
 514                        
 515                        ###############################################################################
 516 denise.eckstein  1.47  ##  Indication SSL Test Suite 1: Indication Testing over HTTPS
 517                        ##
 518                        ##  Configuration Options: (none)
 519                        ##
 520                        ###############################################################################
 521 denise.eckstein  1.50  INDSSL_TS1a_CONFIG_OPTIONS = enableHttpsConnection=true enableAuthentication=false
 522 denise.eckstein  1.47  INDSSL_TS1a_TEST_CMDS = \
 523 denise.eckstein  1.50  	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/IndicationStressTestProvider/testclient@@-f@@Makefile@@run_TS1_AuthenticationDisabled
 524                        
 525                        INDSSL_TS1b_CONFIG_OPTIONS = enableHttpsConnection=true enableAuthentication=true sslClientVerificationMode=required
 526 denise.eckstein  1.47  INDSSL_TS1b_TEST_CMDS = \
 527 denise.eckstein  1.50  	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/IndicationStressTestProvider/testclient@@-f@@Makefile@@run_TS1_AuthenticationEnabled
 528                        
 529 denise.eckstein  1.47  
 530                        ifdef PEGASUS_HAS_SSL
 531 jim.wunderlich   1.53  ifndef PEGASUS_DISABLE_PRIVILEGED_TESTS
 532 jim.wunderlich   1.61  run_INDSSL_TS1: EnableUsers Create_SSL_Certificate_ignore
 533 denise.eckstein  1.47  	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 534 denise.eckstein  1.50              CIMSERVER_CONFIG_OPTIONS="$(INDSSL_TS1a_CONFIG_OPTIONS)" \
 535 denise.eckstein  1.47              TESTSUITE_CMDS="$(INDSSL_TS1a_TEST_CMDS)"
 536                        	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 537 denise.eckstein  1.50              CIMSERVER_CONFIG_OPTIONS="$(INDSSL_TS1b_CONFIG_OPTIONS)" \
 538 denise.eckstein  1.47              TESTSUITE_CMDS="$(INDSSL_TS1b_TEST_CMDS)"
 539                        else
 540                        run_INDSSL_TS1: FORCE
 541 jim.wunderlich   1.53  	@ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping run_INDSSL_TS1"	
 542                        endif
 543                        else
 544                        run_INDSSL_TS1: FORCE
 545                        	@ $(ECHO) "+++++ PEGASUS_HAS_SSL not defined: Skipping run_INDSSL_TS1"
 546 denise.eckstein  1.47  endif
 547                        
 548                        
 549                        ###############################################################################
 550 kumpf            1.101 
 551 denise.eckstein  1.47  ###############################################################################
 552 sushma.fernandes 1.84  ##  SSL IPv4 Test Suite : Tests SSL connections for IPv4
 553                        ##
 554                        ##  Configuration Options: enableHttpsConnection=true
 555                        ##  NOTE : Authentication is not enabled as we are only verifying
 556                        ##         if SSL based IPv6 connections are working correctly. The osinfo
 557                        ##         client requires a password to be passed for a remote connection
 558 kumpf            1.101 ##         otherwise it will prompt for one. As a work around,
 559                        ##         we are providing a dummy password.
 560 sushma.fernandes 1.84  ##
 561                        ###############################################################################
 562 ouyang.jian      1.91  SSL_IPV4_TS1_CONFIG_OPTIONS = enableHttpsConnection=true \
 563                              enableAuthentication=false
 564 sushma.fernandes 1.84  SSL_IPV4_TS1_CMD_1 = \
 565                                osinfo -s -w notapassword -h 127.0.0.1 -p 5989
 566                        SSL_IPV4_TS1_CMD_2 = \
 567                                osinfo -s -w notapassword -h localhost -p 5989
 568                        
 569                        ifdef PEGASUS_HAS_SSL
 570                            run_SSL_IPV4_TS1: FORCE
 571                        	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 572                                    CIMSERVER_CONFIG_OPTIONS="$(SSL_IPV4_TS1_CONFIG_OPTIONS)" \
 573                                    TESTSUITE_CMDS="$(SSL_IPV4_TS1_CMD_1)"
 574                        	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 575                                    CIMSERVER_CONFIG_OPTIONS="$(SSL_IPV4_TS1_CONFIG_OPTIONS)" \
 576                                    TESTSUITE_CMDS="$(SSL_IPV4_TS1_CMD_2)"
 577                        else
 578                            run_SSL_IPV4_TS1: FORCE
 579                        	@ $(ECHO) "+++++ PEGASUS_HAS_SSL not defined: Skipping run_SSL_IPV4_TS1"
 580                        endif
 581                        
 582                        ###############################################################################
 583                        ##  SSL IPv6 Test Suite : Tests SSL connections for IPv6
 584                        ##
 585 sushma.fernandes 1.84  ##  Configuration Options: enableHttpsConnection=true
 586                        ##  NOTE : Authentication is not enabled as we are only verifying
 587                        ##         if SSL based IPv6 connections are working correctly. The osinfo
 588                        ##         client requires a password to be passed for a remote connection
 589                        ##         otherwise it will prompt for one. As a work around,
 590 kumpf            1.101 ##         we are providing a dummy password.
 591 sushma.fernandes 1.84  ##
 592 sushma.fernandes 1.86  ##         The IPv4-mapped IPv6 address test is only enabled for unix
 593                        ##         platforms as Windows does not support IPv4-mapped IPv6 addresses
 594 kumpf            1.101 ##         on certain versions.
 595 sushma.fernandes 1.86  ##
 596 sushma.fernandes 1.84  ###############################################################################
 597 ouyang.jian      1.91  SSL_IPV6_TS1_CONFIG_OPTIONS = enableHttpsConnection=true \
 598                              enableAuthentication=false
 599 sushma.fernandes 1.84  SSL_IPV6_TS1_CMD_1 = \
 600                                osinfo -s -w notapassword -h ::1 -p 5989
 601                        SSL_IPV6_TS1_CMD_2 = \
 602                                osinfo -s -w notapassword -h ::ffff:127.0.0.1 -p 5989
 603                        
 604                        ifdef PEGASUS_HAS_SSL
 605                            run_SSL_IPV6_TS1: FORCE
 606                            ifeq ($(PEGASUS_TEST_IPV6), true)
 607                        	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 608                                    CIMSERVER_CONFIG_OPTIONS="$(SSL_IPV6_TS1_CONFIG_OPTIONS)" \
 609                                    TESTSUITE_CMDS="$(SSL_IPV6_TS1_CMD_1)"
 610 sushma.fernandes 1.86        ifeq ($(OS_TYPE), unix)
 611 sushma.fernandes 1.84  	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 612                                    CIMSERVER_CONFIG_OPTIONS="$(SSL_IPV6_TS1_CONFIG_OPTIONS)" \
 613                                    TESTSUITE_CMDS="$(SSL_IPV6_TS1_CMD_2)"
 614 sushma.fernandes 1.86        endif
 615 sushma.fernandes 1.84      else
 616                        	@ $(ECHO) "+++++ PEGASUS_TEST_IPV6 not defined: Skipping run_SSL_IPV6_TS1"
 617                            endif
 618                        else
 619                            run_SSL_IPV6_TS1: FORCE
 620                        	@ $(ECHO) "+++++ PEGASUS_HAS_SSL not defined: Skipping run_SSL_IPV6_TS1"
 621                        endif
 622                        
 623                        ###############################################################################
 624                        ##  CBA SSL Test Suite 1: Certificate based authentication Tests
 625 nag.boranna      1.27  ##
 626                        ##  Configuration Options: enableAuthentication=true
 627                        ##                         enableHttpsConnection=true
 628                        ##                         sslClientVerificationMode=optional
 629                        ##                         sslTrustStoreUserName=$(CURRENT_USER)
 630                        ##
 631                        ###############################################################################
 632 sushma.fernandes 1.84  SSL_CBA_TS1_CONFIG_OPTIONS = enableHttpsConnection=true enableAuthentication=true \
 633 nag.boranna      1.27         sslClientVerificationMode=optional sslTrustStoreUserName=$(CURRENT_USER)
 634 sushma.fernandes 1.84  SSL_CBA_TS1_TEST_CMD_1 = \
 635 sushma.fernandes 1.71         $(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Clients/cimtrust/tests@@SSLCertificateTest1
 636 sushma.fernandes 1.84  SSL_CBA_TS1_TEST_CMD_2 = \
 637 sushma.fernandes 1.72         $(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Clients/cimcrl/tests@@SSLCRLTest1
 638 nag.boranna      1.27  
 639 jim.wunderlich   1.39  ifdef PEGASUS_HAS_SSL
 640 jim.wunderlich   1.53  ifndef PEGASUS_DISABLE_PRIVILEGED_TESTS
 641 sushma.fernandes 1.84  run_SSL_CBA_TS1: FORCE
 642 nag.boranna      1.27  	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 643 sushma.fernandes 1.84              CIMSERVER_CONFIG_OPTIONS="$(SSL_CBA_TS1_CONFIG_OPTIONS)" \
 644                                    TESTSUITE_CMDS="$(SSL_CBA_TS1_TEST_CMD_1)"
 645 sushma.fernandes 1.72  	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 646 sushma.fernandes 1.84              CIMSERVER_CONFIG_OPTIONS="$(SSL_CBA_TS1_CONFIG_OPTIONS)" \
 647                                    TESTSUITE_CMDS="$(SSL_CBA_TS1_TEST_CMD_2)"
 648 jim.wunderlich   1.39  else
 649 sushma.fernandes 1.84  run_SSL_CBA_TS1: FORCE
 650                        	@ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping run_SSL_CBA_TS1"	
 651 jim.wunderlich   1.53  endif
 652                        else
 653 sushma.fernandes 1.84  run_SSL_CBA_TS1: FORCE
 654                        	@ $(ECHO) "+++++ PEGASUS_HAS_SSL not defined: Skipping run_SSL_CBA_TS1"
 655 jim.wunderlich   1.39  
 656                        endif
 657                        
 658 jim.wunderlich   1.61  ############################################################################
 659 kumpf            1.101 #
 660 jim.wunderlich   1.61  # Create_SSL_Certificate
 661                        #
 662                        # create a certificate that can be used for certification testing.
 663                        # It is currently used by the following tests:
 664                        #            -run_INDSSL_TS1
 665                        #
 666                        Create_SSL_Certificate_ignore: FORCE
 667                        	-$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile Create_SSL_Certificate
 668                        
 669                        Create_SSL_Certificate: FORCE
 670                        ifdef PEGASUS_HAS_SSL
 671                        ifdef PEGASUS_TEST_USER_DEFINED
 672                        	$(ECHO) "Creating SSL certificate for test"
 673 sushma.fernandes 1.71  	cimtrust -a -U $(PEGASUS_TEST_USER_ID) -f $(PEGASUS_HOME)/server.pem -Ts
 674 jim.wunderlich   1.61  endif
 675                        else
 676                        	$(ECHO) "PEGASUS_HAS_SSL not defined - Not Creating SSL certificate for test"
 677                        endif
 678                        
 679 kumpf            1.46  ###############################################################################
 680 kumpf            1.101 ##  G11N Test Suite 1: Globalization Tests
 681 kumpf            1.46  ##
 682                        ##  Configuration Options: forceProviderProcesses=false
 683                        ##
 684                        ###############################################################################
 685                        G11N_TS1_CONFIG_OPTIONS = forceProviderProcesses=false
 686                        G11N_TS1_TEST_CMDS = \
 687                                $(MAKE) --directory $(PEGASUS_ROOT)/src/Clients/g11ntest \
 688                                    -f Makefile g11ntest
 689                        
 690                        run_G11N_TS1:
 691                        	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 692                                    CIMSERVER_CONFIG_OPTIONS="$(G11N_TS1_CONFIG_OPTIONS)" \
 693                                    TESTSUITE_CMDS="$(G11N_TS1_TEST_CMDS)"
 694 j.alex           1.66  
 695                        ###############################################################################
 696                        ##  Stress Test Suite 1:  Default Stress Tests
 697                        ##
 698                        ##  Configuration Options: (none)
 699                        ##
 700                        ###############################################################################
 701                        STRESS_TS1_CONFIG_OPTIONS =
 702                        STRESS_TS1_TEST_CMDS = \
 703                                TestStressTestController
 704                        
 705                        run_STRESS_TS1:
 706                        	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 707                                    CIMSERVER_CONFIG_OPTIONS="$(STRESS_TS1_CONFIG_OPTIONS)" \
 708                                    TESTSUITE_CMDS="$(STRESS_TS1_TEST_CMDS)"
 709 kumpf            1.46  ###############################################################################
 710                        
 711 denise.eckstein  1.73  ###############################################################################
 712                        ##  SDK Test Suite 1:  SDK Tests
 713                        ##
 714                        ##  Configuration Options: (none)
 715                        ##
 716                        ###############################################################################
 717                        SDK_TS1_CONFIG_OPTIONS =
 718                        SDK_TS1_TEST_CMDS = \
 719                                $(MAKE) --directory $(PEGASUS_ROOT)/src/SDK/samples \
 720 kumpf            1.101             -f Makefile testSDK
 721 denise.eckstein  1.73  
 722                        ifeq ($(PEGASUS_TEST_SDK),true)
 723                        run_SDK_TS1: FORCE
 724                        	$(MAKE) --directory=$(PEGASUS_ROOT)/mak \
 725                                    -f $(PEGASUS_ROOT)/mak/SDKMakefile stageINCLUDE \
 726                                    PEGASUS_STAGING_DIR=$(PEGASUS_HOME) \
 727                                    PEGASUS_INCLUDE_DIR=/include
 728                        	$(MAKE) --directory=$(PEGASUS_ROOT)/src/SDK/samples \
 729                                    -f Makefile clean
 730                        	$(MAKE) --directory=$(PEGASUS_ROOT)/src/SDK/samples \
 731                                    -f Makefile PEGASUS_INCLUDE_DIR=$(PEGASUS_HOME)/include
 732                        	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 733                                    CIMSERVER_CONFIG_OPTIONS="$(SDK_TS1_CONFIG_OPTIONS)" \
 734                                    TESTSUITE_CMDS="$(SDK_TS1_TEST_CMDS)"
 735                        else
 736                        run_SDK_TS1: FORCE
 737                        	@ $(ECHO) "+++++ PEGASUS_TEST_SDK is not true: Skipping run_SDK_TS1"	
 738                        endif
 739                        ###############################################################################
 740 jim.wunderlich   1.39  
 741 nag.boranna      1.27  ###############################################################################
 742 carolann.graves  1.75  ##  Export Client SSL Test Suite 1:
 743                        ##
 744                        ##  Configuration Options: enableHttpsConnection=true
 745                        ##
 746                        ###############################################################################
 747                        ExportClientSSL_TS1_CONFIG_OPTIONS = enableHttpsConnection=true
 748                        ExportClientSSL_TS1_TEST_CMDS = \
 749                        	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Pegasus/ExportClient/tests/ExportClient@@-f@@Makefile@@runExportClientSSL_TS1
 750                        
 751                        ifdef PEGASUS_HAS_SSL
 752                        run_ExportClientSSL_TS1:
 753                        	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 754                                    CIMSERVER_CONFIG_OPTIONS="$(ExportClientSSL_TS1_CONFIG_OPTIONS)" \
 755                                    TESTSUITE_CMDS="$(ExportClientSSL_TS1_TEST_CMDS)"
 756                        else
 757                        run_ExportClientSSL_TS1: FORCE
 758                        	@ $(ECHO) "+++++ PEGASUS_HAS_SSL not defined: Skipping run_ExportClientSSL_TS1"
 759                        endif
 760                        
 761                        ###############################################################################
 762 nag.boranna      1.27  
 763 jim.wunderlich   1.34  
 764                        
 765 w.otsuka         1.76  ###############################################################################
 766 dave.sudlik      1.88  ##  idleConnectionTimeout Test Suite 1:  uses ChunkingStressProvider Tests
 767                        ##
 768 dave.sudlik      1.89  ##  Configuration Options: idleConnectionTime=55
 769 dave.sudlik      1.88  ##
 770                        ###############################################################################
 771 dave.sudlik      1.89  IDLE_CONNECTION_TIMEOUT_1_CONFIG_OPTIONS = idleConnectionTimeout=55
 772 dave.sudlik      1.88  IDLE_CONNECTION_TIMEOUT_1_TEST_CMDS = \
 773                        	$(MAKE)@@--directory \
 774                                    $(PEGASUS_ROOT)/src/Providers/TestProviders/ChunkingStressProvider/testclient \
 775                                    -f@@Makefile@@poststarttests
 776                        run_idleConnectionTimeout1: FORCE
 777                        	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 778                                    CIMSERVER_CONFIG_OPTIONS="$(IDLE_CONNECTION_TIMEOUT_1_CONFIG_OPTIONS)" \
 779                                    TESTSUITE_CMDS="$(IDLE_CONNECTION_TIMEOUT_1_TEST_CMDS)"
 780                        ###############################################################################
 781                        
 782                        ###############################################################################
 783                        ##  idleConnectionTimeout Test Suite 2:  uses IdleConnectionTimeout client test
 784                        ##
 785                        ##  Configuration Options: idleConnectionTime=6
 786                        ##
 787                        ###############################################################################
 788                        IDLE_CONNECTION_TIMEOUT_2_CONFIG_OPTIONS = idleConnectionTimeout=6
 789                        IDLE_CONNECTION_TIMEOUT_2_TEST_CMDS = \
 790                        	$(MAKE)@@--directory \
 791                                    $(PEGASUS_ROOT)/src/Pegasus/Client/tests/IdleConnectionTimeout/ \
 792                                    -f@@Makefile@@timeoutTest@@IDLETIME=10
 793 dave.sudlik      1.88  run_idleConnectionTimeout2: FORCE
 794                        	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 795                                    CIMSERVER_CONFIG_OPTIONS="$(IDLE_CONNECTION_TIMEOUT_2_CONFIG_OPTIONS)" \
 796                                    TESTSUITE_CMDS="$(IDLE_CONNECTION_TIMEOUT_2_TEST_CMDS)"
 797                        ###############################################################################
 798                        
 799 sahana.prabhakar 1.103 ###############################################################################
 800                        ##  cimserver thread limit test:
 801                        ##
 802                        ##  Configuration Options: none
 803                        ##
 804                        ###############################################################################
 805                        CIMSERVER_THREAD_LIMIT_TEST_CONFIG_OPTIONS = forceProviderProcesses=true
 806                        CIMSERVER_THREAD_LIMIT_TEST_CMDS = \
 807                               $(MAKE)@@--directory \
 808                                    $(PEGASUS_ROOT)/src/Providers/TestProviders/FaultyInstanceProvider/testclient \
 809                                    -f@@Makefile@@runAvailabilityTest
 810                        run_Cimserver_Availability: FORCE
 811                        	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 812                                    CIMSERVER_CONFIG_OPTIONS="$(CIMSERVER_THREAD_LIMIT_TEST_CONFIG_OPTIONS)" \
 813                                    TESTSUITE_CMDS="$(CIMSERVER_THREAD_LIMIT_TEST_CMDS)"
 814                        ###############################################################################
 815 dave.sudlik      1.88  
 816                        ###############################################################################
 817 w.otsuka         1.76  ##  cimsub CLI Test Suite 1:  PG_InterOp Tests
 818                        ##
 819                        ##  Configuration Options: (none)
 820                        ##
 821                        ###############################################################################
 822                        CIMSUB_INTEROP_CONFIG_OPTIONS =
 823                        CIMSUB_INTEROP_TEST_CMDS = \
 824                        	$(MAKE) --directory \
 825                                    $(PEGASUS_ROOT)/src/Clients/cimsub/tests/testscriptInterOp \
 826                                    -f Makefile cimsubTest_InterOp
 827                        run_Cimsub_InterOp: FORCE
 828                        	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 829                                    CIMSERVER_CONFIG_OPTIONS="$(CIMSUB_INTEROP_CONFIG_OPTIONS)" \
 830                                    TESTSUITE_CMDS="$(CIMSUB_INTEROP_TEST_CMDS)"
 831                        ###############################################################################
 832                        
 833                        ###############################################################################
 834 s.kodali         1.85  ## CMPI subscription activation Test Suite 1:
 835                        ##
 836                        ## Configuration Options: (none)
 837                        ##
 838                        ###############################################################################
 839                        CMPI_SUB_TEST_CONFIG_OPTIONS=
 840                        CMPI_SUBa_TEST_CMDS = \
 841                        	TestIndicationStressTest TestCMPI_IndicationStressTestClass test/TestProvider setup WQL
 842                        CMPI_SUBb_TEST_CMDS = \
 843                        	TestIndicationStressTest TestCMPI_IndicationStressTestClass test/TestProvider getSubscriptionCount
 844                        CMPI_SUBc_TEST_CMDS =  \
 845                        	TestIndicationStressTest TestCMPI_IndicationStressTestClass test/TestProvider cleanup
 846                        run_Cmpi_Sub: FORCE
 847                        	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 848                                    CIMSERVER_CONFIG_OPTIONS="$(CMPI_SUB_TEST_CONFIG_OPTIONS)" \
 849                                    TESTSUITE_CMDS="$(CMPI_SUBa_TEST_CMDS)"
 850                        	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 851                                    CIMSERVER_CONFIG_OPTIONS="$(CMPI_SUB_TEST_CONFIG_OPTIONS)" \
 852                                    TESTSUITE_CMDS="$(CMPI_SUBb_TEST_CMDS)"
 853                        	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 854                                    CIMSERVER_CONFIG_OPTIONS="$(CMPI_SUB_TEST_CONFIG_OPTIONS)" \
 855 s.kodali         1.85              TESTSUITE_CMDS="$(CMPI_SUBc_TEST_CMDS)"
 856 kumpf            1.101 
 857 s.kodali         1.85  ##############################################################################
 858 w.otsuka         1.76  
 859                        
 860 s.kodali         1.105 #############################################################################
 861                        ##
 862                        ## 32-bit provider tests on 64-bit CIMServer
 863                        ##
 864                        #############################################################################
 865                        
 866                        TEST_32BIT_CONFIG_OPTIONS = providerDir=lib32:lib
 867                        TEST_32BIT_CMDS = \
 868                               $(MAKE)@@--directory \
 869                                    $(PEGASUS_ROOT)/src/Providers/TestProviders -f@@Makefile.cimprovagt32tests@@cimprovagt32tests
 870                        cimprovagt32tests: FORCE
 871 venkat.puvvada   1.106 ifdef PEGASUS_PLATFORM_FOR_32BIT_PROVIDER_SUPPORT
 872 s.kodali         1.105 	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
 873                                    CIMSERVER_CONFIG_OPTIONS="$(TEST_32BIT_CONFIG_OPTIONS)" \
 874                                    TESTSUITE_CMDS="$(TEST_32BIT_CMDS)"
 875 venkat.puvvada   1.106 else
 876                        	@$(ECHO) "PEGASUS_PLATFORM_FOR_32BIT_PROVIDER_SUPPORT not defined, skipping 32-bit tests..."
 877                        endif
 878 s.kodali         1.105 
 879 jim.wunderlich   1.34  ##############################################################################
 880                        ##
 881                        ## TestXMLRepository rule is used to run the poststarttests suite on
 882                        ## the XML Repository built using cimmofl
 883                        ##
 884                        ## TestXMLRepositoryServer rule is used to run the poststarttests suite on
 885                        ## the XML Repository built using cimmof
 886                        ##
 887 kumpf            1.101 ## TestXMLCmpRepository rule is used to run the poststarttest suite on
 888 jim.wunderlich   1.34  ## the XML Compressed Repository built using cimmofl
 889                        ##
 890                        
 891                        ############################
 892                        ##
 893                        ## TestXMLRepository
 894                        ##
 895                        
 896                        TestXMLRepository: TestXMLClean TestXMLBuildRepo  TestXMLRepo
 897                        	@ $(ECHO) TestXMLRepository +++++ passed all test
 898                        
 899                        ############################
 900                        ##
 901                        ## TestXMLRepositoryServer
 902                        ##
 903                        TestXMLRepositoryServer: TestXMLClean  TestXMLBuildRepoServ TestXMLRepo
 904                        	@ $(ECHO) TestXMLRepositoryServer +++++ passed all test
 905                        
 906                        ############################
 907                        ##
 908                        ## TestXMLCmpRepository -  run poststarttest on Compressed BIN Repository
 909 jim.wunderlich   1.34  ##
 910                        ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY
 911                        TestXMLCmpRepository: FORCE
 912                        	@ $(ECHO) TestXMLCmpRepository +++++ Repository compressed by default - nothing more to test.
 913                        	@ $(ECHO) TestXMLCmpRepository +++++ passed all test
 914                        else
 915                        
 916                        ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST
 917                        
 918                        TestXMLCmpRepository: TestXMLClean  TestCmpBuild TestXMLBuildRepo TestXMLRepo TestRegBuild
 919                        	@ $(ECHO) TestXMLCmpRepository +++++ passed all test
 920                        else
 921                        TestXMLCmpRepository: FORCE
 922 kumpf            1.101 	@ $(ECHO) TestXMLCmpRepository +++++ Not tested
 923 jim.wunderlich   1.34  	@ $(ECHO) TestXMLCmpRepository +++++ refer to readme.compressed_repository
 924 kumpf            1.101 	@ $(ECHO) TestXMLCmpRepository +++++ to enable: set PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST=true
 925 jim.wunderlich   1.34  endif
 926                        endif
 927                        
 928                        ###########################
 929                        ##
 930                        ## TestXMLClean
 931                        ##
 932                        TestXMLClean: FORCE
 933 kumpf            1.101 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
 934 jim.wunderlich   1.34  	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryclean REPOSITORY_NAME=repository_xml
 935                        
 936                        
 937                        ###########################
 938                        ##
 939                        ## TestXMLStartServer
 940                        ##
 941                        TestXMLStartServer: FORCE
 942                        	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run
 943                        	- $(MKDIRHIER) $(PEGASUS_HOME)/repository_xml
 944                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="repositoryDir=$(PEGASUS_HOME)/repository_xml"
 945                        	$(SLEEP) 5
 946                        
 947                        ####
 948                        #### The following caused the cimserver to fail on startup
 949                        ####
 950                        ####	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableBinRepository=false repositoryDir=$(PEGASUS_HOME)/repository_xml"
 951                        
 952                        ###########################
 953                        ##
 954                        ## TestXMLBuildRepo
 955 jim.wunderlich   1.34  ##
 956                        TestXMLBuildRepo: FORCE
 957                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
 958                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
 959                        
 960                        
 961                        ###########################
 962                        ##
 963                        ## TestXMLBuildRepoServ
 964                        ##
 965                        TestXMLBuildRepoServ: TestXMLStartServer
 966                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
 967                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
 968 kumpf            1.101 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
 969 jim.wunderlich   1.34  
 970                        
 971                        ###########################
 972                        ##
 973                        ## TestXMLRepo
 974                        ##
 975 jim.wunderlich   1.40  TestXMLRepo: servertestsclean
 976 jim.wunderlich   1.35  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestXMLStartServer
 977 jim.wunderlich   1.34  	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
 978 kumpf            1.101 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
 979 jim.wunderlich   1.34  
 980                        
 981                        
 982                        
 983                        
 984                        
 985 jim.wunderlich   1.29  ##############################################################################
 986                        ##
 987 jim.wunderlich   1.31  ## TestBinRepository rule is used to run the poststarttests suite on
 988 jim.wunderlich   1.33  ## the Binary Repository built using cimmofl
 989 jim.wunderlich   1.29  ##
 990 jim.wunderlich   1.31  ## TestBinRepositoryServer rule is used to run the poststarttests suite on
 991 jim.wunderlich   1.33  ## the Binary Repository built using cimmof
 992                        ##
 993 kumpf            1.101 ## TestBinCmpRepository rule is used to run the poststarttest suite on
 994 jim.wunderlich   1.33  ## the Binry Compressed Repository built using cimmofl
 995 jim.wunderlich   1.29  ##
 996 jim.wunderlich   1.31  
 997                        ############################
 998 jim.wunderlich   1.29  ##
 999 jim.wunderlich   1.31  ## TestBinRepository
1000 jim.wunderlich   1.29  ##
1001 jim.wunderlich   1.33  ### bug 3011 disabled Binary Repository testing on LINUX_IA64 to allow
1002                        ### the nightly tests to run
1003                        
1004 jim.wunderlich   1.31  TestBinRepository: TestBinClean TestBinBuildRepo  TestBinRepo
1005 jim.wunderlich   1.33  	@ $(ECHO) TestBinRepository +++++ passed all test
1006 jim.wunderlich   1.36  
1007 jim.wunderlich   1.29  
1008 jim.wunderlich   1.31  ############################
1009                        ##
1010                        ## TestBinRepositoryServer
1011                        ##
1012                        TestBinRepositoryServer: TestBinClean  TestBinBuildRepoServ TestBinRepo
1013 jim.wunderlich   1.33  	@ $(ECHO) TestBinRepositoryServer +++++ passed all test
1014                        
1015                        ############################
1016                        ##
1017                        ## TestBinCmpRepository -  run poststarttest on Compressed BIN Repository
1018                        ##
1019                        ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY
1020 jim.wunderlich   1.34  TestBinCmpRepository: FORCE
1021 jim.wunderlich   1.33  	@ $(ECHO) TestBinCmpRepository +++++ Repository compressed by default - nothing more to test.
1022                        	@ $(ECHO) TestBinCmpRepository +++++ passed all test
1023                        else
1024                        
1025                        ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST
1026                        
1027 jim.wunderlich   1.34  TestBinCmpRepository: TestBinClean  TestCmpBuild TestBinBuildRepo TestBinRepo TestRegBuild
1028 jim.wunderlich   1.33  	@ $(ECHO) TestBinCmpRepository +++++ passed all test
1029                        else
1030 jim.wunderlich   1.34  TestBinCmpRepository: FORCE
1031 kumpf            1.101 	@ $(ECHO) TestBinCmpRepository +++++ Not tested
1032 jim.wunderlich   1.33  	@ $(ECHO) TestBinCmpRepository +++++ refer to readme.compressed_repository
1033 kumpf            1.101 	@ $(ECHO) TestBinCmpRepository +++++ to enable: set PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST=true
1034 jim.wunderlich   1.33  endif
1035                        endif
1036                        
1037                        
1038 jim.wunderlich   1.31  ###########################
1039                        ##
1040                        ## TestBinClean
1041                        ##
1042 jim.wunderlich   1.34  TestBinClean: FORCE
1043 kumpf            1.101 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1044 jim.wunderlich   1.31  	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryclean REPOSITORY_NAME=repository_bin
1045 jim.wunderlich   1.29  
1046 jim.wunderlich   1.31  
1047                        ###########################
1048 jim.wunderlich   1.29  ##
1049 jim.wunderlich   1.31  ## TestBinStartServer
1050 jim.wunderlich   1.29  ##
1051 jim.wunderlich   1.34  TestBinStartServer: FORCE
1052 jim.wunderlich   1.30  	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run
1053 jim.wunderlich   1.31  	- $(MKDIRHIER) $(PEGASUS_HOME)/repository_bin
1054                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableBinaryRepository=true repositoryDir=$(PEGASUS_HOME)/repository_bin"
1055 jim.wunderlich   1.29  	$(SLEEP) 5
1056 jim.wunderlich   1.31  
1057                        ###########################
1058 jim.wunderlich   1.29  ##
1059 jim.wunderlich   1.31  ## TestBinBuildRepo
1060 jim.wunderlich   1.29  ##
1061 jim.wunderlich   1.34  TestBinBuildRepo: FORCE
1062 jim.wunderlich   1.29  	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
1063                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
1064 jim.wunderlich   1.31  
1065                        
1066                        ###########################
1067                        ##
1068                        ## TestBinBuildRepoServ
1069                        ##
1070                        TestBinBuildRepoServ: TestBinStartServer
1071                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
1072                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
1073 kumpf            1.101 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1074 jim.wunderlich   1.31  
1075                        
1076                        ###########################
1077                        ##
1078                        ## TestBinRepo
1079                        ##
1080 kumpf            1.101 TestBinRepo: servertestsclean
1081 jim.wunderlich   1.35  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestBinStartServer
1082 jim.wunderlich   1.29  	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
1083 kumpf            1.101 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1084 jim.wunderlich   1.29  
1085                        
1086                        
1087 jim.wunderlich   1.34  
1088                        ############################
1089                        ##
1090                        ## TestCmpBuild - used to compile the repository for compression
1091                        ##
1092                        TestCmpBuild: FORCE
1093                        	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository clean
1094                        	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository depend PEGASUS_ENABLE_COMPRESSED_REPOSITORY=1
1095                        	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository PEGASUS_ENABLE_COMPRESSED_REPOSITORY=1
1096                        
1097                        
1098                        ############################
1099                        ##
1100                        ## TestRegBuild - used to compile the repository for no compression
1101                        ##
1102                        TestRegBuild: FORCE
1103                        	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository clean
1104 kumpf            1.101 	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository depend
1105                        	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository
1106 jim.wunderlich   1.34  
1107 nag.boranna      1.27  ###############################################################################
1108 kumpf            1.1   ##
1109                        ## Trace Configuration
1110                        ##
1111 jim.wunderlich   1.43  ## Options: see usagetrace rule
1112                        ##
1113                        ###############################################################################
1114                        
1115                        usagetrace: FORCE
1116                        	$(USAGE)
1117 jim.wunderlich   1.60  	$(USAGE)"TestMakefile Trace Commands: "
1118                        	$(USAGE)"  The cimserver must be running when using W=c which is the default for W"
1119 jim.wunderlich   1.43  	$(USAGE)
1120 jim.wunderlich   1.60  	$(USAGE)" traceon  W=[current/planned(c,p):   Enables all tracing."
1121                        	$(USAGE)" traceoff W=[current/planned(c,p):   Disables all tracing."
1122                        	$(USAGE)" tracesettings:                      Displays all trace settings."
1123                        	$(USAGE)" tracecomp:                          Displays a trace componenets list."
1124                        	$(USAGE)" traceon-CL C=[comp] L=[level(1,2,3,4)] W=[current/planned(c,p): "
1125                        	$(USAGE)"                           Enables tracing on component C at trace level L."
1126                        	$(USAGE)
1127 kumpf            1.101 	$(USAGE)" W defaults to c in the above commands where W can be specified"
1128 jim.wunderlich   1.43  	$(USAGE)
1129 jim.wunderlich   1.60  	$(USAGE)"  Usage examples:"
1130                        	$(USAGE)"   traceon       turns on trace in current server config"
1131                        	$(USAGE)"   traceon W=c   turns on trace in current server config"
1132                        	$(USAGE)"   traceon W=p   turns on trace in planned server config"
1133                        	$(USAGE)"   traceoff      turns on trace in current server config"
1134                        	$(USAGE)"   traceoff W=c  turns on trace in current server config"
1135                        	$(USAGE)"   traceoff W=p  turns on trace in planned server config"
1136                        	$(USAGE)
1137                        	$(USAGE)"   traceon-CL C=DiscardedData L=3 W=c"
1138                        	$(USAGE)"     Turns on trace for DiscardedData at level 3 in current server config"
1139                        	$(USAGE)"   traceon-CL C=DiscardedData L=3 W=p"
1140                        	$(USAGE)"     Turns on trace for DiscardedData at level 3 in planned server config"
1141 jim.wunderlich   1.43  	$(USAGE)
1142                        	$(USAGE)
1143                        
1144                        traceon: FORCE
1145 kumpf            1.101 	@ cimconfig -s traceComponents=ALL -$W
1146 jim.wunderlich   1.60  	@ cimconfig -s traceLevel=3 -$W
1147                        	$(MAKE) -f $(ROOT)/TestMakefile tracesettings
1148                        
1149 jim.wunderlich   1.43  
1150                        traceoff: FORCE
1151 jim.wunderlich   1.60  	@ cimconfig -s traceComponents=  -$W
1152                        	$(MAKE) -f $(ROOT)/TestMakefile tracesettings
1153 jim.wunderlich   1.43  
1154                        
1155                        tracesettings: FORCE
1156                        	@ $(ECHO) " "
1157 jim.wunderlich   1.60  	cimconfig -g traceComponents -c -p
1158 jim.wunderlich   1.43  	@ $(ECHO) " "
1159 jim.wunderlich   1.60  	cimconfig -g traceLevel -c -p
1160 jim.wunderlich   1.43  	@ $(ECHO) " "
1161 jim.wunderlich   1.60  	cimconfig -g traceFilePath -c -p
1162 jim.wunderlich   1.43  	@ $(ECHO) " "
1163                        
1164                        traceon-CL: FORCE
1165 jim.wunderlich   1.60  	@ cimconfig -s traceComponents=$C -$W
1166                        	@ cimconfig -s traceLevel=$L -$W
1167                        	$(MAKE) -f $(ROOT)/TestMakefile tracesettings
1168 jim.wunderlich   1.43  
1169                        tracecomp: FORCE
1170                        	$(USAGE)
1171                        	$(USAGE)"Trace component list:"
1172                        	$(USAGE)
1173                        	$(USAGE)"Channel"
1174                        	$(USAGE)"XmlParser"
1175                        	$(USAGE)"XmlWriter"
1176                        	$(USAGE)"XmlReader"
1177                        	$(USAGE)"XmlIO"
1178                        	$(USAGE)"Http"
1179                        	$(USAGE)"CimData"
1180                        	$(USAGE)"ProvManager"
1181                        	$(USAGE)"Repository"
1182                        	$(USAGE)"Dispatcher"
1183                        	$(USAGE)"OsAbstraction"
1184                        	$(USAGE)"Config"
1185                        	$(USAGE)"IndDelivery"
1186                        	$(USAGE)"IndHandler"
1187                        	$(USAGE)"Authentication"
1188                        	$(USAGE)"Authorization"
1189 jim.wunderlich   1.43  	$(USAGE)"UserManager"
1190                        	$(USAGE)"SubscriptionService"
1191                        	$(USAGE)"Registration"
1192                        	$(USAGE)"Shutdown"
1193                        	$(USAGE)"Server"
1194                        	$(USAGE)"IndicationService"
1195                        	$(USAGE)"IndicationServiceInternal"
1196                        	$(USAGE)"ConfigurationManager"
1197                        	$(USAGE)"MessageQueueService"
1198                        	$(USAGE)"ProviderManager"
1199                        	$(USAGE)"ObjectResolution"
1200                        	$(USAGE)"WQL"
1201                        	$(USAGE)"CQL"
1202                        	$(USAGE)"Thread"
1203                        	$(USAGE)"MetaDispatcher"
1204                        	$(USAGE)"IPC"
1205                        	$(USAGE)"IndicationHandlerService"
1206                        	$(USAGE)"CIMExportRequestDispatcher"
1207                        	$(USAGE)"Memory"
1208                        	$(USAGE)"SSL"
1209                        	$(USAGE)"ControlProvider"
1210 jim.wunderlich   1.43  	$(USAGE)"AsyncOpNode"
1211                        	$(USAGE)"CIMOMHandle"
1212                        	$(USAGE)"L10N"
1213                        	$(USAGE)"ExportClient"
1214                        	$(USAGE)"Listener"
1215                        	$(USAGE)"DiscardedData"
1216                        	$(USAGE)"ProviderAgent"
1217                        	$(USAGE)
1218                        
1219                        ###############################################################################
1220                        ##
1221                        ## Trace Configuration - Old rules being deprecated
1222                        ##
1223 kumpf            1.1   ## Options:
1224                        ##      XMLTraceOn: Enables XML request and response tracing.
1225                        ##      ProviderLoadTraceOn: Enables Provider load tracing.
1226                        ##      XML+ProviderLoadTraceOn: Enables both XML request/response and Provider
1227                        ##                                 load tracing.
1228                        ##      AllTraceOn: Enables all tracing.
1229                        ##      AllTraceOff: Disables all tracing.
1230                        ##      list: Lists trace settings.
1231                        ##
1232                        ###############################################################################
1233                        
1234                        XMLTraceOn:
1235                        	cimconfig -s traceComponents=XmlIO -c
1236                        	cimconfig -s traceLevel=3 -c
1237                        	cimconfig -g traceComponents
1238                        	cimconfig -g traceLevel
1239                        
1240                        ProviderLoadTraceOn:
1241                        	cimconfig -s traceComponents=ProvManager,OsAbstraction
1242                        	cimconfig -s traceLevel=3 -c
1243                        	cimconfig -g traceComponents
1244 kumpf            1.1   	cimconfig -g traceLevel
1245                        
1246                        XML+ProviderLoadTraceOn:
1247                        	cimconfig -s traceComponents=XmlIO,ProvManager,OsAbstraction
1248                        	cimconfig -s traceLevel=3 -c
1249                        	cimconfig -g traceComponents
1250                        	cimconfig -g traceLevel
1251                        
1252 jim.wunderlich   1.43  AllTraceOn: traceon
1253                        
1254                        AllTraceOff: traceoff
1255 kumpf            1.1   
1256 jim.wunderlich   1.43  list: tracesettings
1257 kumpf            1.1   
1258 jim.wunderlich   1.55  #########################################################################
1259                        # standardtests
1260                        #
1261                        # More testing options...
1262                        #
1263 kumpf            1.101 # The standard test seem to contain additional test that may not be able
1264 jim.wunderlich   1.55  # to run on all platforms so they have been grouped here for now rather than
1265                        # being included in the serversuite rule.
1266                        #
1267                        # The test are:
1268                        #      TestCimmof
1269                        #      TestNoSecurity
1270                        #      TestLocalSecurity
1271                        #      TestRemoteSecurity
1272                        #      TestAuthorization
1273                        #
1274                        # NOTE: The TestsNoSecurity test is comprised of DisableSecurity and
1275                        #       TestNoSecurity.
1276                        #
1277                        # NOTE: The TestNoSecurity step runs the servertests which builds the
1278                        #       the repository that is then left in place for the remaining tests.
1279                        #       The cimof test must be before the TestNosecurity step as it removes
1280                        #       the repository builds a new one with cimmofl and another one with
1281 kumpf            1.101 #       cimmof and then compares them.
1282 jim.wunderlich   1.55  #
1283 kumpf            1.101 # NOTE: The Authentication test is comprised of EnableAuthentication,
1284                        #       TestLocalSecurity and TestRemoteSecurity.
1285 jim.wunderlich   1.55  #
1286                        # NOTE: The Authorization test is comprised of EnableAuthorization and
1287 kumpf            1.101 #       TestAuthorization.
1288 jim.wunderlich   1.55  #
1289 kumpf            1.101 # NOTE: The EnableAuthentication and EnableAuthorization steps require
1290 jim.wunderlich   1.55  #       root access. Pegasus doesn't currently have the infrastructure
1291                        #       in place to run the server as root and run the test as non-root.
1292                        #       Rather than run everything, server, tests, providers, clients etc.
1293                        #       as root many testers prefer to run the tests as non-root. Setting
1294 kumpf            1.101 #       PEGASUS_DISABLE_PRIVILEGED_TESTS in the environment helps to
1295 jim.wunderlich   1.55  #       facilitate that.
1296                        #
1297 kumpf            1.1   
1298 jim.wunderlich   1.40  standardtests: FORCE
1299 kumpf            1.21  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i DisableSecurity
1300                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestCimmof
1301 kumpf            1.94  #	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestNoSecurity
1302                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository testrepository
1303 jim.wunderlich   1.55  ifndef PEGASUS_DISABLE_PRIVILEGED_TESTS
1304 kumpf            1.21  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile EnableAuthentication
1305                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestLocalSecurity
1306                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestRemoteSecurity
1307                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile EnableAuthorization
1308                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestAuthorization
1309 jim.wunderlich   1.53  else
1310 jim.wunderlich   1.55  	@ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping EnableAuthentication, TestLocalSecurity, and TestRemoteSecurity "
1311 jim.wunderlich   1.53  	@ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping EnableAuthorization and TestAuthorization "	
1312                        endif
1313 kumpf            1.94          # Reset the security options to the defaults
1314                        	cimconfig -u enableNamespaceAuthorization -p
1315                        	cimconfig -u enableAuthentication -p
1316 kumpf            1.93  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1317 jim.wunderlich   1.40  	@ $(ECHO) "+++++ TestMakefile standardtests complete"
1318 kumpf            1.1   
1319                        TestNoSecurity:
1320 jim.wunderlich   1.56  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile servertests
1321 kumpf            1.24  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
1322 kumpf            1.21  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
1323 kumpf            1.1   
1324                        TestLocalSecurity:
1325 kumpf            1.21  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
1326 kumpf            1.1   	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile poststarttests HOSTNAME= PORT= USER= PASSWORD= SECURITY_ENABLED=true
1327                        
1328                        TestRemoteSecurity:
1329 jim.wunderlich   1.59  	TestClient -user $(PEGASUS_TEST_USER_ID) -password $(PEGASUS_TEST_USER_PASS) $(system):5988
1330                        	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/static -f Makefile poststarttests HOSTNAME=-h$(system) USER=-u$(PEGASUS_TEST_USER_ID) PASSWORD=-w$(PEGASUS_TEST_USER_PASS) SECURITY_ENABLED=true
1331 kumpf            1.1   
1332                        TestAuthorization:
1333 jim.wunderlich   1.59  	TestPegClientDeleteNamespace -a -user $(PEGASUS_TEST_USER_ID) -password $(PEGASUS_TEST_USER_PASS)
1334 kumpf            1.21  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
1335 jim.wunderlich   1.59  	TestClient -user $(PEGASUS_TEST_USER_ID) -password $(PEGASUS_TEST_USER_PASS) $(system):5988
1336                        	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/static -f Makefile poststarttests HOSTNAME=-h$(system) USER=-u$(PEGASUS_TEST_USER_ID) PASSWORD=-w$(PEGASUS_TEST_USER_PASS) SECURITY_ENABLED=true
1337 kumpf            1.1   
1338                        TestSubscriptions:
1339 kumpf            1.21  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile DisableSecurity
1340 kumpf            1.1   	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository
1341                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository
1342 kumpf            1.21  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
1343 david.dillard    1.15  	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/cimv2/Subscription -f Makefile poststarttests
1344 kumpf            1.21  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimstop
1345 kumpf            1.1   
1346                        TestCimmof:
1347 kumpf            1.95          # Build the repository with cimmofl and cimmof and compare them.
1348                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1349                        	-@$(MOVE) $(REPOSITORY_DIR)/repository $(REPOSITORY_DIR)/repository-save
1350                        	@$(RMREPOSITORY) $(REPOSITORY_DIR)/repository-cimmofl
1351                        	@$(RMREPOSITORY) $(REPOSITORY_DIR)/repository-cimmof
1352                        	@$(ECHO) $(CIM_SCHEMA_DIR)
1353                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository
1354                        	@$(MOVE) $(REPOSITORY_DIR)/repository $(REPOSITORY_DIR)/repository-cimmofl
1355                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimstart
1356                        	@$(ECHO) $(CIM_SCHEMA_DIR)
1357                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer
1358                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimstop
1359                        	@$(MOVE) $(REPOSITORY_DIR)/repository $(REPOSITORY_DIR)/repository-cimmof
1360                        	-@$(MOVE) $(REPOSITORY_DIR)/repository-save $(REPOSITORY_DIR)/repository
1361                        	TestCompareRepositories $(REPOSITORY_DIR)/repository-cimmofl $(REPOSITORY_DIR)/repository-cimmof
1362                        	@$(RMREPOSITORY) $(REPOSITORY_DIR)/repository-cimmofl
1363                        	@$(RMREPOSITORY) $(REPOSITORY_DIR)/repository-cimmof
1364 kumpf            1.1   
1365                        RunTestClientLocal:
1366                        	TestClient -local
1367                        
1368                        DisableSecurity:
1369 kumpf            1.21  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1370 kumpf            1.1   	cimconfig -s enableAuthentication=false -p
1371                        	cimconfig -s enableNamespaceAuthorization=false -p
1372                        
1373 jim.wunderlich   1.61  EnableUsers:
1374                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1375                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
1376                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile ConfigureUsers
1377                        
1378 kumpf            1.1   EnableAuthentication:
1379 kumpf            1.21  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1380 kumpf            1.1   	cimconfig -s enableAuthentication=true -p
1381 kumpf            1.21  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
1382                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile ConfigureUsers
1383 kumpf            1.1   
1384                        EnableAuthorization:
1385 kumpf            1.21  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1386 kumpf            1.10  	cimconfig -s enableNamespaceAuthorization=true -p
1387 kumpf            1.21  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
1388                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i ConfigureAuthorizations
1389 kumpf            1.1   
1390                        EnableSSL:
1391 kumpf            1.21  	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1392                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithSSL
1393 kumpf            1.1   
1394 jim.wunderlich   1.61  #
1395                        # ConfigureUsers
1396                        #
1397                        # The server must be running prior to invoking this rule
1398                        #
1399 kumpf            1.1   ConfigureUsers:
1400                        ifndef PEGASUS_PAM_AUTHENTICATION
1401 jim.wunderlich   1.62  	-cimuser -l
1402 jim.wunderlich   1.61  	-cimuser -a -u $(PEGASUS_TEST_USER_ID) -w $(PEGASUS_TEST_USER_PASS)
1403 kumpf            1.1   endif
1404                        
1405 jim.wunderlich   1.61  #
1406                        # ConfigureAuthorizations rule
1407                        #
1408                        # The server must be running prior to invoking this rule
1409                        #
1410 kumpf            1.1   ConfigureAuthorizations:
1411 jim.wunderlich   1.59  	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test/cimv2 -R -W
1412                        	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/cimv2 -R -W
1413                        	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/PG_Internal -R -W
1414                        	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/PG_InterOp -R -W
1415                        	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/benchmark -R -W
1416                        	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/sampleprovider -R -W
1417                        	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test/static -R -W
1418                        	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/SampleProvider -R -W
1419                        	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root -R -W
1420 sushma.fernandes 1.80  	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/MCCAtest/A -R -W
1421                        	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/MCCAtest/B -R -W
1422 kumpf            1.65  	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test/TestProvider -R -W
1423 jim.wunderlich   1.59  	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1 -R -W
1424                        	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test2 -R -W
1425                        	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test3 -R -W
1426                        	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test4 -R -W
1427                        	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test5 -R -W
1428                        	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test6 -R -W
1429                        	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2 -R -W
1430                        	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2/test3 -R -W
1431                        	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2/test3/test4 -R -W
1432                        	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2/test3/test4/test5 -R -W
1433                        	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2/test3/test4/test5/test6 -R -W
1434 kumpf            1.82  ifeq ($(PEGASUS_ENABLE_PRIVILEGE_SEPARATION),true)
1435 kumpf            1.83  	cimauth -a -u $(PEGASUS_CIMSERVERMAIN_USER) -n root/cimv2 -R -W
1436 kumpf            1.82  endif
1437 kumpf            1.1   
1438 jim.wunderlich   1.41  startcimWithoutSSL: FORCE
1439                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart
1440 kumpf            1.19  	$(SLEEP) 5
1441 kumpf            1.1   
1442 jim.wunderlich   1.41  startcimWithSSL: FORCE
1443                        	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableHttpConnection=false enableHttpsConnection=true"
1444 kumpf            1.19  	$(SLEEP) 5
1445 j.alex           1.66  
1446 denise.eckstein  1.97  ###############################################################################
1447                        ##
1448                        ## check_for_cores - used to search for core files in the build environment.
1449                        ##
1450                        ## This option will search (1) each source directory, (2) the PEGASUS_CORE_DIR
1451                        ## if it is defined and (3) the PEGASUS_TMP directory.
1452                        ##
1453                        ###############################################################################
1454                        CORE_FILE_LIST = $(PEGASUS_HOME)/CoreFileList
1455                        
1456                        check_core_search_results:
1457                        ifneq ($(wildcard $(CORE_FILE_LIST)), )
1458                        	@$(ECHO) "*** One or more core files found. ***"
1459                        	@$(CAT) $(CORE_FILE_LIST)
1460                        	@exit 1
1461                        endif
1462                        
1463                        ifdef PEGASUS_CORE_DIR
1464                           CORE_FILES_IN_CORE_DIR = \
1465                               $(wildcard $(PEGASUS_CORE_DIR)/$(PLATFORM_CORE_PATTERN))
1466                        endif
1467 denise.eckstein  1.97  ifdef PEGASUS_TMP
1468                           CORE_FILES_IN_TMP_DIR = \
1469                               $(wildcard $(PEGASUS_TMP)/$(PLATFORM_CORE_PATTERN))
1470                        endif
1471                        
1472                        generate_core_file_list:
1473                        	@$(RM) $(CORE_FILE_LIST)
1474                        	@$(MAKE) -s directory=$(PEGASUS_ROOT) general OPTION=CORE_SEARCH \
1475 kumpf            1.101             CORE_FILE_LIST=$(CORE_FILE_LIST)
1476 denise.eckstein  1.97  ifdef PEGASUS_CORE_DIR
1477                           ifneq ($(CORE_FILES_IN_CORE_DIR), )
1478                        	@$(ECHO) $(CORE_FILES_IN_CORE_DIR) >> $(CORE_FILE_LIST)
1479                           endif
1480                        endif
1481                        ifdef PEGASUS_TMP
1482                           ifneq ($(CORE_FILES_IN_TMP_DIR), )
1483                        	@$(ECHO) $(CORE_FILES_IN_TMP_DIR) >> $(CORE_FILE_LIST)
1484                           endif
1485                        endif
1486                        
1487                        check_for_cores:
1488                        	@$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile \
1489 kumpf            1.101             generate_core_file_list
1490 denise.eckstein  1.97  	@$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile \
1491 kumpf            1.101             check_core_search_results
1492 kumpf            1.102 
1493                        ###############################################################################
1494                        ##
1495                        ## option_summary - used to generate a concise list of build options for use in
1496                        ## a nightly build status report.  This is not intended to be a complete list,
1497                        ## so it is likely that some options are omitted.  New options may be added
1498                        ## here as needs dictate.
1499                        ##
1500                        ###############################################################################
1501                        
1502                        OPTION_SUMMARY =
1503                        ifeq ($(PEGASUS_ENABLE_CMPI_PROVIDER_MANAGER),true)
1504                            OPTION_SUMMARY += "+CMPI"
1505                        endif
1506                        ifeq ($(PEGASUS_ENABLE_CQL),true)
1507                            OPTION_SUMMARY += "+CQL"
1508                        endif
1509                        ifeq ($(PEGASUS_HAS_ICU),true)
1510                            OPTION_SUMMARY += "+ICU"
1511                        endif
1512                        ifeq ($(PEGASUS_ENABLE_IPV6),true)
1513 kumpf            1.102     OPTION_SUMMARY += "+IPv6"
1514                        endif
1515                        ifeq ($(PEGASUS_ENABLE_JMPI_PROVIDER_MANAGER),true)
1516                            OPTION_SUMMARY += "+JMPI"
1517                        endif
1518                        ifeq ($(PEGASUS_ENABLE_PRIVILEGE_SEPARATION),true)
1519                            OPTION_SUMMARY += "+PrivSep"
1520                        endif
1521                        ifdef PEGASUS_ENABLE_EXECQUERY
1522                            OPTION_SUMMARY += "+Query"
1523                        endif
1524                        ifdef PEGASUS_ENABLE_REMOTE_CMPI
1525                            OPTION_SUMMARY += "+RCMPI"
1526                        endif
1527                        ifeq ($(PEGASUS_ENABLE_SLP),true)
1528                            OPTION_SUMMARY += "+SLP"
1529                        endif
1530                        ifeq ($(PEGASUS_USE_SQLITE_REPOSITORY),true)
1531                            OPTION_SUMMARY += "+SQLite"
1532                        endif
1533                        ifdef PEGASUS_HAS_SSL
1534 kumpf            1.102     OPTION_SUMMARY += "+SSL"
1535                        endif
1536                        ifeq ($(PEGASUS_ENABLE_PROTOCOL_WSMAN),true)
1537                            OPTION_SUMMARY += "+WSMan"
1538                        endif
1539                        
1540                        option_summary:
1541                        	@$(ECHO) "$(OPTION_SUMMARY)"

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2