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

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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2