(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 h.sterling     1.37 #	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
116                     #	$(SLEEP) 5
117                     #	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository
118                     #	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository
119                     #	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile tests
120                     #	$(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 h.sterling      1.37 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_SSL_TS1
136 kumpf           1.1  
137                      tests: $(TESTS)
138 tony            1.5  ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
139 kumpf           1.22 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
140 mday            1.6  	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile uninstall
141 tony            1.5  endif
142 david.dillard   1.15 	@ $(ECHO) Finished Tests
143 kumpf           1.1  
144                      ###############################################################################
145 denise.eckstein 1.18 ##  Test Suite Definitions
146                      ###############################################################################
147                      
148                      ###############################################################################
149                      ##  OOP Test Suite 1: "Out-of-Process"(OOP) Provider Tests 
150                      ##
151                      ##  Configuration Options: forceProviderProcesses=true
152                      ##
153                      ###############################################################################
154                      OOP_TS1_CONFIG_OPTIONS = forceProviderProcesses=true
155                      OOP_TS1_TEST_CMDS = \
156                              TestClient
157                      
158                      run_OOP_TS1:
159 denise.eckstein 1.26 	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
160 denise.eckstein 1.18             CIMSERVER_CONFIG_OPTIONS="$(OOP_TS1_CONFIG_OPTIONS)" \
161                                  TESTSUITE_CMDS="$(OOP_TS1_TEST_CMDS)"
162                      ###############################################################################
163                      
164                      ###############################################################################
165 carolann.graves 1.28 ##  IndInit Test Suite 1: IndicationService Initialization Tests 
166                      ##
167                      ##  Configuration Options: (none)
168                      ##
169                      ###############################################################################
170                      IndInit_TS1_CONFIG_OPTIONS = 
171                      IndInit_TS1a_TEST_CMDS = \
172                      	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Pegasus/IndicationService/tests/ProcessIndication@@IndInit_TS1a
173                      IndInit_TS1b_TEST_CMDS = \
174                      	$(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Pegasus/IndicationService/tests/ProcessIndication@@IndInit_TS1b
175                      
176                      run_IndInit_TS1:
177                      	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
178                                  CIMSERVER_CONFIG_OPTIONS="$(IndInit_TS1_CONFIG_OPTIONS)" \
179                                  TESTSUITE_CMDS="$(IndInit_TS1a_TEST_CMDS)"
180                      	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
181                                  CIMSERVER_CONFIG_OPTIONS="$(IndInit_TS1_CONFIG_OPTIONS)" \
182                                  TESTSUITE_CMDS="$(IndInit_TS1b_TEST_CMDS)"
183                      
184                      ###############################################################################
185 nag.boranna     1.27 ##  SSL Test Suite 1: SSL Tests
186                      ##
187                      ##  Configuration Options: enableAuthentication=true
188                      ##                         enableHttpsConnection=true
189                      ##                         sslClientVerificationMode=optional
190                      ##                         sslTrustStoreUserName=$(CURRENT_USER)
191                      ##
192                      ###############################################################################
193                      SSL_TS1_CONFIG_OPTIONS = enableHttpsConnection=true enableAuthentication=true \
194                             sslClientVerificationMode=optional sslTrustStoreUserName=$(CURRENT_USER)
195                      SSL_TS1_TEST_CMDS = \
196                             $(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Clients/ssltrustmgr/tests@@SSLCertificateTest1
197                      
198                      run_SSL_TS1:
199                      	$(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
200                                  CIMSERVER_CONFIG_OPTIONS="$(SSL_TS1_CONFIG_OPTIONS)" \
201                                  TESTSUITE_CMDS="$(SSL_TS1_TEST_CMDS)"
202                      ###############################################################################
203                      
204 jim.wunderlich  1.34 
205                      
206                      ##############################################################################
207                      ##
208                      ## TestXMLRepository rule is used to run the poststarttests suite on
209                      ## the XML Repository built using cimmofl
210                      ##
211                      ## TestXMLRepositoryServer rule is used to run the poststarttests suite on
212                      ## the XML Repository built using cimmof
213                      ##
214                      ## TestXMLCmpRepository rule is used to run the poststarttest suite on 
215                      ## the XML Compressed Repository built using cimmofl
216                      ##
217                      
218                      ############################
219                      ##
220                      ## TestXMLRepository
221                      ##
222                      
223                      TestXMLRepository: TestXMLClean TestXMLBuildRepo  TestXMLRepo
224                      	@ $(ECHO) TestXMLRepository +++++ passed all test
225 jim.wunderlich  1.34 
226                      ############################
227                      ##
228                      ## TestXMLRepositoryServer
229                      ##
230                      TestXMLRepositoryServer: TestXMLClean  TestXMLBuildRepoServ TestXMLRepo
231                      	@ $(ECHO) TestXMLRepositoryServer +++++ passed all test
232                      
233                      ############################
234                      ##
235                      ## TestXMLCmpRepository -  run poststarttest on Compressed BIN Repository
236                      ##
237                      ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY
238                      TestXMLCmpRepository: FORCE
239                      	@ $(ECHO) TestXMLCmpRepository +++++ Repository compressed by default - nothing more to test.
240                      	@ $(ECHO) TestXMLCmpRepository +++++ passed all test
241                      else
242                      
243                      ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST
244                      
245                      TestXMLCmpRepository: TestXMLClean  TestCmpBuild TestXMLBuildRepo TestXMLRepo TestRegBuild
246 jim.wunderlich  1.34 	@ $(ECHO) TestXMLCmpRepository +++++ passed all test
247                      else
248                      TestXMLCmpRepository: FORCE
249                      	@ $(ECHO) TestXMLCmpRepository +++++ Not tested 
250                      	@ $(ECHO) TestXMLCmpRepository +++++ refer to readme.compressed_repository
251                      	@ $(ECHO) TestXMLCmpRepository +++++ to enable: set PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST=true 
252                      endif
253                      endif
254                      
255                      ###########################
256                      ##
257                      ## TestXMLClean
258                      ##
259                      TestXMLClean: FORCE
260                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
261                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryclean REPOSITORY_NAME=repository_xml
262                      
263                      
264                      ###########################
265                      ##
266                      ## TestXMLStartServer
267 jim.wunderlich  1.34 ##
268                      TestXMLStartServer: FORCE
269                      	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run
270                      	- $(MKDIRHIER) $(PEGASUS_HOME)/repository_xml
271                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="repositoryDir=$(PEGASUS_HOME)/repository_xml"
272                      	$(SLEEP) 5
273                      
274                      ####
275                      #### The following caused the cimserver to fail on startup
276                      ####
277                      ####	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableBinRepository=false repositoryDir=$(PEGASUS_HOME)/repository_xml"
278                      
279                      ###########################
280                      ##
281                      ## TestXMLBuildRepo
282                      ##
283                      TestXMLBuildRepo: FORCE
284                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
285                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
286                      
287                      
288 jim.wunderlich  1.34 ###########################
289                      ##
290                      ## TestXMLBuildRepoServ
291                      ##
292                      TestXMLBuildRepoServ: TestXMLStartServer
293                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
294                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
295                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
296                      
297                      
298                      ###########################
299                      ##
300                      ## TestXMLRepo
301                      ##
302 jim.wunderlich  1.35 TestXMLRepo: poststarttestsclean
303                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestXMLStartServer
304 jim.wunderlich  1.34 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
305                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
306                      
307                      
308                      
309                      
310                      
311                      
312 jim.wunderlich  1.29 ##############################################################################
313                      ##
314 jim.wunderlich  1.31 ## TestBinRepository rule is used to run the poststarttests suite on
315 jim.wunderlich  1.33 ## the Binary Repository built using cimmofl
316 jim.wunderlich  1.29 ##
317 jim.wunderlich  1.31 ## TestBinRepositoryServer rule is used to run the poststarttests suite on
318 jim.wunderlich  1.33 ## the Binary Repository built using cimmof
319                      ##
320                      ## TestBinCmpRepository rule is used to run the poststarttest suite on 
321                      ## the Binry Compressed Repository built using cimmofl
322 jim.wunderlich  1.29 ##
323 jim.wunderlich  1.31 
324                      ############################
325 jim.wunderlich  1.29 ##
326 jim.wunderlich  1.31 ## TestBinRepository
327 jim.wunderlich  1.29 ##
328 jim.wunderlich  1.33 ### bug 3011 disabled Binary Repository testing on LINUX_IA64 to allow
329                      ### the nightly tests to run
330                      
331 jim.wunderlich  1.31 TestBinRepository: TestBinClean TestBinBuildRepo  TestBinRepo
332 jim.wunderlich  1.33 	@ $(ECHO) TestBinRepository +++++ passed all test
333 jim.wunderlich  1.36 
334 jim.wunderlich  1.29 
335 jim.wunderlich  1.31 ############################
336                      ##
337                      ## TestBinRepositoryServer
338                      ##
339                      TestBinRepositoryServer: TestBinClean  TestBinBuildRepoServ TestBinRepo
340 jim.wunderlich  1.33 	@ $(ECHO) TestBinRepositoryServer +++++ passed all test
341                      
342                      ############################
343                      ##
344                      ## TestBinCmpRepository -  run poststarttest on Compressed BIN Repository
345                      ##
346                      ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY
347 jim.wunderlich  1.34 TestBinCmpRepository: FORCE
348 jim.wunderlich  1.33 	@ $(ECHO) TestBinCmpRepository +++++ Repository compressed by default - nothing more to test.
349                      	@ $(ECHO) TestBinCmpRepository +++++ passed all test
350                      else
351                      
352                      ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST
353                      
354 jim.wunderlich  1.34 TestBinCmpRepository: TestBinClean  TestCmpBuild TestBinBuildRepo TestBinRepo TestRegBuild
355 jim.wunderlich  1.33 	@ $(ECHO) TestBinCmpRepository +++++ passed all test
356                      else
357 jim.wunderlich  1.34 TestBinCmpRepository: FORCE
358 jim.wunderlich  1.33 	@ $(ECHO) TestBinCmpRepository +++++ Not tested 
359                      	@ $(ECHO) TestBinCmpRepository +++++ refer to readme.compressed_repository
360                      	@ $(ECHO) TestBinCmpRepository +++++ to enable: set PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST=true 
361                      endif
362                      endif
363                      
364                      
365 jim.wunderlich  1.31 ###########################
366                      ##
367                      ## TestBinClean
368                      ##
369 jim.wunderlich  1.34 TestBinClean: FORCE
370 jim.wunderlich  1.31 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
371                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryclean REPOSITORY_NAME=repository_bin
372 jim.wunderlich  1.29 
373 jim.wunderlich  1.31 
374                      ###########################
375 jim.wunderlich  1.29 ##
376 jim.wunderlich  1.31 ## TestBinStartServer
377 jim.wunderlich  1.29 ##
378 jim.wunderlich  1.34 TestBinStartServer: FORCE
379 jim.wunderlich  1.30 	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run
380 jim.wunderlich  1.31 	- $(MKDIRHIER) $(PEGASUS_HOME)/repository_bin
381                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableBinaryRepository=true repositoryDir=$(PEGASUS_HOME)/repository_bin"
382 jim.wunderlich  1.29 	$(SLEEP) 5
383 jim.wunderlich  1.31 
384                      ###########################
385 jim.wunderlich  1.29 ##
386 jim.wunderlich  1.31 ## TestBinBuildRepo
387 jim.wunderlich  1.29 ##
388 jim.wunderlich  1.34 TestBinBuildRepo: FORCE
389 jim.wunderlich  1.29 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
390                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
391 jim.wunderlich  1.31 
392                      
393                      ###########################
394                      ##
395                      ## TestBinBuildRepoServ
396                      ##
397                      TestBinBuildRepoServ: TestBinStartServer
398                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
399                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
400                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
401                      
402                      
403                      ###########################
404                      ##
405                      ## TestBinRepo
406                      ##
407 jim.wunderlich  1.35 TestBinRepo: poststarttestsclean 
408                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestBinStartServer
409 jim.wunderlich  1.29 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
410 jim.wunderlich  1.31 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
411 jim.wunderlich  1.29 
412                      
413                      
414 jim.wunderlich  1.34 
415                      ############################
416                      ##
417                      ## TestCmpBuild - used to compile the repository for compression
418                      ##
419                      TestCmpBuild: FORCE
420                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository clean
421                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository depend PEGASUS_ENABLE_COMPRESSED_REPOSITORY=1
422                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository PEGASUS_ENABLE_COMPRESSED_REPOSITORY=1
423                      
424                      
425                      ############################
426                      ##
427                      ## TestRegBuild - used to compile the repository for no compression
428                      ##
429                      TestRegBuild: FORCE
430                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository clean
431                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository depend 
432                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository 
433                      
434                      
435 nag.boranna     1.27 ###############################################################################
436 kumpf           1.1  ##
437                      ## Trace Configuration
438                      ##
439                      ## Options:
440                      ##      XMLTraceOn: Enables XML request and response tracing.
441                      ##      ProviderLoadTraceOn: Enables Provider load tracing.
442                      ##      XML+ProviderLoadTraceOn: Enables both XML request/response and Provider
443                      ##                                 load tracing.
444                      ##      AllTraceOn: Enables all tracing.
445                      ##      AllTraceOff: Disables all tracing.
446                      ##      list: Lists trace settings.
447                      ##
448                      ###############################################################################
449                      
450                      XMLTraceOn:
451                      	cimconfig -s traceComponents=XmlIO -c
452                      	cimconfig -s traceLevel=3 -c
453                      	cimconfig -g traceComponents
454                      	cimconfig -g traceLevel
455                      
456                      ProviderLoadTraceOn:
457 kumpf           1.1  	cimconfig -s traceComponents=ProvManager,OsAbstraction
458                      	cimconfig -s traceLevel=3 -c
459                      	cimconfig -g traceComponents
460                      	cimconfig -g traceLevel
461                      
462                      XML+ProviderLoadTraceOn:
463                      	cimconfig -s traceComponents=XmlIO,ProvManager,OsAbstraction
464                      	cimconfig -s traceLevel=3 -c
465                      	cimconfig -g traceComponents
466                      	cimconfig -g traceLevel
467                      
468                      AllTraceOn:
469                      	cimconfig -s traceComponents=ALL
470                      	cimconfig -s traceLevel=3 -c
471                      	cimconfig -g traceComponents
472                      	cimconfig -g traceLevel
473                      
474                      AllTraceOff:
475                      	cimconfig -s traceComponents=
476                      	cimconfig -g traceComponents
477                      	cimconfig -g traceLevel
478 kumpf           1.1  
479                      list:
480                      	cimconfig -g traceComponents
481                      	cimconfig -g traceLevel
482                      	cimconfig -g traceFilePath
483                      
484 kumpf           1.21 # More options...
485 kumpf           1.1  
486 david.dillard   1.15 standardtests:
487 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i DisableSecurity
488                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestCimmof
489                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestNoSecurity
490                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile EnableAuthentication
491                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestLocalSecurity
492                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestRemoteSecurity
493                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile EnableAuthorization
494                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestAuthorization
495 kumpf           1.1  
496                      TestNoSecurity:
497                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile tests
498 kumpf           1.24 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
499 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
500 kumpf           1.1  
501                      TestLocalSecurity:
502 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
503 kumpf           1.1  	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile poststarttests HOSTNAME= PORT= USER= PASSWORD= SECURITY_ENABLED=true
504                      
505                      TestRemoteSecurity:
506                      	TestClient -user guest -password guest $(system):5988
507                      	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/static -f Makefile poststarttests HOSTNAME=-h$(system) USER=-uguest PASSWORD=-wguest SECURITY_ENABLED=true
508                      
509                      TestAuthorization:
510 kumpf           1.4  	DeleteNamespace -a -user guest -password guest
511 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
512 kumpf           1.4  	TestClient -user guest -password guest $(system):5988
513                      	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/static -f Makefile poststarttests HOSTNAME=-h$(system) USER=-uguest PASSWORD=-wguest SECURITY_ENABLED=true
514 kumpf           1.1  
515                      TestSubscriptions:
516 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile DisableSecurity
517 kumpf           1.1  	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository
518                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository
519 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
520 david.dillard   1.15 	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/cimv2/Subscription -f Makefile poststarttests
521 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimstop
522 kumpf           1.1  
523                      TestCimmof:
524 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Testcimmof poststarttests
525 kumpf           1.1  
526                      RunTestClientLocal:
527                      	TestClient -local
528                      
529                      DisableSecurity:
530 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
531 kumpf           1.1  	cimconfig -s enableAuthentication=false -p
532                      	cimconfig -s enableNamespaceAuthorization=false -p
533                      
534                      EnableAuthentication:
535 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
536 kumpf           1.1  	cimconfig -s enableAuthentication=true -p
537 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
538                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile ConfigureUsers
539 kumpf           1.1  
540                      EnableAuthorization:
541 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
542 kumpf           1.10 	cimconfig -s enableNamespaceAuthorization=true -p
543 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
544                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i ConfigureAuthorizations
545 kumpf           1.1  
546                      EnableSSL:
547 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
548                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithSSL
549 kumpf           1.1  
550                      ConfigureUsers:
551                      ifndef PEGASUS_PAM_AUTHENTICATION
552                      	cimuser -a -u guest -w guest
553                      endif
554                      
555                      ConfigureAuthorizations:
556                      	cimauth -a -u guest -n test/cimv2 -R -W
557                      	cimauth -a -u guest -n root/cimv2 -R -W
558 kumpf           1.10 	cimauth -a -u guest -n root/PG_Internal -R -W
559                      	cimauth -a -u guest -n root/PG_InterOp -R -W
560                      	cimauth -a -u guest -n root/benchmark -R -W
561                      	cimauth -a -u guest -n root/sampleprovider -R -W
562 kumpf           1.1  	cimauth -a -u guest -n test/static -R -W
563                      	cimauth -a -u guest -n root/SampleProvider -R -W
564                      	cimauth -a -u guest -n root -R -W
565                      	cimauth -a -u guest -n test1 -R -W
566                      	cimauth -a -u guest -n test2 -R -W
567                      	cimauth -a -u guest -n test3 -R -W
568                      	cimauth -a -u guest -n test4 -R -W
569                      	cimauth -a -u guest -n test5 -R -W
570                      	cimauth -a -u guest -n test6 -R -W
571                      	cimauth -a -u guest -n test1/test2 -R -W
572                      	cimauth -a -u guest -n test1/test2/test3 -R -W
573                      	cimauth -a -u guest -n test1/test2/test3/test4 -R -W
574                      	cimauth -a -u guest -n test1/test2/test3/test4/test5 -R -W
575                      	cimauth -a -u guest -n test1/test2/test3/test4/test5/test6 -R -W
576                      
577                      startcimWithoutSSL:
578 david.dillard   1.15 	$(CIMSERVER_START_SERVICE)
579 kumpf           1.19 	$(SLEEP) 5
580 kumpf           1.1  
581                      startcimWithSSL:
582 david.dillard   1.15 	$(CIMSERVER_START_SERVICE) enableHttpConnection=false enableHttpsConnection=true
583 kumpf           1.19 	$(SLEEP) 5

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2