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

  1 martin 1.32 #//%2005////////////////////////////////////////////////////////////////////////
  2             #//
  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             #//
 12             #// Permission is hereby granted, free of charge, to any person obtaining a copy
 13             #// of this software and associated documentation files (the "Software"), to
 14             #// deal in the Software without restriction, including without limitation the
 15             #// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 16             #// sell copies of the Software, and to permit persons to whom the Software is
 17             #// furnished to do so, subject to the following conditions:
 18             #// 
 19             #// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
 20             #// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
 21             #// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
 22 martin 1.32 #// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
 23             #// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 24             #// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 25             #// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 26             #// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 27             #//
 28             #//==============================================================================
 29 kumpf  1.1  ###############################################################################
 30             ##
 31             ## Test Makefile for Pegasus CIMOM
 32             ##
 33             ## Options:
 34             ##      rebuild            - Rebuild
 35 david.dillard 1.15 ##      build              - Build
 36 kumpf         1.1  ##      prestarttests      - Execute functional tests
 37                    ##      poststarttests     - Execute poststarttests (No security, No SSL)
 38                    ##      tests              - Execute prestarttests and poststarttests
 39                    ##      standardtests      - Execute poststartests and a series of
 40                    ##                           posstarttests using multiple options.
 41 david.dillard 1.15 ##
 42 jim.wunderlich 1.34 #####################
 43                     ##
 44                     ## The following are all standalone tests. That is the can be invoked 
 45                     ## without any prerequisite dependencies. They stop and start the server as
 46                     ## needed. They clean and rebuild the repository as needed and then run the 
 47                     ## poststarttests.
 48                     ##
 49                     ##	TestXMLRepository  - Executes poststartests on binary repository 
 50                     ##				built with cimmofl.
 51                     ##
 52                     ##	TestXMLRepositoryServer - Executes poststartests on binary repository 
 53                     ##				built with cimmof.
 54                     ##
 55                     ##	TestXMLCmpRepository - Executes poststartests on binary compressed 
 56                     ##				repository built with cimmofl.	
 57                     ##
 58                     ##
 59                     ##	TestBinRepository  - Executes poststartests on binary repository 
 60                     ##				built with cimmofl.
 61                     ##
 62                     ##	TestBinRepositoryServer - Executes poststartests on binary repository 
 63 jim.wunderlich 1.34 ##				built with cimmof.
 64                     ##
 65                     ##	TestBinCmpRepository - Executes poststartests on binary compressed 
 66                     ##				repository built with cimmofl.	
 67                     ##
 68                     ##
 69 kumpf          1.1  ###############################################################################
 70                     
 71 david.dillard  1.15 error:
 72                     	@ $(ECHO) "Specify desired makefile option (i.e., build, rebuild)"
 73 kumpf          1.1  
 74 kumpf          1.23 include $(PEGASUS_ROOT)/mak/config.mak
 75                     include $(PEGASUS_ROOT)/mak/test.mak
 76                     include $(PEGASUS_ROOT)/mak/commands.mak
 77                     
 78                     system = localhost
 79                     
 80                     TESTS = prestarttests poststarttests
 81                     
 82 jim.wunderlich 1.34 .PHONY: FORCE
 83                     
 84                     FORCE:
 85                     
 86 kumpf          1.25 rebuild: clean all tests
 87 kumpf          1.21 
 88 kumpf          1.25 build: all tests
 89 kumpf          1.21 
 90                     clean:
 91                     	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile clean
 92                     
 93 kumpf          1.1  buildmu:
 94 mday           1.6  	$(MAKE) --directory=$(PEGASUS_ROOT)/src/utils/mu -f Makefile
 95 kumpf          1.19 	$(MKDIRHIER) $(BIN_DIR)
 96 kumpf          1.1  
 97                     all: buildmu
 98 kumpf          1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile depend
 99                     	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile all
100 kumpf          1.1  
101                     doc:
102 mday           1.6  	$(MAKE) --directory=$(PEGASUS_ROOT)/doc/ProviderSpec -f Makefile
103                     	$(MAKE) --directory=$(PEGASUS_ROOT)/doc/DevManual -f Makefile
104 kumpf          1.1  
105 david.dillard  1.15 repositoryServer:
106 kumpf          1.22 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
107 kumpf          1.19 	$(SLEEP) 5
108 kumpf          1.1  	$(RMDIRHIER) $(REPOSITORY_ROOT)
109                     	$(CIMSERVER_START_SERVICE)
110 kumpf          1.19 	$(SLEEP) 5
111 kumpf          1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer
112                     	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer
113 mday           1.6  
114 david.dillard  1.15 prestarttests:
115 kumpf          1.22 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
116 kumpf          1.19 	$(SLEEP) 5
117 kumpf          1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository
118                     	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository
119                     	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile tests
120 kumpf          1.14 	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run
121 nag.boranna    1.27 	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Clients/ssltrustmgr/tests -f Makefile test_setup
122 kumpf          1.1  
123 jim.wunderlich 1.31 poststarttestsclean:
124 lucier         1.17 	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/CQL/tests/Queries -f Makefile clean
125                     	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/Query/QueryExpression/tests/Queries -f Makefile clean
126 mday           1.6  	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile clean
127 jim.wunderlich 1.31 
128                     poststarttests: poststarttestsclean
129 kumpf          1.1  	$(CIMSERVER_START_SERVICE)
130 kumpf          1.19 	$(SLEEP) 5
131 kumpf          1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests
132 jim.wunderlich 1.33 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestBinRepository
133 kumpf          1.20 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_OOP_TS1
134 carolann.graves 1.28 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_IndInit_TS1
135 kumpf           1.1  
136                      tests: $(TESTS)
137 tony            1.5  ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
138 kumpf           1.22 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
139 mday            1.6  	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile uninstall
140 tony            1.5  endif
141 david.dillard   1.15 	@ $(ECHO) Finished Tests
142 kumpf           1.1  
143                      ###############################################################################
144 denise.eckstein 1.18 ##  Test Suite Definitions
145                      ###############################################################################
146                      
147                      ###############################################################################
148                      ##  OOP Test Suite 1: "Out-of-Process"(OOP) Provider Tests 
149                      ##
150                      ##  Configuration Options: forceProviderProcesses=true
151                      ##
152                      ###############################################################################
153                      OOP_TS1_CONFIG_OPTIONS = forceProviderProcesses=true
154                      OOP_TS1_TEST_CMDS = \
155                              TestClient
156                      
157                      run_OOP_TS1:
158 denise.eckstein 1.26 	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
159 denise.eckstein 1.18             CIMSERVER_CONFIG_OPTIONS="$(OOP_TS1_CONFIG_OPTIONS)" \
160                                  TESTSUITE_CMDS="$(OOP_TS1_TEST_CMDS)"
161                      ###############################################################################
162                      
163                      ###############################################################################
164 carolann.graves 1.28 ##  IndInit Test Suite 1: IndicationService Initialization Tests 
165                      ##
166                      ##  Configuration Options: (none)
167                      ##
168                      ###############################################################################
169                      IndInit_TS1_CONFIG_OPTIONS = 
170                      IndInit_TS1a_TEST_CMDS = \
171                      	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Pegasus/IndicationService/tests/ProcessIndication@@IndInit_TS1a
172                      IndInit_TS1b_TEST_CMDS = \
173                      	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Pegasus/IndicationService/tests/ProcessIndication@@IndInit_TS1b
174                      
175                      run_IndInit_TS1:
176                      	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
177                                  CIMSERVER_CONFIG_OPTIONS="$(IndInit_TS1_CONFIG_OPTIONS)" \
178                                  TESTSUITE_CMDS="$(IndInit_TS1a_TEST_CMDS)"
179                      	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
180                                  CIMSERVER_CONFIG_OPTIONS="$(IndInit_TS1_CONFIG_OPTIONS)" \
181                                  TESTSUITE_CMDS="$(IndInit_TS1b_TEST_CMDS)"
182                      
183                      ###############################################################################
184 nag.boranna     1.27 ##  SSL Test Suite 1: SSL Tests
185                      ##
186                      ##  Configuration Options: enableAuthentication=true
187                      ##                         enableHttpsConnection=true
188                      ##                         sslClientVerificationMode=optional
189                      ##                         sslTrustStoreUserName=$(CURRENT_USER)
190                      ##
191                      ###############################################################################
192                      SSL_TS1_CONFIG_OPTIONS = enableHttpsConnection=true enableAuthentication=true \
193                             sslClientVerificationMode=optional sslTrustStoreUserName=$(CURRENT_USER)
194                      SSL_TS1_TEST_CMDS = \
195                             $(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Clients/ssltrustmgr/tests@@SSLCertificateTest1
196                      
197                      run_SSL_TS1:
198                      	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
199                                  CIMSERVER_CONFIG_OPTIONS="$(SSL_TS1_CONFIG_OPTIONS)" \
200                                  TESTSUITE_CMDS="$(SSL_TS1_TEST_CMDS)"
201                      ###############################################################################
202                      
203 jim.wunderlich  1.34 
204                      
205                      ##############################################################################
206                      ##
207                      ## TestXMLRepository rule is used to run the poststarttests suite on
208                      ## the XML Repository built using cimmofl
209                      ##
210                      ## TestXMLRepositoryServer rule is used to run the poststarttests suite on
211                      ## the XML Repository built using cimmof
212                      ##
213                      ## TestXMLCmpRepository rule is used to run the poststarttest suite on 
214                      ## the XML Compressed Repository built using cimmofl
215                      ##
216                      
217                      ############################
218                      ##
219                      ## TestXMLRepository
220                      ##
221                      
222                      TestXMLRepository: TestXMLClean TestXMLBuildRepo  TestXMLRepo
223                      	@ $(ECHO) TestXMLRepository +++++ passed all test
224 jim.wunderlich  1.34 
225                      ############################
226                      ##
227                      ## TestXMLRepositoryServer
228                      ##
229                      TestXMLRepositoryServer: TestXMLClean  TestXMLBuildRepoServ TestXMLRepo
230                      	@ $(ECHO) TestXMLRepositoryServer +++++ passed all test
231                      
232                      ############################
233                      ##
234                      ## TestXMLCmpRepository -  run poststarttest on Compressed BIN Repository
235                      ##
236                      ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY
237                      TestXMLCmpRepository: FORCE
238                      	@ $(ECHO) TestXMLCmpRepository +++++ Repository compressed by default - nothing more to test.
239                      	@ $(ECHO) TestXMLCmpRepository +++++ passed all test
240                      else
241                      
242                      ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST
243                      
244                      TestXMLCmpRepository: TestXMLClean  TestCmpBuild TestXMLBuildRepo TestXMLRepo TestRegBuild
245 jim.wunderlich  1.34 	@ $(ECHO) TestXMLCmpRepository +++++ passed all test
246                      else
247                      TestXMLCmpRepository: FORCE
248                      	@ $(ECHO) TestXMLCmpRepository +++++ Not tested 
249                      	@ $(ECHO) TestXMLCmpRepository +++++ refer to readme.compressed_repository
250                      	@ $(ECHO) TestXMLCmpRepository +++++ to enable: set PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST=true 
251                      endif
252                      endif
253                      
254                      ###########################
255                      ##
256                      ## TestXMLClean
257                      ##
258                      TestXMLClean: FORCE
259                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
260                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryclean REPOSITORY_NAME=repository_xml
261                      
262                      
263                      ###########################
264                      ##
265                      ## TestXMLStartServer
266 jim.wunderlich  1.34 ##
267                      TestXMLStartServer: FORCE
268                      	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run
269                      	- $(MKDIRHIER) $(PEGASUS_HOME)/repository_xml
270                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="repositoryDir=$(PEGASUS_HOME)/repository_xml"
271                      	$(SLEEP) 5
272                      
273                      ####
274                      #### The following caused the cimserver to fail on startup
275                      ####
276                      ####	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableBinRepository=false repositoryDir=$(PEGASUS_HOME)/repository_xml"
277                      
278                      ###########################
279                      ##
280                      ## TestXMLBuildRepo
281                      ##
282                      TestXMLBuildRepo: FORCE
283                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
284                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
285                      
286                      
287 jim.wunderlich  1.34 ###########################
288                      ##
289                      ## TestXMLBuildRepoServ
290                      ##
291                      TestXMLBuildRepoServ: TestXMLStartServer
292                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
293                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
294                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
295                      
296                      
297                      ###########################
298                      ##
299                      ## TestXMLRepo
300                      ##
301 jim.wunderlich  1.35 TestXMLRepo: poststarttestsclean
302                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestXMLStartServer
303 jim.wunderlich  1.34 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
304                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
305                      
306                      
307                      
308                      
309                      
310                      
311 jim.wunderlich  1.29 ##############################################################################
312                      ##
313 jim.wunderlich  1.31 ## TestBinRepository rule is used to run the poststarttests suite on
314 jim.wunderlich  1.33 ## the Binary Repository built using cimmofl
315 jim.wunderlich  1.29 ##
316 jim.wunderlich  1.31 ## TestBinRepositoryServer rule is used to run the poststarttests suite on
317 jim.wunderlich  1.33 ## the Binary Repository built using cimmof
318                      ##
319                      ## TestBinCmpRepository rule is used to run the poststarttest suite on 
320                      ## the Binry Compressed Repository built using cimmofl
321 jim.wunderlich  1.29 ##
322 jim.wunderlich  1.31 
323                      ############################
324 jim.wunderlich  1.29 ##
325 jim.wunderlich  1.31 ## TestBinRepository
326 jim.wunderlich  1.29 ##
327 jim.wunderlich  1.33 ### bug 3011 disabled Binary Repository testing on LINUX_IA64 to allow
328                      ### the nightly tests to run
329                      
330 jim.wunderlich  1.31 TestBinRepository: TestBinClean TestBinBuildRepo  TestBinRepo
331 jim.wunderlich  1.33 	@ $(ECHO) TestBinRepository +++++ passed all test
332 jim.wunderlich  1.36 
333 jim.wunderlich  1.29 
334 jim.wunderlich  1.31 ############################
335                      ##
336                      ## TestBinRepositoryServer
337                      ##
338                      TestBinRepositoryServer: TestBinClean  TestBinBuildRepoServ TestBinRepo
339 jim.wunderlich  1.33 	@ $(ECHO) TestBinRepositoryServer +++++ passed all test
340                      
341                      ############################
342                      ##
343                      ## TestBinCmpRepository -  run poststarttest on Compressed BIN Repository
344                      ##
345                      ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY
346 jim.wunderlich  1.34 TestBinCmpRepository: FORCE
347 jim.wunderlich  1.33 	@ $(ECHO) TestBinCmpRepository +++++ Repository compressed by default - nothing more to test.
348                      	@ $(ECHO) TestBinCmpRepository +++++ passed all test
349                      else
350                      
351                      ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST
352                      
353 jim.wunderlich  1.34 TestBinCmpRepository: TestBinClean  TestCmpBuild TestBinBuildRepo TestBinRepo TestRegBuild
354 jim.wunderlich  1.33 	@ $(ECHO) TestBinCmpRepository +++++ passed all test
355                      else
356 jim.wunderlich  1.34 TestBinCmpRepository: FORCE
357 jim.wunderlich  1.33 	@ $(ECHO) TestBinCmpRepository +++++ Not tested 
358                      	@ $(ECHO) TestBinCmpRepository +++++ refer to readme.compressed_repository
359                      	@ $(ECHO) TestBinCmpRepository +++++ to enable: set PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST=true 
360                      endif
361                      endif
362                      
363                      
364 jim.wunderlich  1.31 ###########################
365                      ##
366                      ## TestBinClean
367                      ##
368 jim.wunderlich  1.34 TestBinClean: FORCE
369 jim.wunderlich  1.31 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
370                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryclean REPOSITORY_NAME=repository_bin
371 jim.wunderlich  1.29 
372 jim.wunderlich  1.31 
373                      ###########################
374 jim.wunderlich  1.29 ##
375 jim.wunderlich  1.31 ## TestBinStartServer
376 jim.wunderlich  1.29 ##
377 jim.wunderlich  1.34 TestBinStartServer: FORCE
378 jim.wunderlich  1.30 	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run
379 jim.wunderlich  1.31 	- $(MKDIRHIER) $(PEGASUS_HOME)/repository_bin
380                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableBinaryRepository=true repositoryDir=$(PEGASUS_HOME)/repository_bin"
381 jim.wunderlich  1.29 	$(SLEEP) 5
382 jim.wunderlich  1.31 
383                      ###########################
384 jim.wunderlich  1.29 ##
385 jim.wunderlich  1.31 ## TestBinBuildRepo
386 jim.wunderlich  1.29 ##
387 jim.wunderlich  1.34 TestBinBuildRepo: FORCE
388 jim.wunderlich  1.29 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
389                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
390 jim.wunderlich  1.31 
391                      
392                      ###########################
393                      ##
394                      ## TestBinBuildRepoServ
395                      ##
396                      TestBinBuildRepoServ: TestBinStartServer
397                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
398                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
399                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
400                      
401                      
402                      ###########################
403                      ##
404                      ## TestBinRepo
405                      ##
406 jim.wunderlich  1.35 TestBinRepo: poststarttestsclean 
407                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestBinStartServer
408 jim.wunderlich  1.29 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
409 jim.wunderlich  1.31 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
410 jim.wunderlich  1.29 
411                      
412                      
413 jim.wunderlich  1.34 
414                      ############################
415                      ##
416                      ## TestCmpBuild - used to compile the repository for compression
417                      ##
418                      TestCmpBuild: FORCE
419                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository clean
420                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository depend PEGASUS_ENABLE_COMPRESSED_REPOSITORY=1
421                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository PEGASUS_ENABLE_COMPRESSED_REPOSITORY=1
422                      
423                      
424                      ############################
425                      ##
426                      ## TestRegBuild - used to compile the repository for no compression
427                      ##
428                      TestRegBuild: FORCE
429                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository clean
430                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository depend 
431                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository 
432                      
433                      
434 nag.boranna     1.27 ###############################################################################
435 kumpf           1.1  ##
436                      ## Trace Configuration
437                      ##
438                      ## Options:
439                      ##      XMLTraceOn: Enables XML request and response tracing.
440                      ##      ProviderLoadTraceOn: Enables Provider load tracing.
441                      ##      XML+ProviderLoadTraceOn: Enables both XML request/response and Provider
442                      ##                                 load tracing.
443                      ##      AllTraceOn: Enables all tracing.
444                      ##      AllTraceOff: Disables all tracing.
445                      ##      list: Lists trace settings.
446                      ##
447                      ###############################################################################
448                      
449                      XMLTraceOn:
450                      	cimconfig -s traceComponents=XmlIO -c
451                      	cimconfig -s traceLevel=3 -c
452                      	cimconfig -g traceComponents
453                      	cimconfig -g traceLevel
454                      
455                      ProviderLoadTraceOn:
456 kumpf           1.1  	cimconfig -s traceComponents=ProvManager,OsAbstraction
457                      	cimconfig -s traceLevel=3 -c
458                      	cimconfig -g traceComponents
459                      	cimconfig -g traceLevel
460                      
461                      XML+ProviderLoadTraceOn:
462                      	cimconfig -s traceComponents=XmlIO,ProvManager,OsAbstraction
463                      	cimconfig -s traceLevel=3 -c
464                      	cimconfig -g traceComponents
465                      	cimconfig -g traceLevel
466                      
467                      AllTraceOn:
468                      	cimconfig -s traceComponents=ALL
469                      	cimconfig -s traceLevel=3 -c
470                      	cimconfig -g traceComponents
471                      	cimconfig -g traceLevel
472                      
473                      AllTraceOff:
474                      	cimconfig -s traceComponents=
475                      	cimconfig -g traceComponents
476                      	cimconfig -g traceLevel
477 kumpf           1.1  
478                      list:
479                      	cimconfig -g traceComponents
480                      	cimconfig -g traceLevel
481                      	cimconfig -g traceFilePath
482                      
483 kumpf           1.21 # More options...
484 kumpf           1.1  
485 david.dillard   1.15 standardtests:
486 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i DisableSecurity
487                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestCimmof
488                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestNoSecurity
489                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile EnableAuthentication
490                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestLocalSecurity
491                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestRemoteSecurity
492                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile EnableAuthorization
493                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestAuthorization
494 kumpf           1.1  
495                      TestNoSecurity:
496                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile tests
497 kumpf           1.24 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
498 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
499 kumpf           1.1  
500                      TestLocalSecurity:
501 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
502 kumpf           1.1  	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile poststarttests HOSTNAME= PORT= USER= PASSWORD= SECURITY_ENABLED=true
503                      
504                      TestRemoteSecurity:
505                      	TestClient -user guest -password guest $(system):5988
506                      	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/static -f Makefile poststarttests HOSTNAME=-h$(system) USER=-uguest PASSWORD=-wguest SECURITY_ENABLED=true
507                      
508                      TestAuthorization:
509 kumpf           1.4  	DeleteNamespace -a -user guest -password guest
510 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
511 kumpf           1.4  	TestClient -user guest -password guest $(system):5988
512                      	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/static -f Makefile poststarttests HOSTNAME=-h$(system) USER=-uguest PASSWORD=-wguest SECURITY_ENABLED=true
513 kumpf           1.1  
514                      TestSubscriptions:
515 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile DisableSecurity
516 kumpf           1.1  	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository
517                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository
518 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
519 david.dillard   1.15 	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/cimv2/Subscription -f Makefile poststarttests
520 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimstop
521 kumpf           1.1  
522                      TestCimmof:
523 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Testcimmof poststarttests
524 kumpf           1.1  
525                      RunTestClientLocal:
526                      	TestClient -local
527                      
528                      DisableSecurity:
529 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
530 kumpf           1.1  	cimconfig -s enableAuthentication=false -p
531                      	cimconfig -s enableNamespaceAuthorization=false -p
532                      
533                      EnableAuthentication:
534 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
535 kumpf           1.1  	cimconfig -s enableAuthentication=true -p
536 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
537                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile ConfigureUsers
538 kumpf           1.1  
539                      EnableAuthorization:
540 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
541 kumpf           1.10 	cimconfig -s enableNamespaceAuthorization=true -p
542 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
543                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i ConfigureAuthorizations
544 kumpf           1.1  
545                      EnableSSL:
546 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
547                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithSSL
548 kumpf           1.1  
549                      ConfigureUsers:
550                      ifndef PEGASUS_PAM_AUTHENTICATION
551                      	cimuser -a -u guest -w guest
552                      endif
553                      
554                      ConfigureAuthorizations:
555                      	cimauth -a -u guest -n test/cimv2 -R -W
556                      	cimauth -a -u guest -n root/cimv2 -R -W
557 kumpf           1.10 	cimauth -a -u guest -n root/PG_Internal -R -W
558                      	cimauth -a -u guest -n root/PG_InterOp -R -W
559                      	cimauth -a -u guest -n root/benchmark -R -W
560                      	cimauth -a -u guest -n root/sampleprovider -R -W
561 kumpf           1.1  	cimauth -a -u guest -n test/static -R -W
562                      	cimauth -a -u guest -n root/SampleProvider -R -W
563                      	cimauth -a -u guest -n root -R -W
564                      	cimauth -a -u guest -n test1 -R -W
565                      	cimauth -a -u guest -n test2 -R -W
566                      	cimauth -a -u guest -n test3 -R -W
567                      	cimauth -a -u guest -n test4 -R -W
568                      	cimauth -a -u guest -n test5 -R -W
569                      	cimauth -a -u guest -n test6 -R -W
570                      	cimauth -a -u guest -n test1/test2 -R -W
571                      	cimauth -a -u guest -n test1/test2/test3 -R -W
572                      	cimauth -a -u guest -n test1/test2/test3/test4 -R -W
573                      	cimauth -a -u guest -n test1/test2/test3/test4/test5 -R -W
574                      	cimauth -a -u guest -n test1/test2/test3/test4/test5/test6 -R -W
575                      
576                      startcimWithoutSSL:
577 david.dillard   1.15 	$(CIMSERVER_START_SERVICE)
578 kumpf           1.19 	$(SLEEP) 5
579 kumpf           1.1  
580                      startcimWithSSL:
581 david.dillard   1.15 	$(CIMSERVER_START_SERVICE) enableHttpConnection=false enableHttpsConnection=true
582 kumpf           1.19 	$(SLEEP) 5

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2