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