(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                      ifeq ($(PEGASUS_PLATFORM),LINUX_IA64_GNU)
331 jim.wunderlich  1.34 TestBinRepository: FORCE
332 jim.wunderlich  1.33 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
333                      	@ $(ECHO) TestBinRepository +++++ NOT RUN on this platform - bug 3011
334                      else
335 jim.wunderlich  1.31 TestBinRepository: TestBinClean TestBinBuildRepo  TestBinRepo
336 jim.wunderlich  1.33 	@ $(ECHO) TestBinRepository +++++ passed all test
337                      endif
338 jim.wunderlich  1.29 
339 jim.wunderlich  1.31 ############################
340                      ##
341                      ## TestBinRepositoryServer
342                      ##
343                      TestBinRepositoryServer: TestBinClean  TestBinBuildRepoServ TestBinRepo
344 jim.wunderlich  1.33 	@ $(ECHO) TestBinRepositoryServer +++++ passed all test
345                      
346                      ############################
347                      ##
348                      ## TestBinCmpRepository -  run poststarttest on Compressed BIN Repository
349                      ##
350                      ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY
351 jim.wunderlich  1.34 TestBinCmpRepository: FORCE
352 jim.wunderlich  1.33 	@ $(ECHO) TestBinCmpRepository +++++ Repository compressed by default - nothing more to test.
353                      	@ $(ECHO) TestBinCmpRepository +++++ passed all test
354                      else
355                      
356                      ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST
357                      
358 jim.wunderlich  1.34 TestBinCmpRepository: TestBinClean  TestCmpBuild TestBinBuildRepo TestBinRepo TestRegBuild
359 jim.wunderlich  1.33 	@ $(ECHO) TestBinCmpRepository +++++ passed all test
360                      else
361 jim.wunderlich  1.34 TestBinCmpRepository: FORCE
362 jim.wunderlich  1.33 	@ $(ECHO) TestBinCmpRepository +++++ Not tested 
363                      	@ $(ECHO) TestBinCmpRepository +++++ refer to readme.compressed_repository
364                      	@ $(ECHO) TestBinCmpRepository +++++ to enable: set PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST=true 
365                      endif
366                      endif
367                      
368                      
369 jim.wunderlich  1.31 ###########################
370                      ##
371                      ## TestBinClean
372                      ##
373 jim.wunderlich  1.34 TestBinClean: FORCE
374 jim.wunderlich  1.31 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
375                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryclean REPOSITORY_NAME=repository_bin
376 jim.wunderlich  1.29 
377 jim.wunderlich  1.31 
378                      ###########################
379 jim.wunderlich  1.29 ##
380 jim.wunderlich  1.31 ## TestBinStartServer
381 jim.wunderlich  1.29 ##
382 jim.wunderlich  1.34 TestBinStartServer: FORCE
383 jim.wunderlich  1.30 	$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run
384 jim.wunderlich  1.31 	- $(MKDIRHIER) $(PEGASUS_HOME)/repository_bin
385                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableBinaryRepository=true repositoryDir=$(PEGASUS_HOME)/repository_bin"
386 jim.wunderlich  1.29 	$(SLEEP) 5
387 jim.wunderlich  1.31 
388                      ###########################
389 jim.wunderlich  1.29 ##
390 jim.wunderlich  1.31 ## TestBinBuildRepo
391 jim.wunderlich  1.29 ##
392 jim.wunderlich  1.34 TestBinBuildRepo: FORCE
393 jim.wunderlich  1.29 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
394                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
395 jim.wunderlich  1.31 
396                      
397                      ###########################
398                      ##
399                      ## TestBinBuildRepoServ
400                      ##
401                      TestBinBuildRepoServ: TestBinStartServer
402                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
403                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
404                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
405                      
406                      
407                      ###########################
408                      ##
409                      ## TestBinRepo
410                      ##
411 jim.wunderlich  1.35 TestBinRepo: poststarttestsclean 
412                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestBinStartServer
413 jim.wunderlich  1.29 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
414 jim.wunderlich  1.31 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop 
415 jim.wunderlich  1.29 
416                      
417                      
418 jim.wunderlich  1.34 
419                      ############################
420                      ##
421                      ## TestCmpBuild - used to compile the repository for compression
422                      ##
423                      TestCmpBuild: FORCE
424                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository clean
425                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository depend PEGASUS_ENABLE_COMPRESSED_REPOSITORY=1
426                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository PEGASUS_ENABLE_COMPRESSED_REPOSITORY=1
427                      
428                      
429                      ############################
430                      ##
431                      ## TestRegBuild - used to compile the repository for no compression
432                      ##
433                      TestRegBuild: FORCE
434                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository clean
435                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository depend 
436                      	@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository 
437                      
438                      
439 nag.boranna     1.27 ###############################################################################
440 kumpf           1.1  ##
441                      ## Trace Configuration
442                      ##
443                      ## Options:
444                      ##      XMLTraceOn: Enables XML request and response tracing.
445                      ##      ProviderLoadTraceOn: Enables Provider load tracing.
446                      ##      XML+ProviderLoadTraceOn: Enables both XML request/response and Provider
447                      ##                                 load tracing.
448                      ##      AllTraceOn: Enables all tracing.
449                      ##      AllTraceOff: Disables all tracing.
450                      ##      list: Lists trace settings.
451                      ##
452                      ###############################################################################
453                      
454                      XMLTraceOn:
455                      	cimconfig -s traceComponents=XmlIO -c
456                      	cimconfig -s traceLevel=3 -c
457                      	cimconfig -g traceComponents
458                      	cimconfig -g traceLevel
459                      
460                      ProviderLoadTraceOn:
461 kumpf           1.1  	cimconfig -s traceComponents=ProvManager,OsAbstraction
462                      	cimconfig -s traceLevel=3 -c
463                      	cimconfig -g traceComponents
464                      	cimconfig -g traceLevel
465                      
466                      XML+ProviderLoadTraceOn:
467                      	cimconfig -s traceComponents=XmlIO,ProvManager,OsAbstraction
468                      	cimconfig -s traceLevel=3 -c
469                      	cimconfig -g traceComponents
470                      	cimconfig -g traceLevel
471                      
472                      AllTraceOn:
473                      	cimconfig -s traceComponents=ALL
474                      	cimconfig -s traceLevel=3 -c
475                      	cimconfig -g traceComponents
476                      	cimconfig -g traceLevel
477                      
478                      AllTraceOff:
479                      	cimconfig -s traceComponents=
480                      	cimconfig -g traceComponents
481                      	cimconfig -g traceLevel
482 kumpf           1.1  
483                      list:
484                      	cimconfig -g traceComponents
485                      	cimconfig -g traceLevel
486                      	cimconfig -g traceFilePath
487                      
488 kumpf           1.21 # More options...
489 kumpf           1.1  
490 david.dillard   1.15 standardtests:
491 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i DisableSecurity
492                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestCimmof
493                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestNoSecurity
494                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile EnableAuthentication
495                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestLocalSecurity
496                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestRemoteSecurity
497                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile EnableAuthorization
498                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestAuthorization
499 kumpf           1.1  
500                      TestNoSecurity:
501                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile tests
502 kumpf           1.24 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
503 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
504 kumpf           1.1  
505                      TestLocalSecurity:
506 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
507 kumpf           1.1  	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile poststarttests HOSTNAME= PORT= USER= PASSWORD= SECURITY_ENABLED=true
508                      
509                      TestRemoteSecurity:
510                      	TestClient -user guest -password guest $(system):5988
511                      	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/static -f Makefile poststarttests HOSTNAME=-h$(system) USER=-uguest PASSWORD=-wguest SECURITY_ENABLED=true
512                      
513                      TestAuthorization:
514 kumpf           1.4  	DeleteNamespace -a -user guest -password guest
515 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
516 kumpf           1.4  	TestClient -user guest -password guest $(system):5988
517                      	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/static -f Makefile poststarttests HOSTNAME=-h$(system) USER=-uguest PASSWORD=-wguest SECURITY_ENABLED=true
518 kumpf           1.1  
519                      TestSubscriptions:
520 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile DisableSecurity
521 kumpf           1.1  	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository
522                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository
523 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
524 david.dillard   1.15 	$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/cimv2/Subscription -f Makefile poststarttests
525 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimstop
526 kumpf           1.1  
527                      TestCimmof:
528 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f Testcimmof poststarttests
529 kumpf           1.1  
530                      RunTestClientLocal:
531                      	TestClient -local
532                      
533                      DisableSecurity:
534 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
535 kumpf           1.1  	cimconfig -s enableAuthentication=false -p
536                      	cimconfig -s enableNamespaceAuthorization=false -p
537                      
538                      EnableAuthentication:
539 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
540 kumpf           1.1  	cimconfig -s enableAuthentication=true -p
541 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
542                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile ConfigureUsers
543 kumpf           1.1  
544                      EnableAuthorization:
545 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
546 kumpf           1.10 	cimconfig -s enableNamespaceAuthorization=true -p
547 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
548                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i ConfigureAuthorizations
549 kumpf           1.1  
550                      EnableSSL:
551 kumpf           1.21 	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
552                      	$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithSSL
553 kumpf           1.1  
554                      ConfigureUsers:
555                      ifndef PEGASUS_PAM_AUTHENTICATION
556                      	cimuser -a -u guest -w guest
557                      endif
558                      
559                      ConfigureAuthorizations:
560                      	cimauth -a -u guest -n test/cimv2 -R -W
561                      	cimauth -a -u guest -n root/cimv2 -R -W
562 kumpf           1.10 	cimauth -a -u guest -n root/PG_Internal -R -W
563                      	cimauth -a -u guest -n root/PG_InterOp -R -W
564                      	cimauth -a -u guest -n root/benchmark -R -W
565                      	cimauth -a -u guest -n root/sampleprovider -R -W
566 kumpf           1.1  	cimauth -a -u guest -n test/static -R -W
567                      	cimauth -a -u guest -n root/SampleProvider -R -W
568                      	cimauth -a -u guest -n root -R -W
569                      	cimauth -a -u guest -n test1 -R -W
570                      	cimauth -a -u guest -n test2 -R -W
571                      	cimauth -a -u guest -n test3 -R -W
572                      	cimauth -a -u guest -n test4 -R -W
573                      	cimauth -a -u guest -n test5 -R -W
574                      	cimauth -a -u guest -n test6 -R -W
575                      	cimauth -a -u guest -n test1/test2 -R -W
576                      	cimauth -a -u guest -n test1/test2/test3 -R -W
577                      	cimauth -a -u guest -n test1/test2/test3/test4 -R -W
578                      	cimauth -a -u guest -n test1/test2/test3/test4/test5 -R -W
579                      	cimauth -a -u guest -n test1/test2/test3/test4/test5/test6 -R -W
580                      
581                      startcimWithoutSSL:
582 david.dillard   1.15 	$(CIMSERVER_START_SERVICE)
583 kumpf           1.19 	$(SLEEP) 5
584 kumpf           1.1  
585                      startcimWithSSL:
586 david.dillard   1.15 	$(CIMSERVER_START_SERVICE) enableHttpConnection=false enableHttpsConnection=true
587 kumpf           1.19 	$(SLEEP) 5

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2