(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 ashok.pathak     1.106.4.1 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_providerReregisterTests
 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 ashok.pathak     1.106.4.1 #############################################################################
 880                            #
 881                            # Provider reregistration tests.
 882                            #
 883                            ##############################################################################
 884                            run_providerReregisterTests:FORCE
 885                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
 886                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart
 887                            	$(MAKE) --directory $(PEGASUS_ROOT)/src/Providers/TestProviders/IndicationStressTestProvider/testclient -f Makefile createSubscriptions
 888                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
 889                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart
 890                            	$(MAKE) --directory $(PEGASUS_ROOT)/src/Providers/TestProviders/IndicationStressTestProvider/testclient -f Makefile reregister_providerTests
 891                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
 892 jim.wunderlich   1.34      ##############################################################################
 893                            ##
 894                            ## TestXMLRepository rule is used to run the poststarttests suite on
 895                            ## the XML Repository built using cimmofl
 896                            ##
 897                            ## TestXMLRepositoryServer rule is used to run the poststarttests suite on
 898                            ## the XML Repository built using cimmof
 899                            ##
 900 kumpf            1.101     ## TestXMLCmpRepository rule is used to run the poststarttest suite on
 901 jim.wunderlich   1.34      ## the XML Compressed Repository built using cimmofl
 902                            ##
 903                            
 904                            ############################
 905                            ##
 906                            ## TestXMLRepository
 907                            ##
 908                            
 909                            TestXMLRepository: TestXMLClean TestXMLBuildRepo  TestXMLRepo
 910                            	@ $(ECHO) TestXMLRepository +++++ passed all test
 911                            
 912                            ############################
 913                            ##
 914                            ## TestXMLRepositoryServer
 915                            ##
 916                            TestXMLRepositoryServer: TestXMLClean  TestXMLBuildRepoServ TestXMLRepo
 917                            	@ $(ECHO) TestXMLRepositoryServer +++++ passed all test
 918                            
 919                            ############################
 920                            ##
 921                            ## TestXMLCmpRepository -  run poststarttest on Compressed BIN Repository
 922 jim.wunderlich   1.34      ##
 923                            ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY
 924                            TestXMLCmpRepository: FORCE
 925                            	@ $(ECHO) TestXMLCmpRepository +++++ Repository compressed by default - nothing more to test.
 926                            	@ $(ECHO) TestXMLCmpRepository +++++ passed all test
 927                            else
 928                            
 929                            ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST
 930                            
 931                            TestXMLCmpRepository: TestXMLClean  TestCmpBuild TestXMLBuildRepo TestXMLRepo TestRegBuild
 932                            	@ $(ECHO) TestXMLCmpRepository +++++ passed all test
 933                            else
 934                            TestXMLCmpRepository: FORCE
 935 kumpf            1.101     	@ $(ECHO) TestXMLCmpRepository +++++ Not tested
 936 jim.wunderlich   1.34      	@ $(ECHO) TestXMLCmpRepository +++++ refer to readme.compressed_repository
 937 kumpf            1.101     	@ $(ECHO) TestXMLCmpRepository +++++ to enable: set PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST=true
 938 jim.wunderlich   1.34      endif
 939                            endif
 940                            
 941                            ###########################
 942                            ##
 943                            ## TestXMLClean
 944                            ##
 945                            TestXMLClean: FORCE
 946 kumpf            1.101     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
 947 jim.wunderlich   1.34      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryclean REPOSITORY_NAME=repository_xml
 948                            
 949                            
 950                            ###########################
 951                            ##
 952                            ## TestXMLStartServer
 953                            ##
 954                            TestXMLStartServer: FORCE
 955                            	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run
 956                            	- $(MKDIRHIER) $(PEGASUS_HOME)/repository_xml
 957                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="repositoryDir=$(PEGASUS_HOME)/repository_xml"
 958                            	$(SLEEP) 5
 959                            
 960                            ####
 961                            #### The following caused the cimserver to fail on startup
 962                            ####
 963                            ####	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableBinRepository=false repositoryDir=$(PEGASUS_HOME)/repository_xml"
 964                            
 965                            ###########################
 966                            ##
 967                            ## TestXMLBuildRepo
 968 jim.wunderlich   1.34      ##
 969                            TestXMLBuildRepo: FORCE
 970                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
 971                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
 972                            
 973                            
 974                            ###########################
 975                            ##
 976                            ## TestXMLBuildRepoServ
 977                            ##
 978                            TestXMLBuildRepoServ: TestXMLStartServer
 979                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
 980                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
 981 kumpf            1.101     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
 982 jim.wunderlich   1.34      
 983                            
 984                            ###########################
 985                            ##
 986                            ## TestXMLRepo
 987                            ##
 988 jim.wunderlich   1.40      TestXMLRepo: servertestsclean
 989 jim.wunderlich   1.35      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestXMLStartServer
 990 jim.wunderlich   1.34      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
 991 kumpf            1.101     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
 992 jim.wunderlich   1.34      
 993                            
 994                            
 995                            
 996                            
 997                            
 998 jim.wunderlich   1.29      ##############################################################################
 999                            ##
1000 jim.wunderlich   1.31      ## TestBinRepository rule is used to run the poststarttests suite on
1001 jim.wunderlich   1.33      ## the Binary Repository built using cimmofl
1002 jim.wunderlich   1.29      ##
1003 jim.wunderlich   1.31      ## TestBinRepositoryServer rule is used to run the poststarttests suite on
1004 jim.wunderlich   1.33      ## the Binary Repository built using cimmof
1005                            ##
1006 kumpf            1.101     ## TestBinCmpRepository rule is used to run the poststarttest suite on
1007 jim.wunderlich   1.33      ## the Binry Compressed Repository built using cimmofl
1008 jim.wunderlich   1.29      ##
1009 jim.wunderlich   1.31      
1010                            ############################
1011 jim.wunderlich   1.29      ##
1012 jim.wunderlich   1.31      ## TestBinRepository
1013 jim.wunderlich   1.29      ##
1014 jim.wunderlich   1.33      ### bug 3011 disabled Binary Repository testing on LINUX_IA64 to allow
1015                            ### the nightly tests to run
1016                            
1017 jim.wunderlich   1.31      TestBinRepository: TestBinClean TestBinBuildRepo  TestBinRepo
1018 jim.wunderlich   1.33      	@ $(ECHO) TestBinRepository +++++ passed all test
1019 jim.wunderlich   1.36      
1020 jim.wunderlich   1.29      
1021 jim.wunderlich   1.31      ############################
1022                            ##
1023                            ## TestBinRepositoryServer
1024                            ##
1025                            TestBinRepositoryServer: TestBinClean  TestBinBuildRepoServ TestBinRepo
1026 jim.wunderlich   1.33      	@ $(ECHO) TestBinRepositoryServer +++++ passed all test
1027                            
1028                            ############################
1029                            ##
1030                            ## TestBinCmpRepository -  run poststarttest on Compressed BIN Repository
1031                            ##
1032                            ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY
1033 jim.wunderlich   1.34      TestBinCmpRepository: FORCE
1034 jim.wunderlich   1.33      	@ $(ECHO) TestBinCmpRepository +++++ Repository compressed by default - nothing more to test.
1035                            	@ $(ECHO) TestBinCmpRepository +++++ passed all test
1036                            else
1037                            
1038                            ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST
1039                            
1040 jim.wunderlich   1.34      TestBinCmpRepository: TestBinClean  TestCmpBuild TestBinBuildRepo TestBinRepo TestRegBuild
1041 jim.wunderlich   1.33      	@ $(ECHO) TestBinCmpRepository +++++ passed all test
1042                            else
1043 jim.wunderlich   1.34      TestBinCmpRepository: FORCE
1044 kumpf            1.101     	@ $(ECHO) TestBinCmpRepository +++++ Not tested
1045 jim.wunderlich   1.33      	@ $(ECHO) TestBinCmpRepository +++++ refer to readme.compressed_repository
1046 kumpf            1.101     	@ $(ECHO) TestBinCmpRepository +++++ to enable: set PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST=true
1047 jim.wunderlich   1.33      endif
1048                            endif
1049                            
1050                            
1051 jim.wunderlich   1.31      ###########################
1052                            ##
1053                            ## TestBinClean
1054                            ##
1055 jim.wunderlich   1.34      TestBinClean: FORCE
1056 kumpf            1.101     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1057 jim.wunderlich   1.31      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryclean REPOSITORY_NAME=repository_bin
1058 jim.wunderlich   1.29      
1059 jim.wunderlich   1.31      
1060                            ###########################
1061 jim.wunderlich   1.29      ##
1062 jim.wunderlich   1.31      ## TestBinStartServer
1063 jim.wunderlich   1.29      ##
1064 jim.wunderlich   1.34      TestBinStartServer: FORCE
1065 jim.wunderlich   1.30      	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run
1066 jim.wunderlich   1.31      	- $(MKDIRHIER) $(PEGASUS_HOME)/repository_bin
1067                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableBinaryRepository=true repositoryDir=$(PEGASUS_HOME)/repository_bin"
1068 jim.wunderlich   1.29      	$(SLEEP) 5
1069 jim.wunderlich   1.31      
1070                            ###########################
1071 jim.wunderlich   1.29      ##
1072 jim.wunderlich   1.31      ## TestBinBuildRepo
1073 jim.wunderlich   1.29      ##
1074 jim.wunderlich   1.34      TestBinBuildRepo: FORCE
1075 jim.wunderlich   1.29      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
1076                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
1077 jim.wunderlich   1.31      
1078                            
1079                            ###########################
1080                            ##
1081                            ## TestBinBuildRepoServ
1082                            ##
1083                            TestBinBuildRepoServ: TestBinStartServer
1084                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
1085                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
1086 kumpf            1.101     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1087 jim.wunderlich   1.31      
1088                            
1089                            ###########################
1090                            ##
1091                            ## TestBinRepo
1092                            ##
1093 kumpf            1.101     TestBinRepo: servertestsclean
1094 jim.wunderlich   1.35      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestBinStartServer
1095 jim.wunderlich   1.29      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
1096 kumpf            1.101     	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1097 jim.wunderlich   1.29      
1098                            
1099                            
1100 jim.wunderlich   1.34      
1101                            ############################
1102                            ##
1103                            ## TestCmpBuild - used to compile the repository for compression
1104                            ##
1105                            TestCmpBuild: FORCE
1106                            	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository clean
1107                            	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository depend PEGASUS_ENABLE_COMPRESSED_REPOSITORY=1
1108                            	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository PEGASUS_ENABLE_COMPRESSED_REPOSITORY=1
1109                            
1110                            
1111                            ############################
1112                            ##
1113                            ## TestRegBuild - used to compile the repository for no compression
1114                            ##
1115                            TestRegBuild: FORCE
1116                            	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository clean
1117 kumpf            1.101     	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository depend
1118                            	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository
1119 jim.wunderlich   1.34      
1120 nag.boranna      1.27      ###############################################################################
1121 kumpf            1.1       ##
1122                            ## Trace Configuration
1123                            ##
1124 jim.wunderlich   1.43      ## Options: see usagetrace rule
1125                            ##
1126                            ###############################################################################
1127                            
1128                            usagetrace: FORCE
1129                            	$(USAGE)
1130 jim.wunderlich   1.60      	$(USAGE)"TestMakefile Trace Commands: "
1131                            	$(USAGE)"  The cimserver must be running when using W=c which is the default for W"
1132 jim.wunderlich   1.43      	$(USAGE)
1133 jim.wunderlich   1.60      	$(USAGE)" traceon  W=[current/planned(c,p):   Enables all tracing."
1134                            	$(USAGE)" traceoff W=[current/planned(c,p):   Disables all tracing."
1135                            	$(USAGE)" tracesettings:                      Displays all trace settings."
1136                            	$(USAGE)" tracecomp:                          Displays a trace componenets list."
1137                            	$(USAGE)" traceon-CL C=[comp] L=[level(1,2,3,4)] W=[current/planned(c,p): "
1138                            	$(USAGE)"                           Enables tracing on component C at trace level L."
1139                            	$(USAGE)
1140 kumpf            1.101     	$(USAGE)" W defaults to c in the above commands where W can be specified"
1141 jim.wunderlich   1.43      	$(USAGE)
1142 jim.wunderlich   1.60      	$(USAGE)"  Usage examples:"
1143                            	$(USAGE)"   traceon       turns on trace in current server config"
1144                            	$(USAGE)"   traceon W=c   turns on trace in current server config"
1145                            	$(USAGE)"   traceon W=p   turns on trace in planned server config"
1146                            	$(USAGE)"   traceoff      turns on trace in current server config"
1147                            	$(USAGE)"   traceoff W=c  turns on trace in current server config"
1148                            	$(USAGE)"   traceoff W=p  turns on trace in planned server config"
1149                            	$(USAGE)
1150                            	$(USAGE)"   traceon-CL C=DiscardedData L=3 W=c"
1151                            	$(USAGE)"     Turns on trace for DiscardedData at level 3 in current server config"
1152                            	$(USAGE)"   traceon-CL C=DiscardedData L=3 W=p"
1153                            	$(USAGE)"     Turns on trace for DiscardedData at level 3 in planned server config"
1154 jim.wunderlich   1.43      	$(USAGE)
1155                            	$(USAGE)
1156                            
1157                            traceon: FORCE
1158 kumpf            1.101     	@ cimconfig -s traceComponents=ALL -$W
1159 jim.wunderlich   1.60      	@ cimconfig -s traceLevel=3 -$W
1160                            	$(MAKE) -f $(ROOT)/TestMakefile tracesettings
1161                            
1162 jim.wunderlich   1.43      
1163                            traceoff: FORCE
1164 jim.wunderlich   1.60      	@ cimconfig -s traceComponents=  -$W
1165                            	$(MAKE) -f $(ROOT)/TestMakefile tracesettings
1166 jim.wunderlich   1.43      
1167                            
1168                            tracesettings: FORCE
1169                            	@ $(ECHO) " "
1170 jim.wunderlich   1.60      	cimconfig -g traceComponents -c -p
1171 jim.wunderlich   1.43      	@ $(ECHO) " "
1172 jim.wunderlich   1.60      	cimconfig -g traceLevel -c -p
1173 jim.wunderlich   1.43      	@ $(ECHO) " "
1174 jim.wunderlich   1.60      	cimconfig -g traceFilePath -c -p
1175 jim.wunderlich   1.43      	@ $(ECHO) " "
1176                            
1177                            traceon-CL: FORCE
1178 jim.wunderlich   1.60      	@ cimconfig -s traceComponents=$C -$W
1179                            	@ cimconfig -s traceLevel=$L -$W
1180                            	$(MAKE) -f $(ROOT)/TestMakefile tracesettings
1181 jim.wunderlich   1.43      
1182                            tracecomp: FORCE
1183                            	$(USAGE)
1184                            	$(USAGE)"Trace component list:"
1185                            	$(USAGE)
1186                            	$(USAGE)"Channel"
1187                            	$(USAGE)"XmlParser"
1188                            	$(USAGE)"XmlWriter"
1189                            	$(USAGE)"XmlReader"
1190                            	$(USAGE)"XmlIO"
1191                            	$(USAGE)"Http"
1192                            	$(USAGE)"CimData"
1193                            	$(USAGE)"ProvManager"
1194                            	$(USAGE)"Repository"
1195                            	$(USAGE)"Dispatcher"
1196                            	$(USAGE)"OsAbstraction"
1197                            	$(USAGE)"Config"
1198                            	$(USAGE)"IndDelivery"
1199                            	$(USAGE)"IndHandler"
1200                            	$(USAGE)"Authentication"
1201                            	$(USAGE)"Authorization"
1202 jim.wunderlich   1.43      	$(USAGE)"UserManager"
1203                            	$(USAGE)"SubscriptionService"
1204                            	$(USAGE)"Registration"
1205                            	$(USAGE)"Shutdown"
1206                            	$(USAGE)"Server"
1207                            	$(USAGE)"IndicationService"
1208                            	$(USAGE)"IndicationServiceInternal"
1209                            	$(USAGE)"ConfigurationManager"
1210                            	$(USAGE)"MessageQueueService"
1211                            	$(USAGE)"ProviderManager"
1212                            	$(USAGE)"ObjectResolution"
1213                            	$(USAGE)"WQL"
1214                            	$(USAGE)"CQL"
1215                            	$(USAGE)"Thread"
1216                            	$(USAGE)"MetaDispatcher"
1217                            	$(USAGE)"IPC"
1218                            	$(USAGE)"IndicationHandlerService"
1219                            	$(USAGE)"CIMExportRequestDispatcher"
1220                            	$(USAGE)"Memory"
1221                            	$(USAGE)"SSL"
1222                            	$(USAGE)"ControlProvider"
1223 jim.wunderlich   1.43      	$(USAGE)"AsyncOpNode"
1224                            	$(USAGE)"CIMOMHandle"
1225                            	$(USAGE)"L10N"
1226                            	$(USAGE)"ExportClient"
1227                            	$(USAGE)"Listener"
1228                            	$(USAGE)"DiscardedData"
1229                            	$(USAGE)"ProviderAgent"
1230                            	$(USAGE)
1231                            
1232                            ###############################################################################
1233                            ##
1234                            ## Trace Configuration - Old rules being deprecated
1235                            ##
1236 kumpf            1.1       ## Options:
1237                            ##      XMLTraceOn: Enables XML request and response tracing.
1238                            ##      ProviderLoadTraceOn: Enables Provider load tracing.
1239                            ##      XML+ProviderLoadTraceOn: Enables both XML request/response and Provider
1240                            ##                                 load tracing.
1241                            ##      AllTraceOn: Enables all tracing.
1242                            ##      AllTraceOff: Disables all tracing.
1243                            ##      list: Lists trace settings.
1244                            ##
1245                            ###############################################################################
1246                            
1247                            XMLTraceOn:
1248                            	cimconfig -s traceComponents=XmlIO -c
1249                            	cimconfig -s traceLevel=3 -c
1250                            	cimconfig -g traceComponents
1251                            	cimconfig -g traceLevel
1252                            
1253                            ProviderLoadTraceOn:
1254                            	cimconfig -s traceComponents=ProvManager,OsAbstraction
1255                            	cimconfig -s traceLevel=3 -c
1256                            	cimconfig -g traceComponents
1257 kumpf            1.1       	cimconfig -g traceLevel
1258                            
1259                            XML+ProviderLoadTraceOn:
1260                            	cimconfig -s traceComponents=XmlIO,ProvManager,OsAbstraction
1261                            	cimconfig -s traceLevel=3 -c
1262                            	cimconfig -g traceComponents
1263                            	cimconfig -g traceLevel
1264                            
1265 jim.wunderlich   1.43      AllTraceOn: traceon
1266                            
1267                            AllTraceOff: traceoff
1268 kumpf            1.1       
1269 jim.wunderlich   1.43      list: tracesettings
1270 kumpf            1.1       
1271 jim.wunderlich   1.55      #########################################################################
1272                            # standardtests
1273                            #
1274                            # More testing options...
1275                            #
1276 kumpf            1.101     # The standard test seem to contain additional test that may not be able
1277 jim.wunderlich   1.55      # to run on all platforms so they have been grouped here for now rather than
1278                            # being included in the serversuite rule.
1279                            #
1280                            # The test are:
1281                            #      TestCimmof
1282                            #      TestNoSecurity
1283                            #      TestLocalSecurity
1284                            #      TestRemoteSecurity
1285                            #      TestAuthorization
1286                            #
1287                            # NOTE: The TestsNoSecurity test is comprised of DisableSecurity and
1288                            #       TestNoSecurity.
1289                            #
1290                            # NOTE: The TestNoSecurity step runs the servertests which builds the
1291                            #       the repository that is then left in place for the remaining tests.
1292                            #       The cimof test must be before the TestNosecurity step as it removes
1293                            #       the repository builds a new one with cimmofl and another one with
1294 kumpf            1.101     #       cimmof and then compares them.
1295 jim.wunderlich   1.55      #
1296 kumpf            1.101     # NOTE: The Authentication test is comprised of EnableAuthentication,
1297                            #       TestLocalSecurity and TestRemoteSecurity.
1298 jim.wunderlich   1.55      #
1299                            # NOTE: The Authorization test is comprised of EnableAuthorization and
1300 kumpf            1.101     #       TestAuthorization.
1301 jim.wunderlich   1.55      #
1302 kumpf            1.101     # NOTE: The EnableAuthentication and EnableAuthorization steps require
1303 jim.wunderlich   1.55      #       root access. Pegasus doesn't currently have the infrastructure
1304                            #       in place to run the server as root and run the test as non-root.
1305                            #       Rather than run everything, server, tests, providers, clients etc.
1306                            #       as root many testers prefer to run the tests as non-root. Setting
1307 kumpf            1.101     #       PEGASUS_DISABLE_PRIVILEGED_TESTS in the environment helps to
1308 jim.wunderlich   1.55      #       facilitate that.
1309                            #
1310 kumpf            1.1       
1311 jim.wunderlich   1.40      standardtests: FORCE
1312 kumpf            1.21      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i DisableSecurity
1313                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestCimmof
1314 kumpf            1.94      #	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestNoSecurity
1315                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository testrepository
1316 jim.wunderlich   1.55      ifndef PEGASUS_DISABLE_PRIVILEGED_TESTS
1317 kumpf            1.21      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile EnableAuthentication
1318                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestLocalSecurity
1319                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestRemoteSecurity
1320                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile EnableAuthorization
1321                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestAuthorization
1322 jim.wunderlich   1.53      else
1323 jim.wunderlich   1.55      	@ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping EnableAuthentication, TestLocalSecurity, and TestRemoteSecurity "
1324 jim.wunderlich   1.53      	@ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping EnableAuthorization and TestAuthorization "	
1325                            endif
1326 kumpf            1.94              # Reset the security options to the defaults
1327                            	cimconfig -u enableNamespaceAuthorization -p
1328                            	cimconfig -u enableAuthentication -p
1329 kumpf            1.93      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1330 jim.wunderlich   1.40      	@ $(ECHO) "+++++ TestMakefile standardtests complete"
1331 kumpf            1.1       
1332                            TestNoSecurity:
1333 jim.wunderlich   1.56      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile servertests
1334 kumpf            1.24      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
1335 kumpf            1.21      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
1336 kumpf            1.1       
1337                            TestLocalSecurity:
1338 kumpf            1.21      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
1339 kumpf            1.1       	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile poststarttests HOSTNAME= PORT= USER= PASSWORD= SECURITY_ENABLED=true
1340                            
1341                            TestRemoteSecurity:
1342 jim.wunderlich   1.59      	TestClient -user $(PEGASUS_TEST_USER_ID) -password $(PEGASUS_TEST_USER_PASS) $(system):5988
1343                            	$(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
1344 kumpf            1.1       
1345                            TestAuthorization:
1346 jim.wunderlich   1.59      	TestPegClientDeleteNamespace -a -user $(PEGASUS_TEST_USER_ID) -password $(PEGASUS_TEST_USER_PASS)
1347 kumpf            1.21      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
1348 jim.wunderlich   1.59      	TestClient -user $(PEGASUS_TEST_USER_ID) -password $(PEGASUS_TEST_USER_PASS) $(system):5988
1349                            	$(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
1350 kumpf            1.1       
1351                            TestSubscriptions:
1352 kumpf            1.21      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile DisableSecurity
1353 kumpf            1.1       	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository
1354                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository
1355 kumpf            1.21      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
1356 david.dillard    1.15      	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/cimv2/Subscription -f Makefile poststarttests
1357 kumpf            1.21      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimstop
1358 kumpf            1.1       
1359                            TestCimmof:
1360 kumpf            1.95              # Build the repository with cimmofl and cimmof and compare them.
1361                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1362                            	-@$(MOVE) $(REPOSITORY_DIR)/repository $(REPOSITORY_DIR)/repository-save
1363                            	@$(RMREPOSITORY) $(REPOSITORY_DIR)/repository-cimmofl
1364                            	@$(RMREPOSITORY) $(REPOSITORY_DIR)/repository-cimmof
1365                            	@$(ECHO) $(CIM_SCHEMA_DIR)
1366                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository
1367                            	@$(MOVE) $(REPOSITORY_DIR)/repository $(REPOSITORY_DIR)/repository-cimmofl
1368                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimstart
1369                            	@$(ECHO) $(CIM_SCHEMA_DIR)
1370                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer
1371                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimstop
1372                            	@$(MOVE) $(REPOSITORY_DIR)/repository $(REPOSITORY_DIR)/repository-cimmof
1373                            	-@$(MOVE) $(REPOSITORY_DIR)/repository-save $(REPOSITORY_DIR)/repository
1374                            	TestCompareRepositories $(REPOSITORY_DIR)/repository-cimmofl $(REPOSITORY_DIR)/repository-cimmof
1375                            	@$(RMREPOSITORY) $(REPOSITORY_DIR)/repository-cimmofl
1376                            	@$(RMREPOSITORY) $(REPOSITORY_DIR)/repository-cimmof
1377 kumpf            1.1       
1378                            RunTestClientLocal:
1379                            	TestClient -local
1380                            
1381                            DisableSecurity:
1382 kumpf            1.21      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1383 kumpf            1.1       	cimconfig -s enableAuthentication=false -p
1384                            	cimconfig -s enableNamespaceAuthorization=false -p
1385                            
1386 jim.wunderlich   1.61      EnableUsers:
1387                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1388                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
1389                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile ConfigureUsers
1390                            
1391 kumpf            1.1       EnableAuthentication:
1392 kumpf            1.21      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1393 kumpf            1.1       	cimconfig -s enableAuthentication=true -p
1394 kumpf            1.21      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
1395                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile ConfigureUsers
1396 kumpf            1.1       
1397                            EnableAuthorization:
1398 kumpf            1.21      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1399 kumpf            1.10      	cimconfig -s enableNamespaceAuthorization=true -p
1400 kumpf            1.21      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
1401                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i ConfigureAuthorizations
1402 kumpf            1.1       
1403                            EnableSSL:
1404 kumpf            1.21      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1405                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithSSL
1406 kumpf            1.1       
1407 jim.wunderlich   1.61      #
1408                            # ConfigureUsers
1409                            #
1410                            # The server must be running prior to invoking this rule
1411                            #
1412 kumpf            1.1       ConfigureUsers:
1413                            ifndef PEGASUS_PAM_AUTHENTICATION
1414 jim.wunderlich   1.62      	-cimuser -l
1415 jim.wunderlich   1.61      	-cimuser -a -u $(PEGASUS_TEST_USER_ID) -w $(PEGASUS_TEST_USER_PASS)
1416 kumpf            1.1       endif
1417                            
1418 jim.wunderlich   1.61      #
1419                            # ConfigureAuthorizations rule
1420                            #
1421                            # The server must be running prior to invoking this rule
1422                            #
1423 kumpf            1.1       ConfigureAuthorizations:
1424 jim.wunderlich   1.59      	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test/cimv2 -R -W
1425                            	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/cimv2 -R -W
1426                            	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/PG_Internal -R -W
1427                            	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/PG_InterOp -R -W
1428                            	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/benchmark -R -W
1429                            	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/sampleprovider -R -W
1430                            	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test/static -R -W
1431                            	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/SampleProvider -R -W
1432                            	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root -R -W
1433 sushma.fernandes 1.80      	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/MCCAtest/A -R -W
1434                            	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/MCCAtest/B -R -W
1435 kumpf            1.65      	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test/TestProvider -R -W
1436 jim.wunderlich   1.59      	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1 -R -W
1437                            	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test2 -R -W
1438                            	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test3 -R -W
1439                            	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test4 -R -W
1440                            	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test5 -R -W
1441                            	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test6 -R -W
1442                            	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2 -R -W
1443                            	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2/test3 -R -W
1444                            	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2/test3/test4 -R -W
1445                            	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2/test3/test4/test5 -R -W
1446                            	cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2/test3/test4/test5/test6 -R -W
1447 kumpf            1.82      ifeq ($(PEGASUS_ENABLE_PRIVILEGE_SEPARATION),true)
1448 kumpf            1.83      	cimauth -a -u $(PEGASUS_CIMSERVERMAIN_USER) -n root/cimv2 -R -W
1449 kumpf            1.82      endif
1450 kumpf            1.1       
1451 jim.wunderlich   1.41      startcimWithoutSSL: FORCE
1452                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart
1453 kumpf            1.19      	$(SLEEP) 5
1454 kumpf            1.1       
1455 jim.wunderlich   1.41      startcimWithSSL: FORCE
1456                            	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableHttpConnection=false enableHttpsConnection=true"
1457 kumpf            1.19      	$(SLEEP) 5
1458 j.alex           1.66      
1459 denise.eckstein  1.97      ###############################################################################
1460                            ##
1461                            ## check_for_cores - used to search for core files in the build environment.
1462                            ##
1463                            ## This option will search (1) each source directory, (2) the PEGASUS_CORE_DIR
1464                            ## if it is defined and (3) the PEGASUS_TMP directory.
1465                            ##
1466                            ###############################################################################
1467                            CORE_FILE_LIST = $(PEGASUS_HOME)/CoreFileList
1468                            
1469                            check_core_search_results:
1470                            ifneq ($(wildcard $(CORE_FILE_LIST)), )
1471                            	@$(ECHO) "*** One or more core files found. ***"
1472                            	@$(CAT) $(CORE_FILE_LIST)
1473                            	@exit 1
1474                            endif
1475                            
1476                            ifdef PEGASUS_CORE_DIR
1477                               CORE_FILES_IN_CORE_DIR = \
1478                                   $(wildcard $(PEGASUS_CORE_DIR)/$(PLATFORM_CORE_PATTERN))
1479                            endif
1480 denise.eckstein  1.97      ifdef PEGASUS_TMP
1481                               CORE_FILES_IN_TMP_DIR = \
1482                                   $(wildcard $(PEGASUS_TMP)/$(PLATFORM_CORE_PATTERN))
1483                            endif
1484                            
1485                            generate_core_file_list:
1486                            	@$(RM) $(CORE_FILE_LIST)
1487                            	@$(MAKE) -s directory=$(PEGASUS_ROOT) general OPTION=CORE_SEARCH \
1488 kumpf            1.101                 CORE_FILE_LIST=$(CORE_FILE_LIST)
1489 denise.eckstein  1.97      ifdef PEGASUS_CORE_DIR
1490                               ifneq ($(CORE_FILES_IN_CORE_DIR), )
1491                            	@$(ECHO) $(CORE_FILES_IN_CORE_DIR) >> $(CORE_FILE_LIST)
1492                               endif
1493                            endif
1494                            ifdef PEGASUS_TMP
1495                               ifneq ($(CORE_FILES_IN_TMP_DIR), )
1496                            	@$(ECHO) $(CORE_FILES_IN_TMP_DIR) >> $(CORE_FILE_LIST)
1497                               endif
1498                            endif
1499                            
1500                            check_for_cores:
1501                            	@$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile \
1502 kumpf            1.101                 generate_core_file_list
1503 denise.eckstein  1.97      	@$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile \
1504 kumpf            1.101                 check_core_search_results
1505 kumpf            1.102     
1506                            ###############################################################################
1507                            ##
1508                            ## option_summary - used to generate a concise list of build options for use in
1509                            ## a nightly build status report.  This is not intended to be a complete list,
1510                            ## so it is likely that some options are omitted.  New options may be added
1511                            ## here as needs dictate.
1512                            ##
1513                            ###############################################################################
1514                            
1515                            OPTION_SUMMARY =
1516                            ifeq ($(PEGASUS_ENABLE_CMPI_PROVIDER_MANAGER),true)
1517                                OPTION_SUMMARY += "+CMPI"
1518                            endif
1519                            ifeq ($(PEGASUS_ENABLE_CQL),true)
1520                                OPTION_SUMMARY += "+CQL"
1521                            endif
1522                            ifeq ($(PEGASUS_HAS_ICU),true)
1523                                OPTION_SUMMARY += "+ICU"
1524                            endif
1525                            ifeq ($(PEGASUS_ENABLE_IPV6),true)
1526 kumpf            1.102         OPTION_SUMMARY += "+IPv6"
1527                            endif
1528                            ifeq ($(PEGASUS_ENABLE_JMPI_PROVIDER_MANAGER),true)
1529                                OPTION_SUMMARY += "+JMPI"
1530                            endif
1531                            ifeq ($(PEGASUS_ENABLE_PRIVILEGE_SEPARATION),true)
1532                                OPTION_SUMMARY += "+PrivSep"
1533                            endif
1534                            ifdef PEGASUS_ENABLE_EXECQUERY
1535                                OPTION_SUMMARY += "+Query"
1536                            endif
1537                            ifdef PEGASUS_ENABLE_REMOTE_CMPI
1538                                OPTION_SUMMARY += "+RCMPI"
1539                            endif
1540                            ifeq ($(PEGASUS_ENABLE_SLP),true)
1541                                OPTION_SUMMARY += "+SLP"
1542                            endif
1543                            ifeq ($(PEGASUS_USE_SQLITE_REPOSITORY),true)
1544                                OPTION_SUMMARY += "+SQLite"
1545                            endif
1546                            ifdef PEGASUS_HAS_SSL
1547 kumpf            1.102         OPTION_SUMMARY += "+SSL"
1548                            endif
1549                            ifeq ($(PEGASUS_ENABLE_PROTOCOL_WSMAN),true)
1550                                OPTION_SUMMARY += "+WSMan"
1551                            endif
1552                            
1553                            option_summary:
1554                            	@$(ECHO) "$(OPTION_SUMMARY)"

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2