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 kumpf 1.87 ifeq ($(PEGASUS_ENABLE_CMPI_PROVIDER_MANAGER),true)
|
310 s.kodali 1.85 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_Cmpi_Sub
311 endif
|
312 s.kodali 1.105 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimprovagt32tests
|
313 dave.sudlik 1.88 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_idleConnectionTimeout1
314 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_idleConnectionTimeout2
|
315 venkat.puvvada 1.107 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_providerLifecycleIndicationTests
|
316 kumpf 1.1
|
317 j.alex 1.66 #####################
318 #
319 # stresstests
320 #
321 stresstests:
322 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_STRESS_TS1
323
|
324 jim.wunderlich 1.40 ####################
325 #
|
326 jim.wunderlich 1.45 # perftests - simple performance test until we have better
327 #
328 # - Turns statistics on (uses TestInterop until we have better)
|
329 kumpf 1.81 # - runs poststarttests suite and TestBenchmark
|
330 jim.wunderlich 1.45 # - runs cimperf to displat the statistics
|
331 kumpf 1.101 # - turns statistics off
|
332 jim.wunderlich 1.45 #
333 perftests: servertestsclean servertestssetup perfsuite
334
335 perfsuite: FORCE
336 $(PEGASUS_HOME)/bin/TestInterop on
337 $(TIME_CMD) $(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile poststarttests
338 @ $(ECHO) " "
339 $(TIME_CMD) $(PEGASUS_HOME)/bin/TestClient
340 @ $(ECHO) " "
|
341 kumpf 1.81 $(TIME_CMD) $(PEGASUS_HOME)/bin/TestBenchmark
|
342 jim.wunderlich 1.45 @ $(ECHO) " "
343 @ $(ECHO) " "
344 $(TIME_CMD) $(PEGASUS_HOME)/bin/cimperf
345 @ $(ECHO) " "
346 $(PEGASUS_HOME)/bin/TestInterop off
347
|
348 jim.wunderlich 1.40
349 ####################
350 #
351 # alltests
352 #
353 alltests: unittests servertests
|
354 a.dunfey 1.79 ifeq ($(OS_TYPE),windows)
|
355 kumpf 1.22 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
|
356 mday 1.6 $(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile uninstall
|
357 tony 1.5 endif
|
358 jim.wunderlich 1.40 @ $(ECHO) "+++++ TestMakefile alltests Complete"
|
359 kumpf 1.1
360 ###############################################################################
|
361 denise.eckstein 1.18 ## Test Suite Definitions
362 ###############################################################################
363
364 ###############################################################################
|
365 kumpf 1.101 ## OOP Test Suite 1: "Out-of-Process"(OOP) Provider Tests
|
366 denise.eckstein 1.18 ##
367 ## Configuration Options: forceProviderProcesses=true
368 ##
|
369 jim.wunderlich 1.54 ## If PEGASUS_DEFAULT_ENABLE_OOP is set, then tests are run with OOP disabled
|
370 jim.wunderlich 1.51 ## since tests have already been run with OOP enabled.
371 ##
372 ##
|
373 denise.eckstein 1.18 ###############################################################################
|
374 jim.wunderlich 1.54 ifeq ($(PEGASUS_DEFAULT_ENABLE_OOP),true)
|
375 jim.wunderlich 1.52 OOP_TS1_CONFIG_OPTIONS = forceProviderProcesses=false
376 else
|
377 denise.eckstein 1.18 OOP_TS1_CONFIG_OPTIONS = forceProviderProcesses=true
|
378 kumpf 1.44 endif
|
379 jim.wunderlich 1.51
|
380 kumpf 1.96 ifeq ($(PEGASUS_ENABLE_PRIVILEGE_SEPARATION),true)
381 # When privilege separation is enabled, most providers run out of process
382 # regardless of the forceProviderProcesses setting. The exception is
383 # providers that register with UserContext = 5 (CIM Server). The only
384 # case of this in the automated tests is the UserContextTestProvider.
385 OOP_TS1_TEST_CMDS = \
386 $(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/UserContextTestProvider/testclient@@poststarttests
387 else
388 OOP_TS1_TEST_CMDS = \
389 $(MAKE)@@--directory=$(PEGASUS_ROOT)@@-f@@Makefile@@poststarttests
390 endif
|
391 denise.eckstein 1.18
392 run_OOP_TS1:
|
393 denise.eckstein 1.26 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
|
394 denise.eckstein 1.18 CIMSERVER_CONFIG_OPTIONS="$(OOP_TS1_CONFIG_OPTIONS)" \
395 TESTSUITE_CMDS="$(OOP_TS1_TEST_CMDS)"
|
396 jim.wunderlich 1.51
|
397 denise.eckstein 1.18 ###############################################################################
398
399 ###############################################################################
|
400 kumpf 1.101 ## IndInit Test Suite 1: IndicationService Initialization Tests
|
401 carolann.graves 1.28 ##
402 ## Configuration Options: (none)
403 ##
404 ###############################################################################
|
405 kumpf 1.101 IndInit_TS1_CONFIG_OPTIONS =
|
406 carolann.graves 1.28 IndInit_TS1a_TEST_CMDS = \
407 $(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Pegasus/IndicationService/tests/ProcessIndication@@IndInit_TS1a
408 IndInit_TS1b_TEST_CMDS = \
409 $(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Pegasus/IndicationService/tests/ProcessIndication@@IndInit_TS1b
410
411 run_IndInit_TS1:
412 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
413 CIMSERVER_CONFIG_OPTIONS="$(IndInit_TS1_CONFIG_OPTIONS)" \
414 TESTSUITE_CMDS="$(IndInit_TS1a_TEST_CMDS)"
415 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
416 CIMSERVER_CONFIG_OPTIONS="$(IndInit_TS1_CONFIG_OPTIONS)" \
417 TESTSUITE_CMDS="$(IndInit_TS1b_TEST_CMDS)"
418
419 ###############################################################################
|
420 carolann.graves 1.67 ## OOPProvFail Test Suite 1: OOP Provider Module Failure Tests
421 ##
422 ## Configuration Options: forceProviderProcesses=true
423 ## enableAuthentication=true, enableAuthentication=false
424 ##
425 ## NOTE: Regardless of the setting of PEGASUS_DEFAULT_ENABLE_OOP, this test
426 ## suite is always run with OOP enabled. This test suite causes a provider to
427 ## exit. Running this test suite with OOP disabled would cause the cimserver
428 ## to exit and the test suite to fail.
429 ##
430 ## NOTE: The test is run once with authentication enabled, and once without
431 ## authentication enabled.
432 ##
433 ###############################################################################
|
434 venkat.puvvada 1.104 OOPProvFail_TS1a_CONFIG_OPTIONS = forceProviderProcesses=true enableAuthentication=true maxFailedProviderModuleRestarts=0
435 OOPProvFail_TS1b_CONFIG_OPTIONS = forceProviderProcesses=true enableAuthentication=false maxFailedProviderModuleRestarts=0
|
436 carolann.graves 1.67 OOPProvFail_TS1_TEST_CMDS = \
437 $(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/OOPModuleFailureProvider/testclient@@OOPProvFail_TS1
438
|
439 carolann.graves 1.68 ifndef PEGASUS_DISABLE_PRIVILEGED_TESTS
|
440 carolann.graves 1.67 run_OOPProvFail_TS1:
441 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
442 CIMSERVER_CONFIG_OPTIONS="$(OOPProvFail_TS1a_CONFIG_OPTIONS)" \
443 TESTSUITE_CMDS="$(OOPProvFail_TS1_TEST_CMDS)"
444 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
445 CIMSERVER_CONFIG_OPTIONS="$(OOPProvFail_TS1b_CONFIG_OPTIONS)" \
446 TESTSUITE_CMDS="$(OOPProvFail_TS1_TEST_CMDS)"
|
447 carolann.graves 1.68 else
448 run_OOPProvFail_TS1: FORCE
449 @ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping run_OOPProvFail_TS1"
450 endif
|
451 carolann.graves 1.67
452 ###############################################################################
|
453 kumpf 1.101 ## OOPProvFail Test Suite 2: OOP Provider Module Failure on IndicationService
|
454 carolann.graves 1.67 ## Initialization Tests
455 ##
456 ## Configuration Options: forceProviderProcesses=true
457 ## enableAuthentication=true
458 ##
459 ## NOTE: Regardless of the setting of PEGASUS_DEFAULT_ENABLE_OOP, this test
460 ## suite is always run with OOP enabled. This test suite causes a provider to
461 ## exit. Running this test suite with OOP disabled would cause the cimserver
462 ## to exit and the test suite to fail.
463 ##
464 ###############################################################################
465 OOPProvFail_TS2_CONFIG_OPTIONS = forceProviderProcesses=true enableAuthentication=true
466 OOPProvFail_TS2a_TEST_CMDS = \
467 $(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/OOPModuleFailureProvider/testclient@@OOPProvFail_TS2a
468 OOPProvFail_TS2b_TEST_CMDS = \
469 $(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/OOPModuleFailureProvider/testclient@@OOPProvFail_TS2b
470
|
471 carolann.graves 1.68 ifndef PEGASUS_DISABLE_PRIVILEGED_TESTS
|
472 carolann.graves 1.67 run_OOPProvFail_TS2:
473 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
474 CIMSERVER_CONFIG_OPTIONS="$(OOPProvFail_TS2_CONFIG_OPTIONS)" \
475 TESTSUITE_CMDS="$(OOPProvFail_TS2a_TEST_CMDS)"
476 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
477 CIMSERVER_CONFIG_OPTIONS="$(OOPProvFail_TS2_CONFIG_OPTIONS)" \
478 TESTSUITE_CMDS="$(OOPProvFail_TS2b_TEST_CMDS)"
|
479 carolann.graves 1.68 else
480 run_OOPProvFail_TS2: FORCE
481 @ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping run_OOPProvFail_TS2"
482 endif
|
483 carolann.graves 1.67
484 ###############################################################################
|
485 carolann.graves 1.74 ## OOPProvFail Test Suite 3: OOP Provider Module Failure CIM Server restart
486 ## Tests
487 ##
488 ## Configuration Options: forceProviderProcesses=true
489 ## enableAuthentication=true
490 ##
491 ## NOTE: Regardless of the setting of PEGASUS_DEFAULT_ENABLE_OOP, this test
492 ## suite is always run with OOP enabled. This test suite causes a provider to
493 ## exit. Running this test suite with OOP disabled would cause the cimserver
494 ## to exit and the test suite to fail.
495 ##
496 ###############################################################################
|
497 venkat.puvvada 1.104 OOPProvFail_TS3_CONFIG_OPTIONS = forceProviderProcesses=true enableAuthentication=true maxFailedProviderModuleRestarts=0
|
498 carolann.graves 1.74 OOPProvFail_TS3a_TEST_CMDS = \
499 $(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/OOPModuleFailureProvider/testclient@@OOPProvFail_TS3a
500 OOPProvFail_TS3b_TEST_CMDS = \
501 $(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/OOPModuleFailureProvider/testclient@@OOPProvFail_TS3b
502
503 ifndef PEGASUS_DISABLE_PRIVILEGED_TESTS
504 run_OOPProvFail_TS3:
505 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
506 CIMSERVER_CONFIG_OPTIONS="$(OOPProvFail_TS3_CONFIG_OPTIONS)" \
507 TESTSUITE_CMDS="$(OOPProvFail_TS3a_TEST_CMDS)"
508 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
509 CIMSERVER_CONFIG_OPTIONS="$(OOPProvFail_TS3_CONFIG_OPTIONS)" \
510 TESTSUITE_CMDS="$(OOPProvFail_TS3b_TEST_CMDS)"
511 else
512 run_OOPProvFail_TS3: FORCE
513 @ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping run_OOPProvFail_TS3"
514 endif
515
516 ###############################################################################
|
517 denise.eckstein 1.47 ## Indication SSL Test Suite 1: Indication Testing over HTTPS
518 ##
519 ## Configuration Options: (none)
520 ##
521 ###############################################################################
|
522 denise.eckstein 1.50 INDSSL_TS1a_CONFIG_OPTIONS = enableHttpsConnection=true enableAuthentication=false
|
523 denise.eckstein 1.47 INDSSL_TS1a_TEST_CMDS = \
|
524 denise.eckstein 1.50 $(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/IndicationStressTestProvider/testclient@@-f@@Makefile@@run_TS1_AuthenticationDisabled
525
526 INDSSL_TS1b_CONFIG_OPTIONS = enableHttpsConnection=true enableAuthentication=true sslClientVerificationMode=required
|
527 denise.eckstein 1.47 INDSSL_TS1b_TEST_CMDS = \
|
528 denise.eckstein 1.50 $(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Providers/TestProviders/IndicationStressTestProvider/testclient@@-f@@Makefile@@run_TS1_AuthenticationEnabled
529
|
530 denise.eckstein 1.47
531 ifdef PEGASUS_HAS_SSL
|
532 jim.wunderlich 1.53 ifndef PEGASUS_DISABLE_PRIVILEGED_TESTS
|
533 jim.wunderlich 1.61 run_INDSSL_TS1: EnableUsers Create_SSL_Certificate_ignore
|
534 denise.eckstein 1.47 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
|
535 denise.eckstein 1.50 CIMSERVER_CONFIG_OPTIONS="$(INDSSL_TS1a_CONFIG_OPTIONS)" \
|
536 denise.eckstein 1.47 TESTSUITE_CMDS="$(INDSSL_TS1a_TEST_CMDS)"
537 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
|
538 denise.eckstein 1.50 CIMSERVER_CONFIG_OPTIONS="$(INDSSL_TS1b_CONFIG_OPTIONS)" \
|
539 denise.eckstein 1.47 TESTSUITE_CMDS="$(INDSSL_TS1b_TEST_CMDS)"
540 else
541 run_INDSSL_TS1: FORCE
|
542 jim.wunderlich 1.53 @ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping run_INDSSL_TS1"
543 endif
544 else
545 run_INDSSL_TS1: FORCE
546 @ $(ECHO) "+++++ PEGASUS_HAS_SSL not defined: Skipping run_INDSSL_TS1"
|
547 denise.eckstein 1.47 endif
548
549
550 ###############################################################################
|
551 kumpf 1.101
|
552 denise.eckstein 1.47 ###############################################################################
|
553 sushma.fernandes 1.84 ## SSL IPv4 Test Suite : Tests SSL connections for IPv4
554 ##
555 ## Configuration Options: enableHttpsConnection=true
556 ## NOTE : Authentication is not enabled as we are only verifying
557 ## if SSL based IPv6 connections are working correctly. The osinfo
558 ## client requires a password to be passed for a remote connection
|
559 kumpf 1.101 ## otherwise it will prompt for one. As a work around,
560 ## we are providing a dummy password.
|
561 sushma.fernandes 1.84 ##
562 ###############################################################################
|
563 ouyang.jian 1.91 SSL_IPV4_TS1_CONFIG_OPTIONS = enableHttpsConnection=true \
564 enableAuthentication=false
|
565 sushma.fernandes 1.84 SSL_IPV4_TS1_CMD_1 = \
566 osinfo -s -w notapassword -h 127.0.0.1 -p 5989
567 SSL_IPV4_TS1_CMD_2 = \
568 osinfo -s -w notapassword -h localhost -p 5989
569
570 ifdef PEGASUS_HAS_SSL
571 run_SSL_IPV4_TS1: FORCE
572 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
573 CIMSERVER_CONFIG_OPTIONS="$(SSL_IPV4_TS1_CONFIG_OPTIONS)" \
574 TESTSUITE_CMDS="$(SSL_IPV4_TS1_CMD_1)"
575 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
576 CIMSERVER_CONFIG_OPTIONS="$(SSL_IPV4_TS1_CONFIG_OPTIONS)" \
577 TESTSUITE_CMDS="$(SSL_IPV4_TS1_CMD_2)"
578 else
579 run_SSL_IPV4_TS1: FORCE
580 @ $(ECHO) "+++++ PEGASUS_HAS_SSL not defined: Skipping run_SSL_IPV4_TS1"
581 endif
582
583 ###############################################################################
584 ## SSL IPv6 Test Suite : Tests SSL connections for IPv6
585 ##
586 sushma.fernandes 1.84 ## Configuration Options: enableHttpsConnection=true
587 ## NOTE : Authentication is not enabled as we are only verifying
588 ## if SSL based IPv6 connections are working correctly. The osinfo
589 ## client requires a password to be passed for a remote connection
590 ## otherwise it will prompt for one. As a work around,
|
591 kumpf 1.101 ## we are providing a dummy password.
|
592 sushma.fernandes 1.84 ##
|
593 sushma.fernandes 1.86 ## The IPv4-mapped IPv6 address test is only enabled for unix
594 ## platforms as Windows does not support IPv4-mapped IPv6 addresses
|
595 kumpf 1.101 ## on certain versions.
|
596 sushma.fernandes 1.86 ##
|
597 sushma.fernandes 1.84 ###############################################################################
|
598 ouyang.jian 1.91 SSL_IPV6_TS1_CONFIG_OPTIONS = enableHttpsConnection=true \
599 enableAuthentication=false
|
600 sushma.fernandes 1.84 SSL_IPV6_TS1_CMD_1 = \
601 osinfo -s -w notapassword -h ::1 -p 5989
602 SSL_IPV6_TS1_CMD_2 = \
603 osinfo -s -w notapassword -h ::ffff:127.0.0.1 -p 5989
604
605 ifdef PEGASUS_HAS_SSL
606 run_SSL_IPV6_TS1: FORCE
607 ifeq ($(PEGASUS_TEST_IPV6), true)
608 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
609 CIMSERVER_CONFIG_OPTIONS="$(SSL_IPV6_TS1_CONFIG_OPTIONS)" \
610 TESTSUITE_CMDS="$(SSL_IPV6_TS1_CMD_1)"
|
611 sushma.fernandes 1.86 ifeq ($(OS_TYPE), unix)
|
612 sushma.fernandes 1.84 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
613 CIMSERVER_CONFIG_OPTIONS="$(SSL_IPV6_TS1_CONFIG_OPTIONS)" \
614 TESTSUITE_CMDS="$(SSL_IPV6_TS1_CMD_2)"
|
615 sushma.fernandes 1.86 endif
|
616 sushma.fernandes 1.84 else
617 @ $(ECHO) "+++++ PEGASUS_TEST_IPV6 not defined: Skipping run_SSL_IPV6_TS1"
618 endif
619 else
620 run_SSL_IPV6_TS1: FORCE
621 @ $(ECHO) "+++++ PEGASUS_HAS_SSL not defined: Skipping run_SSL_IPV6_TS1"
622 endif
623
624 ###############################################################################
625 ## CBA SSL Test Suite 1: Certificate based authentication Tests
|
626 nag.boranna 1.27 ##
627 ## Configuration Options: enableAuthentication=true
628 ## enableHttpsConnection=true
629 ## sslClientVerificationMode=optional
630 ## sslTrustStoreUserName=$(CURRENT_USER)
631 ##
632 ###############################################################################
|
633 sushma.fernandes 1.84 SSL_CBA_TS1_CONFIG_OPTIONS = enableHttpsConnection=true enableAuthentication=true \
|
634 nag.boranna 1.27 sslClientVerificationMode=optional sslTrustStoreUserName=$(CURRENT_USER)
|
635 sushma.fernandes 1.84 SSL_CBA_TS1_TEST_CMD_1 = \
|
636 sushma.fernandes 1.71 $(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Clients/cimtrust/tests@@SSLCertificateTest1
|
637 sushma.fernandes 1.84 SSL_CBA_TS1_TEST_CMD_2 = \
|
638 sushma.fernandes 1.72 $(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Clients/cimcrl/tests@@SSLCRLTest1
|
639 nag.boranna 1.27
|
640 jim.wunderlich 1.39 ifdef PEGASUS_HAS_SSL
|
641 jim.wunderlich 1.53 ifndef PEGASUS_DISABLE_PRIVILEGED_TESTS
|
642 sushma.fernandes 1.84 run_SSL_CBA_TS1: FORCE
|
643 nag.boranna 1.27 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
|
644 sushma.fernandes 1.84 CIMSERVER_CONFIG_OPTIONS="$(SSL_CBA_TS1_CONFIG_OPTIONS)" \
645 TESTSUITE_CMDS="$(SSL_CBA_TS1_TEST_CMD_1)"
|
646 sushma.fernandes 1.72 $(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_2)"
|
649 jim.wunderlich 1.39 else
|
650 sushma.fernandes 1.84 run_SSL_CBA_TS1: FORCE
651 @ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping run_SSL_CBA_TS1"
|
652 jim.wunderlich 1.53 endif
653 else
|
654 sushma.fernandes 1.84 run_SSL_CBA_TS1: FORCE
655 @ $(ECHO) "+++++ PEGASUS_HAS_SSL not defined: Skipping run_SSL_CBA_TS1"
|
656 jim.wunderlich 1.39
657 endif
658
|
659 jim.wunderlich 1.61 ############################################################################
|
660 kumpf 1.101 #
|
661 jim.wunderlich 1.61 # Create_SSL_Certificate
662 #
663 # create a certificate that can be used for certification testing.
664 # It is currently used by the following tests:
665 # -run_INDSSL_TS1
666 #
667 Create_SSL_Certificate_ignore: FORCE
668 -$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile Create_SSL_Certificate
669
670 Create_SSL_Certificate: FORCE
671 ifdef PEGASUS_HAS_SSL
672 ifdef PEGASUS_TEST_USER_DEFINED
673 $(ECHO) "Creating SSL certificate for test"
|
674 sushma.fernandes 1.71 cimtrust -a -U $(PEGASUS_TEST_USER_ID) -f $(PEGASUS_HOME)/server.pem -Ts
|
675 jim.wunderlich 1.61 endif
676 else
677 $(ECHO) "PEGASUS_HAS_SSL not defined - Not Creating SSL certificate for test"
678 endif
679
|
680 kumpf 1.46 ###############################################################################
|
681 kumpf 1.101 ## G11N Test Suite 1: Globalization Tests
|
682 kumpf 1.46 ##
683 ## Configuration Options: forceProviderProcesses=false
684 ##
685 ###############################################################################
686 G11N_TS1_CONFIG_OPTIONS = forceProviderProcesses=false
687 G11N_TS1_TEST_CMDS = \
688 $(MAKE) --directory $(PEGASUS_ROOT)/src/Clients/g11ntest \
689 -f Makefile g11ntest
690
691 run_G11N_TS1:
692 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
693 CIMSERVER_CONFIG_OPTIONS="$(G11N_TS1_CONFIG_OPTIONS)" \
694 TESTSUITE_CMDS="$(G11N_TS1_TEST_CMDS)"
|
695 j.alex 1.66
696 ###############################################################################
697 ## Stress Test Suite 1: Default Stress Tests
698 ##
699 ## Configuration Options: (none)
700 ##
701 ###############################################################################
702 STRESS_TS1_CONFIG_OPTIONS =
703 STRESS_TS1_TEST_CMDS = \
704 TestStressTestController
705
706 run_STRESS_TS1:
707 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
708 CIMSERVER_CONFIG_OPTIONS="$(STRESS_TS1_CONFIG_OPTIONS)" \
709 TESTSUITE_CMDS="$(STRESS_TS1_TEST_CMDS)"
|
710 kumpf 1.46 ###############################################################################
711
|
712 denise.eckstein 1.73 ###############################################################################
713 ## SDK Test Suite 1: SDK Tests
714 ##
715 ## Configuration Options: (none)
716 ##
717 ###############################################################################
718 SDK_TS1_CONFIG_OPTIONS =
719 SDK_TS1_TEST_CMDS = \
720 $(MAKE) --directory $(PEGASUS_ROOT)/src/SDK/samples \
|
721 kumpf 1.101 -f Makefile testSDK
|
722 denise.eckstein 1.73
723 ifeq ($(PEGASUS_TEST_SDK),true)
724 run_SDK_TS1: FORCE
725 $(MAKE) --directory=$(PEGASUS_ROOT)/mak \
726 -f $(PEGASUS_ROOT)/mak/SDKMakefile stageINCLUDE \
727 PEGASUS_STAGING_DIR=$(PEGASUS_HOME) \
728 PEGASUS_INCLUDE_DIR=/include
729 $(MAKE) --directory=$(PEGASUS_ROOT)/src/SDK/samples \
730 -f Makefile clean
731 $(MAKE) --directory=$(PEGASUS_ROOT)/src/SDK/samples \
732 -f Makefile PEGASUS_INCLUDE_DIR=$(PEGASUS_HOME)/include
733 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
734 CIMSERVER_CONFIG_OPTIONS="$(SDK_TS1_CONFIG_OPTIONS)" \
735 TESTSUITE_CMDS="$(SDK_TS1_TEST_CMDS)"
736 else
737 run_SDK_TS1: FORCE
738 @ $(ECHO) "+++++ PEGASUS_TEST_SDK is not true: Skipping run_SDK_TS1"
739 endif
740 ###############################################################################
|
741 jim.wunderlich 1.39
|
742 nag.boranna 1.27 ###############################################################################
|
743 carolann.graves 1.75 ## Export Client SSL Test Suite 1:
744 ##
745 ## Configuration Options: enableHttpsConnection=true
746 ##
747 ###############################################################################
748 ExportClientSSL_TS1_CONFIG_OPTIONS = enableHttpsConnection=true
749 ExportClientSSL_TS1_TEST_CMDS = \
750 $(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Pegasus/ExportClient/tests/ExportClient@@-f@@Makefile@@runExportClientSSL_TS1
751
752 ifdef PEGASUS_HAS_SSL
753 run_ExportClientSSL_TS1:
754 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
755 CIMSERVER_CONFIG_OPTIONS="$(ExportClientSSL_TS1_CONFIG_OPTIONS)" \
756 TESTSUITE_CMDS="$(ExportClientSSL_TS1_TEST_CMDS)"
757 else
758 run_ExportClientSSL_TS1: FORCE
759 @ $(ECHO) "+++++ PEGASUS_HAS_SSL not defined: Skipping run_ExportClientSSL_TS1"
760 endif
761
762 ###############################################################################
|
763 nag.boranna 1.27
|
764 jim.wunderlich 1.34
765
|
766 w.otsuka 1.76 ###############################################################################
|
767 dave.sudlik 1.88 ## idleConnectionTimeout Test Suite 1: uses ChunkingStressProvider Tests
768 ##
|
769 dave.sudlik 1.89 ## Configuration Options: idleConnectionTime=55
|
770 dave.sudlik 1.88 ##
771 ###############################################################################
|
772 dave.sudlik 1.89 IDLE_CONNECTION_TIMEOUT_1_CONFIG_OPTIONS = idleConnectionTimeout=55
|
773 dave.sudlik 1.88 IDLE_CONNECTION_TIMEOUT_1_TEST_CMDS = \
774 $(MAKE)@@--directory \
775 $(PEGASUS_ROOT)/src/Providers/TestProviders/ChunkingStressProvider/testclient \
776 -f@@Makefile@@poststarttests
777 run_idleConnectionTimeout1: FORCE
778 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
779 CIMSERVER_CONFIG_OPTIONS="$(IDLE_CONNECTION_TIMEOUT_1_CONFIG_OPTIONS)" \
780 TESTSUITE_CMDS="$(IDLE_CONNECTION_TIMEOUT_1_TEST_CMDS)"
781 ###############################################################################
782
783 ###############################################################################
784 ## idleConnectionTimeout Test Suite 2: uses IdleConnectionTimeout client test
785 ##
786 ## Configuration Options: idleConnectionTime=6
787 ##
788 ###############################################################################
789 IDLE_CONNECTION_TIMEOUT_2_CONFIG_OPTIONS = idleConnectionTimeout=6
790 IDLE_CONNECTION_TIMEOUT_2_TEST_CMDS = \
791 $(MAKE)@@--directory \
792 $(PEGASUS_ROOT)/src/Pegasus/Client/tests/IdleConnectionTimeout/ \
793 -f@@Makefile@@timeoutTest@@IDLETIME=10
794 dave.sudlik 1.88 run_idleConnectionTimeout2: FORCE
795 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
796 CIMSERVER_CONFIG_OPTIONS="$(IDLE_CONNECTION_TIMEOUT_2_CONFIG_OPTIONS)" \
797 TESTSUITE_CMDS="$(IDLE_CONNECTION_TIMEOUT_2_TEST_CMDS)"
798 ###############################################################################
799
|
800 sahana.prabhakar 1.103 ###############################################################################
801 ## cimserver thread limit test:
802 ##
803 ## Configuration Options: none
804 ##
805 ###############################################################################
806 CIMSERVER_THREAD_LIMIT_TEST_CONFIG_OPTIONS = forceProviderProcesses=true
807 CIMSERVER_THREAD_LIMIT_TEST_CMDS = \
808 $(MAKE)@@--directory \
809 $(PEGASUS_ROOT)/src/Providers/TestProviders/FaultyInstanceProvider/testclient \
810 -f@@Makefile@@runAvailabilityTest
811 run_Cimserver_Availability: FORCE
812 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
813 CIMSERVER_CONFIG_OPTIONS="$(CIMSERVER_THREAD_LIMIT_TEST_CONFIG_OPTIONS)" \
814 TESTSUITE_CMDS="$(CIMSERVER_THREAD_LIMIT_TEST_CMDS)"
815 ###############################################################################
|
816 dave.sudlik 1.88
817 ###############################################################################
|
818 w.otsuka 1.76 ## cimsub CLI Test Suite 1: PG_InterOp Tests
819 ##
820 ## Configuration Options: (none)
821 ##
822 ###############################################################################
823 CIMSUB_INTEROP_CONFIG_OPTIONS =
824 CIMSUB_INTEROP_TEST_CMDS = \
825 $(MAKE) --directory \
826 $(PEGASUS_ROOT)/src/Clients/cimsub/tests/testscriptInterOp \
827 -f Makefile cimsubTest_InterOp
828 run_Cimsub_InterOp: FORCE
829 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
830 CIMSERVER_CONFIG_OPTIONS="$(CIMSUB_INTEROP_CONFIG_OPTIONS)" \
831 TESTSUITE_CMDS="$(CIMSUB_INTEROP_TEST_CMDS)"
832 ###############################################################################
833
834 ###############################################################################
|
835 s.kodali 1.85 ## CMPI subscription activation Test Suite 1:
836 ##
837 ## Configuration Options: (none)
838 ##
839 ###############################################################################
840 CMPI_SUB_TEST_CONFIG_OPTIONS=
841 CMPI_SUBa_TEST_CMDS = \
842 TestIndicationStressTest TestCMPI_IndicationStressTestClass test/TestProvider setup WQL
843 CMPI_SUBb_TEST_CMDS = \
844 TestIndicationStressTest TestCMPI_IndicationStressTestClass test/TestProvider getSubscriptionCount
845 CMPI_SUBc_TEST_CMDS = \
846 TestIndicationStressTest TestCMPI_IndicationStressTestClass test/TestProvider cleanup
847 run_Cmpi_Sub: FORCE
848 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
849 CIMSERVER_CONFIG_OPTIONS="$(CMPI_SUB_TEST_CONFIG_OPTIONS)" \
850 TESTSUITE_CMDS="$(CMPI_SUBa_TEST_CMDS)"
851 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
852 CIMSERVER_CONFIG_OPTIONS="$(CMPI_SUB_TEST_CONFIG_OPTIONS)" \
853 TESTSUITE_CMDS="$(CMPI_SUBb_TEST_CMDS)"
854 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
855 CIMSERVER_CONFIG_OPTIONS="$(CMPI_SUB_TEST_CONFIG_OPTIONS)" \
856 s.kodali 1.85 TESTSUITE_CMDS="$(CMPI_SUBc_TEST_CMDS)"
|
857 kumpf 1.101
|
858 s.kodali 1.85 ##############################################################################
|
859 w.otsuka 1.76
860
|
861 s.kodali 1.105 #############################################################################
862 ##
863 ## 32-bit provider tests on 64-bit CIMServer
864 ##
865 #############################################################################
866
867 TEST_32BIT_CONFIG_OPTIONS = providerDir=lib32:lib
868 TEST_32BIT_CMDS = \
869 $(MAKE)@@--directory \
870 $(PEGASUS_ROOT)/src/Providers/TestProviders -f@@Makefile.cimprovagt32tests@@cimprovagt32tests
871 cimprovagt32tests: FORCE
|
872 venkat.puvvada 1.106 ifdef PEGASUS_PLATFORM_FOR_32BIT_PROVIDER_SUPPORT
|
873 s.kodali 1.105 $(MAKE) -f $(PEGASUS_ROOT)/TestMakefile runTestSuite \
874 CIMSERVER_CONFIG_OPTIONS="$(TEST_32BIT_CONFIG_OPTIONS)" \
875 TESTSUITE_CMDS="$(TEST_32BIT_CMDS)"
|
876 venkat.puvvada 1.106 else
877 @$(ECHO) "PEGASUS_PLATFORM_FOR_32BIT_PROVIDER_SUPPORT not defined, skipping 32-bit tests..."
878 endif
|
879 s.kodali 1.105
|
880 venkat.puvvada 1.107
881 #############################################################################
882 ##
883 ## provider lifecycle indications tests
884 ##
885 #############################################################################
886 run_providerLifecycleIndicationTests: FORCE
887 $(MAKE) --directory $(PEGASUS_ROOT)/src/Providers/TestProviders/TestProviderLifecycleIndications/testclient -f Makefile setupLogFile
888 -$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
889 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="forceProviderProcesses=true maxFailedProviderModuleRestarts=1"
890 $(MAKE) --directory $(PEGASUS_ROOT)/src/Providers/TestProviders/TestProviderLifecycleIndications/testclient -f Makefile createPLISubscription
891 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
892 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="forceProviderProcesses=true maxFailedProviderModuleRestarts=1"
893 $(MAKE) --directory $(PEGASUS_ROOT)/src/Providers/TestProviders/TestProviderLifecycleIndications/testclient -f Makefile testPLI
894 $(MAKE) --directory $(PEGASUS_ROOT)/src/Providers/TestProviders/TestProviderLifecycleIndications/testclient -f Makefile deletePLISubscription
895 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
896 $(MAKE) --directory $(PEGASUS_ROOT)/src/Providers/TestProviders/TestProviderLifecycleIndications/testclient -f Makefile testLogFile
897
|
898 jim.wunderlich 1.34 ##############################################################################
899 ##
900 ## TestXMLRepository rule is used to run the poststarttests suite on
901 ## the XML Repository built using cimmofl
902 ##
903 ## TestXMLRepositoryServer rule is used to run the poststarttests suite on
904 ## the XML Repository built using cimmof
905 ##
|
906 kumpf 1.101 ## TestXMLCmpRepository rule is used to run the poststarttest suite on
|
907 jim.wunderlich 1.34 ## the XML Compressed Repository built using cimmofl
908 ##
909
910 ############################
911 ##
912 ## TestXMLRepository
913 ##
914
915 TestXMLRepository: TestXMLClean TestXMLBuildRepo TestXMLRepo
916 @ $(ECHO) TestXMLRepository +++++ passed all test
917
918 ############################
919 ##
920 ## TestXMLRepositoryServer
921 ##
922 TestXMLRepositoryServer: TestXMLClean TestXMLBuildRepoServ TestXMLRepo
923 @ $(ECHO) TestXMLRepositoryServer +++++ passed all test
924
925 ############################
926 ##
927 ## TestXMLCmpRepository - run poststarttest on Compressed BIN Repository
928 jim.wunderlich 1.34 ##
929 ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY
930 TestXMLCmpRepository: FORCE
931 @ $(ECHO) TestXMLCmpRepository +++++ Repository compressed by default - nothing more to test.
932 @ $(ECHO) TestXMLCmpRepository +++++ passed all test
933 else
934
935 ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST
936
937 TestXMLCmpRepository: TestXMLClean TestCmpBuild TestXMLBuildRepo TestXMLRepo TestRegBuild
938 @ $(ECHO) TestXMLCmpRepository +++++ passed all test
939 else
940 TestXMLCmpRepository: FORCE
|
941 kumpf 1.101 @ $(ECHO) TestXMLCmpRepository +++++ Not tested
|
942 jim.wunderlich 1.34 @ $(ECHO) TestXMLCmpRepository +++++ refer to readme.compressed_repository
|
943 kumpf 1.101 @ $(ECHO) TestXMLCmpRepository +++++ to enable: set PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST=true
|
944 jim.wunderlich 1.34 endif
945 endif
946
947 ###########################
948 ##
949 ## TestXMLClean
950 ##
951 TestXMLClean: FORCE
|
952 kumpf 1.101 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
|
953 jim.wunderlich 1.34 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryclean REPOSITORY_NAME=repository_xml
954
955
956 ###########################
957 ##
958 ## TestXMLStartServer
959 ##
960 TestXMLStartServer: FORCE
961 $(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run
962 - $(MKDIRHIER) $(PEGASUS_HOME)/repository_xml
963 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="repositoryDir=$(PEGASUS_HOME)/repository_xml"
964 $(SLEEP) 5
965
966 ####
967 #### The following caused the cimserver to fail on startup
968 ####
969 #### $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableBinRepository=false repositoryDir=$(PEGASUS_HOME)/repository_xml"
970
971 ###########################
972 ##
973 ## TestXMLBuildRepo
974 jim.wunderlich 1.34 ##
975 TestXMLBuildRepo: FORCE
976 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
977 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
978
979
980 ###########################
981 ##
982 ## TestXMLBuildRepoServ
983 ##
984 TestXMLBuildRepoServ: TestXMLStartServer
985 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
986 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
|
987 kumpf 1.101 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
|
988 jim.wunderlich 1.34
989
990 ###########################
991 ##
992 ## TestXMLRepo
993 ##
|
994 jim.wunderlich 1.40 TestXMLRepo: servertestsclean
|
995 jim.wunderlich 1.35 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestXMLStartServer
|
996 jim.wunderlich 1.34 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests REPOSITORY_NAME=repository_xml REPOSITORY_MODE=XML
|
997 kumpf 1.101 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
|
998 jim.wunderlich 1.34
999
1000
1001
1002
1003
|
1004 jim.wunderlich 1.29 ##############################################################################
1005 ##
|
1006 jim.wunderlich 1.31 ## TestBinRepository rule is used to run the poststarttests suite on
|
1007 jim.wunderlich 1.33 ## the Binary Repository built using cimmofl
|
1008 jim.wunderlich 1.29 ##
|
1009 jim.wunderlich 1.31 ## TestBinRepositoryServer rule is used to run the poststarttests suite on
|
1010 jim.wunderlich 1.33 ## the Binary Repository built using cimmof
1011 ##
|
1012 kumpf 1.101 ## TestBinCmpRepository rule is used to run the poststarttest suite on
|
1013 jim.wunderlich 1.33 ## the Binry Compressed Repository built using cimmofl
|
1014 jim.wunderlich 1.29 ##
|
1015 jim.wunderlich 1.31
1016 ############################
|
1017 jim.wunderlich 1.29 ##
|
1018 jim.wunderlich 1.31 ## TestBinRepository
|
1019 jim.wunderlich 1.29 ##
|
1020 jim.wunderlich 1.33 ### bug 3011 disabled Binary Repository testing on LINUX_IA64 to allow
1021 ### the nightly tests to run
1022
|
1023 jim.wunderlich 1.31 TestBinRepository: TestBinClean TestBinBuildRepo TestBinRepo
|
1024 jim.wunderlich 1.33 @ $(ECHO) TestBinRepository +++++ passed all test
|
1025 jim.wunderlich 1.36
|
1026 jim.wunderlich 1.29
|
1027 jim.wunderlich 1.31 ############################
1028 ##
1029 ## TestBinRepositoryServer
1030 ##
1031 TestBinRepositoryServer: TestBinClean TestBinBuildRepoServ TestBinRepo
|
1032 jim.wunderlich 1.33 @ $(ECHO) TestBinRepositoryServer +++++ passed all test
1033
1034 ############################
1035 ##
1036 ## TestBinCmpRepository - run poststarttest on Compressed BIN Repository
1037 ##
1038 ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY
|
1039 jim.wunderlich 1.34 TestBinCmpRepository: FORCE
|
1040 jim.wunderlich 1.33 @ $(ECHO) TestBinCmpRepository +++++ Repository compressed by default - nothing more to test.
1041 @ $(ECHO) TestBinCmpRepository +++++ passed all test
1042 else
1043
1044 ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST
1045
|
1046 jim.wunderlich 1.34 TestBinCmpRepository: TestBinClean TestCmpBuild TestBinBuildRepo TestBinRepo TestRegBuild
|
1047 jim.wunderlich 1.33 @ $(ECHO) TestBinCmpRepository +++++ passed all test
1048 else
|
1049 jim.wunderlich 1.34 TestBinCmpRepository: FORCE
|
1050 kumpf 1.101 @ $(ECHO) TestBinCmpRepository +++++ Not tested
|
1051 jim.wunderlich 1.33 @ $(ECHO) TestBinCmpRepository +++++ refer to readme.compressed_repository
|
1052 kumpf 1.101 @ $(ECHO) TestBinCmpRepository +++++ to enable: set PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST=true
|
1053 jim.wunderlich 1.33 endif
1054 endif
1055
1056
|
1057 jim.wunderlich 1.31 ###########################
1058 ##
1059 ## TestBinClean
1060 ##
|
1061 jim.wunderlich 1.34 TestBinClean: FORCE
|
1062 kumpf 1.101 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
|
1063 jim.wunderlich 1.31 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryclean REPOSITORY_NAME=repository_bin
|
1064 jim.wunderlich 1.29
|
1065 jim.wunderlich 1.31
1066 ###########################
|
1067 jim.wunderlich 1.29 ##
|
1068 jim.wunderlich 1.31 ## TestBinStartServer
|
1069 jim.wunderlich 1.29 ##
|
1070 jim.wunderlich 1.34 TestBinStartServer: FORCE
|
1071 jim.wunderlich 1.30 $(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run
|
1072 jim.wunderlich 1.31 - $(MKDIRHIER) $(PEGASUS_HOME)/repository_bin
1073 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableBinaryRepository=true repositoryDir=$(PEGASUS_HOME)/repository_bin"
|
1074 jim.wunderlich 1.29 $(SLEEP) 5
|
1075 jim.wunderlich 1.31
1076 ###########################
|
1077 jim.wunderlich 1.29 ##
|
1078 jim.wunderlich 1.31 ## TestBinBuildRepo
|
1079 jim.wunderlich 1.29 ##
|
1080 jim.wunderlich 1.34 TestBinBuildRepo: FORCE
|
1081 jim.wunderlich 1.29 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
1082 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
|
1083 jim.wunderlich 1.31
1084
1085 ###########################
1086 ##
1087 ## TestBinBuildRepoServ
1088 ##
1089 TestBinBuildRepoServ: TestBinStartServer
1090 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
1091 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
|
1092 kumpf 1.101 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
|
1093 jim.wunderlich 1.31
1094
1095 ###########################
1096 ##
1097 ## TestBinRepo
1098 ##
|
1099 kumpf 1.101 TestBinRepo: servertestsclean
|
1100 jim.wunderlich 1.35 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestBinStartServer
|
1101 jim.wunderlich 1.29 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests REPOSITORY_NAME=repository_bin REPOSITORY_MODE=BIN
|
1102 kumpf 1.101 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
|
1103 jim.wunderlich 1.29
1104
1105
|
1106 jim.wunderlich 1.34
1107 ############################
1108 ##
1109 ## TestCmpBuild - used to compile the repository for compression
1110 ##
1111 TestCmpBuild: FORCE
1112 @ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository clean
1113 @ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository depend PEGASUS_ENABLE_COMPRESSED_REPOSITORY=1
1114 @ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository PEGASUS_ENABLE_COMPRESSED_REPOSITORY=1
1115
1116
1117 ############################
1118 ##
1119 ## TestRegBuild - used to compile the repository for no compression
1120 ##
1121 TestRegBuild: FORCE
1122 @ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository clean
|
1123 kumpf 1.101 @ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository depend
1124 @ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository
|
1125 jim.wunderlich 1.34
|
1126 nag.boranna 1.27 ###############################################################################
|
1127 kumpf 1.1 ##
1128 ## Trace Configuration
1129 ##
|
1130 jim.wunderlich 1.43 ## Options: see usagetrace rule
1131 ##
1132 ###############################################################################
1133
1134 usagetrace: FORCE
1135 $(USAGE)
|
1136 jim.wunderlich 1.60 $(USAGE)"TestMakefile Trace Commands: "
1137 $(USAGE)" The cimserver must be running when using W=c which is the default for W"
|
1138 jim.wunderlich 1.43 $(USAGE)
|
1139 jim.wunderlich 1.60 $(USAGE)" traceon W=[current/planned(c,p): Enables all tracing."
1140 $(USAGE)" traceoff W=[current/planned(c,p): Disables all tracing."
1141 $(USAGE)" tracesettings: Displays all trace settings."
1142 $(USAGE)" tracecomp: Displays a trace componenets list."
1143 $(USAGE)" traceon-CL C=[comp] L=[level(1,2,3,4)] W=[current/planned(c,p): "
1144 $(USAGE)" Enables tracing on component C at trace level L."
1145 $(USAGE)
|
1146 kumpf 1.101 $(USAGE)" W defaults to c in the above commands where W can be specified"
|
1147 jim.wunderlich 1.43 $(USAGE)
|
1148 jim.wunderlich 1.60 $(USAGE)" Usage examples:"
1149 $(USAGE)" traceon turns on trace in current server config"
1150 $(USAGE)" traceon W=c turns on trace in current server config"
1151 $(USAGE)" traceon W=p turns on trace in planned server config"
1152 $(USAGE)" traceoff turns on trace in current server config"
1153 $(USAGE)" traceoff W=c turns on trace in current server config"
1154 $(USAGE)" traceoff W=p turns on trace in planned server config"
1155 $(USAGE)
1156 $(USAGE)" traceon-CL C=DiscardedData L=3 W=c"
1157 $(USAGE)" Turns on trace for DiscardedData at level 3 in current server config"
1158 $(USAGE)" traceon-CL C=DiscardedData L=3 W=p"
1159 $(USAGE)" Turns on trace for DiscardedData at level 3 in planned server config"
|
1160 jim.wunderlich 1.43 $(USAGE)
1161 $(USAGE)
1162
1163 traceon: FORCE
|
1164 kumpf 1.101 @ cimconfig -s traceComponents=ALL -$W
|
1165 jim.wunderlich 1.60 @ cimconfig -s traceLevel=3 -$W
1166 $(MAKE) -f $(ROOT)/TestMakefile tracesettings
1167
|
1168 jim.wunderlich 1.43
1169 traceoff: FORCE
|
1170 jim.wunderlich 1.60 @ cimconfig -s traceComponents= -$W
1171 $(MAKE) -f $(ROOT)/TestMakefile tracesettings
|
1172 jim.wunderlich 1.43
1173
1174 tracesettings: FORCE
1175 @ $(ECHO) " "
|
1176 jim.wunderlich 1.60 cimconfig -g traceComponents -c -p
|
1177 jim.wunderlich 1.43 @ $(ECHO) " "
|
1178 jim.wunderlich 1.60 cimconfig -g traceLevel -c -p
|
1179 jim.wunderlich 1.43 @ $(ECHO) " "
|
1180 jim.wunderlich 1.60 cimconfig -g traceFilePath -c -p
|
1181 jim.wunderlich 1.43 @ $(ECHO) " "
1182
1183 traceon-CL: FORCE
|
1184 jim.wunderlich 1.60 @ cimconfig -s traceComponents=$C -$W
1185 @ cimconfig -s traceLevel=$L -$W
1186 $(MAKE) -f $(ROOT)/TestMakefile tracesettings
|
1187 jim.wunderlich 1.43
1188 tracecomp: FORCE
1189 $(USAGE)
1190 $(USAGE)"Trace component list:"
1191 $(USAGE)
1192 $(USAGE)"Channel"
1193 $(USAGE)"XmlParser"
1194 $(USAGE)"XmlWriter"
1195 $(USAGE)"XmlReader"
1196 $(USAGE)"XmlIO"
1197 $(USAGE)"Http"
1198 $(USAGE)"CimData"
1199 $(USAGE)"ProvManager"
1200 $(USAGE)"Repository"
1201 $(USAGE)"Dispatcher"
1202 $(USAGE)"OsAbstraction"
1203 $(USAGE)"Config"
1204 $(USAGE)"IndDelivery"
1205 $(USAGE)"IndHandler"
1206 $(USAGE)"Authentication"
1207 $(USAGE)"Authorization"
1208 jim.wunderlich 1.43 $(USAGE)"UserManager"
1209 $(USAGE)"SubscriptionService"
1210 $(USAGE)"Registration"
1211 $(USAGE)"Shutdown"
1212 $(USAGE)"Server"
1213 $(USAGE)"IndicationService"
1214 $(USAGE)"IndicationServiceInternal"
1215 $(USAGE)"ConfigurationManager"
1216 $(USAGE)"MessageQueueService"
1217 $(USAGE)"ProviderManager"
1218 $(USAGE)"ObjectResolution"
1219 $(USAGE)"WQL"
1220 $(USAGE)"CQL"
1221 $(USAGE)"Thread"
1222 $(USAGE)"MetaDispatcher"
1223 $(USAGE)"IPC"
1224 $(USAGE)"IndicationHandlerService"
1225 $(USAGE)"CIMExportRequestDispatcher"
1226 $(USAGE)"Memory"
1227 $(USAGE)"SSL"
1228 $(USAGE)"ControlProvider"
1229 jim.wunderlich 1.43 $(USAGE)"AsyncOpNode"
1230 $(USAGE)"CIMOMHandle"
1231 $(USAGE)"L10N"
1232 $(USAGE)"ExportClient"
1233 $(USAGE)"Listener"
1234 $(USAGE)"DiscardedData"
1235 $(USAGE)"ProviderAgent"
1236 $(USAGE)
1237
1238 ###############################################################################
1239 ##
1240 ## Trace Configuration - Old rules being deprecated
1241 ##
|
1242 kumpf 1.1 ## Options:
1243 ## XMLTraceOn: Enables XML request and response tracing.
1244 ## ProviderLoadTraceOn: Enables Provider load tracing.
1245 ## XML+ProviderLoadTraceOn: Enables both XML request/response and Provider
1246 ## load tracing.
1247 ## AllTraceOn: Enables all tracing.
1248 ## AllTraceOff: Disables all tracing.
1249 ## list: Lists trace settings.
1250 ##
1251 ###############################################################################
1252
1253 XMLTraceOn:
1254 cimconfig -s traceComponents=XmlIO -c
1255 cimconfig -s traceLevel=3 -c
1256 cimconfig -g traceComponents
1257 cimconfig -g traceLevel
1258
1259 ProviderLoadTraceOn:
1260 cimconfig -s traceComponents=ProvManager,OsAbstraction
1261 cimconfig -s traceLevel=3 -c
1262 cimconfig -g traceComponents
1263 kumpf 1.1 cimconfig -g traceLevel
1264
1265 XML+ProviderLoadTraceOn:
1266 cimconfig -s traceComponents=XmlIO,ProvManager,OsAbstraction
1267 cimconfig -s traceLevel=3 -c
1268 cimconfig -g traceComponents
1269 cimconfig -g traceLevel
1270
|
1271 jim.wunderlich 1.43 AllTraceOn: traceon
1272
1273 AllTraceOff: traceoff
|
1274 kumpf 1.1
|
1275 jim.wunderlich 1.43 list: tracesettings
|
1276 kumpf 1.1
|
1277 jim.wunderlich 1.55 #########################################################################
1278 # standardtests
1279 #
1280 # More testing options...
1281 #
|
1282 kumpf 1.101 # The standard test seem to contain additional test that may not be able
|
1283 jim.wunderlich 1.55 # to run on all platforms so they have been grouped here for now rather than
1284 # being included in the serversuite rule.
1285 #
1286 # The test are:
1287 # TestCimmof
1288 # TestNoSecurity
1289 # TestLocalSecurity
1290 # TestRemoteSecurity
1291 # TestAuthorization
1292 #
1293 # NOTE: The TestsNoSecurity test is comprised of DisableSecurity and
1294 # TestNoSecurity.
1295 #
1296 # NOTE: The TestNoSecurity step runs the servertests which builds the
1297 # the repository that is then left in place for the remaining tests.
1298 # The cimof test must be before the TestNosecurity step as it removes
1299 # the repository builds a new one with cimmofl and another one with
|
1300 kumpf 1.101 # cimmof and then compares them.
|
1301 jim.wunderlich 1.55 #
|
1302 kumpf 1.101 # NOTE: The Authentication test is comprised of EnableAuthentication,
1303 # TestLocalSecurity and TestRemoteSecurity.
|
1304 jim.wunderlich 1.55 #
1305 # NOTE: The Authorization test is comprised of EnableAuthorization and
|
1306 kumpf 1.101 # TestAuthorization.
|
1307 jim.wunderlich 1.55 #
|
1308 kumpf 1.101 # NOTE: The EnableAuthentication and EnableAuthorization steps require
|
1309 jim.wunderlich 1.55 # root access. Pegasus doesn't currently have the infrastructure
1310 # in place to run the server as root and run the test as non-root.
1311 # Rather than run everything, server, tests, providers, clients etc.
1312 # as root many testers prefer to run the tests as non-root. Setting
|
1313 kumpf 1.101 # PEGASUS_DISABLE_PRIVILEGED_TESTS in the environment helps to
|
1314 jim.wunderlich 1.55 # facilitate that.
1315 #
|
1316 kumpf 1.1
|
1317 jim.wunderlich 1.40 standardtests: FORCE
|
1318 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i DisableSecurity
1319 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestCimmof
|
1320 kumpf 1.94 # $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestNoSecurity
1321 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository testrepository
|
1322 jim.wunderlich 1.55 ifndef PEGASUS_DISABLE_PRIVILEGED_TESTS
|
1323 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile EnableAuthentication
1324 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestLocalSecurity
1325 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestRemoteSecurity
1326 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile EnableAuthorization
1327 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestAuthorization
|
1328 jim.wunderlich 1.53 else
|
1329 jim.wunderlich 1.55 @ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping EnableAuthentication, TestLocalSecurity, and TestRemoteSecurity "
|
1330 jim.wunderlich 1.53 @ $(ECHO) "+++++ PEGASUS_DISABLE_PRIVILEGED_TESTS defined: Skipping EnableAuthorization and TestAuthorization "
1331 endif
|
1332 kumpf 1.94 # Reset the security options to the defaults
1333 cimconfig -u enableNamespaceAuthorization -p
1334 cimconfig -u enableAuthentication -p
|
1335 kumpf 1.93 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
|
1336 jim.wunderlich 1.40 @ $(ECHO) "+++++ TestMakefile standardtests complete"
|
1337 kumpf 1.1
1338 TestNoSecurity:
|
1339 jim.wunderlich 1.56 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile servertests
|
1340 kumpf 1.24 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
|
1341 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
|
1342 kumpf 1.1
1343 TestLocalSecurity:
|
1344 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
|
1345 kumpf 1.1 $(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile poststarttests HOSTNAME= PORT= USER= PASSWORD= SECURITY_ENABLED=true
1346
1347 TestRemoteSecurity:
|
1348 jim.wunderlich 1.59 TestClient -user $(PEGASUS_TEST_USER_ID) -password $(PEGASUS_TEST_USER_PASS) $(system):5988
1349 $(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
|
1350 kumpf 1.1
1351 TestAuthorization:
|
1352 jim.wunderlich 1.59 TestPegClientDeleteNamespace -a -user $(PEGASUS_TEST_USER_ID) -password $(PEGASUS_TEST_USER_PASS)
|
1353 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile RunTestClientLocal
|
1354 jim.wunderlich 1.59 TestClient -user $(PEGASUS_TEST_USER_ID) -password $(PEGASUS_TEST_USER_PASS) $(system):5988
1355 $(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
|
1356 kumpf 1.1
1357 TestSubscriptions:
|
1358 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile DisableSecurity
|
1359 kumpf 1.1 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository
1360 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository
|
1361 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
|
1362 david.dillard 1.15 $(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/cimv2/Subscription -f Makefile poststarttests
|
1363 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimstop
|
1364 kumpf 1.1
1365 TestCimmof:
|
1366 kumpf 1.95 # Build the repository with cimmofl and cimmof and compare them.
1367 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1368 -@$(MOVE) $(REPOSITORY_DIR)/repository $(REPOSITORY_DIR)/repository-save
1369 @$(RMREPOSITORY) $(REPOSITORY_DIR)/repository-cimmofl
1370 @$(RMREPOSITORY) $(REPOSITORY_DIR)/repository-cimmof
1371 @$(ECHO) $(CIM_SCHEMA_DIR)
1372 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository
1373 @$(MOVE) $(REPOSITORY_DIR)/repository $(REPOSITORY_DIR)/repository-cimmofl
1374 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimstart
1375 @$(ECHO) $(CIM_SCHEMA_DIR)
1376 $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer
1377 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimstop
1378 @$(MOVE) $(REPOSITORY_DIR)/repository $(REPOSITORY_DIR)/repository-cimmof
1379 -@$(MOVE) $(REPOSITORY_DIR)/repository-save $(REPOSITORY_DIR)/repository
1380 TestCompareRepositories $(REPOSITORY_DIR)/repository-cimmofl $(REPOSITORY_DIR)/repository-cimmof
1381 @$(RMREPOSITORY) $(REPOSITORY_DIR)/repository-cimmofl
1382 @$(RMREPOSITORY) $(REPOSITORY_DIR)/repository-cimmof
|
1383 kumpf 1.1
1384 RunTestClientLocal:
1385 TestClient -local
1386
1387 DisableSecurity:
|
1388 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
|
1389 kumpf 1.1 cimconfig -s enableAuthentication=false -p
1390 cimconfig -s enableNamespaceAuthorization=false -p
1391
|
1392 jim.wunderlich 1.61 EnableUsers:
1393 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1394 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
1395 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile ConfigureUsers
1396
|
1397 kumpf 1.1 EnableAuthentication:
|
1398 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
|
1399 kumpf 1.1 cimconfig -s enableAuthentication=true -p
|
1400 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
1401 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile ConfigureUsers
|
1402 kumpf 1.1
1403 EnableAuthorization:
|
1404 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
|
1405 kumpf 1.10 cimconfig -s enableNamespaceAuthorization=true -p
|
1406 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithoutSSL
1407 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i ConfigureAuthorizations
|
1408 kumpf 1.1
1409 EnableSSL:
|
1410 kumpf 1.21 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop
1411 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile startcimWithSSL
|
1412 kumpf 1.1
|
1413 jim.wunderlich 1.61 #
1414 # ConfigureUsers
1415 #
1416 # The server must be running prior to invoking this rule
1417 #
|
1418 kumpf 1.1 ConfigureUsers:
1419 ifndef PEGASUS_PAM_AUTHENTICATION
|
1420 jim.wunderlich 1.62 -cimuser -l
|
1421 jim.wunderlich 1.61 -cimuser -a -u $(PEGASUS_TEST_USER_ID) -w $(PEGASUS_TEST_USER_PASS)
|
1422 kumpf 1.1 endif
1423
|
1424 jim.wunderlich 1.61 #
1425 # ConfigureAuthorizations rule
1426 #
1427 # The server must be running prior to invoking this rule
1428 #
|
1429 kumpf 1.1 ConfigureAuthorizations:
|
1430 jim.wunderlich 1.59 cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test/cimv2 -R -W
1431 cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/cimv2 -R -W
1432 cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/PG_Internal -R -W
1433 cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/PG_InterOp -R -W
1434 cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/benchmark -R -W
1435 cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/sampleprovider -R -W
1436 cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test/static -R -W
1437 cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/SampleProvider -R -W
1438 cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root -R -W
|
1439 sushma.fernandes 1.80 cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/MCCAtest/A -R -W
1440 cimauth -a -u $(PEGASUS_TEST_USER_ID) -n root/MCCAtest/B -R -W
|
1441 kumpf 1.65 cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test/TestProvider -R -W
|
1442 jim.wunderlich 1.59 cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1 -R -W
1443 cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test2 -R -W
1444 cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test3 -R -W
1445 cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test4 -R -W
1446 cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test5 -R -W
1447 cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test6 -R -W
1448 cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2 -R -W
1449 cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2/test3 -R -W
1450 cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2/test3/test4 -R -W
1451 cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2/test3/test4/test5 -R -W
1452 cimauth -a -u $(PEGASUS_TEST_USER_ID) -n test1/test2/test3/test4/test5/test6 -R -W
|
1453 kumpf 1.82 ifeq ($(PEGASUS_ENABLE_PRIVILEGE_SEPARATION),true)
|
1454 kumpf 1.83 cimauth -a -u $(PEGASUS_CIMSERVERMAIN_USER) -n root/cimv2 -R -W
|
1455 kumpf 1.82 endif
|
1456 kumpf 1.1
|
1457 jim.wunderlich 1.41 startcimWithoutSSL: FORCE
1458 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart
|
1459 kumpf 1.19 $(SLEEP) 5
|
1460 kumpf 1.1
|
1461 jim.wunderlich 1.41 startcimWithSSL: FORCE
1462 $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableHttpConnection=false enableHttpsConnection=true"
|
1463 kumpf 1.19 $(SLEEP) 5
|
1464 j.alex 1.66
|
1465 denise.eckstein 1.97 ###############################################################################
1466 ##
1467 ## check_for_cores - used to search for core files in the build environment.
1468 ##
1469 ## This option will search (1) each source directory, (2) the PEGASUS_CORE_DIR
1470 ## if it is defined and (3) the PEGASUS_TMP directory.
1471 ##
1472 ###############################################################################
1473 CORE_FILE_LIST = $(PEGASUS_HOME)/CoreFileList
1474
1475 check_core_search_results:
1476 ifneq ($(wildcard $(CORE_FILE_LIST)), )
1477 @$(ECHO) "*** One or more core files found. ***"
1478 @$(CAT) $(CORE_FILE_LIST)
1479 @exit 1
1480 endif
1481
1482 ifdef PEGASUS_CORE_DIR
1483 CORE_FILES_IN_CORE_DIR = \
1484 $(wildcard $(PEGASUS_CORE_DIR)/$(PLATFORM_CORE_PATTERN))
1485 endif
1486 denise.eckstein 1.97 ifdef PEGASUS_TMP
1487 CORE_FILES_IN_TMP_DIR = \
1488 $(wildcard $(PEGASUS_TMP)/$(PLATFORM_CORE_PATTERN))
1489 endif
1490
1491 generate_core_file_list:
1492 @$(RM) $(CORE_FILE_LIST)
1493 @$(MAKE) -s directory=$(PEGASUS_ROOT) general OPTION=CORE_SEARCH \
|
1494 kumpf 1.101 CORE_FILE_LIST=$(CORE_FILE_LIST)
|
1495 denise.eckstein 1.97 ifdef PEGASUS_CORE_DIR
1496 ifneq ($(CORE_FILES_IN_CORE_DIR), )
1497 @$(ECHO) $(CORE_FILES_IN_CORE_DIR) >> $(CORE_FILE_LIST)
1498 endif
1499 endif
1500 ifdef PEGASUS_TMP
1501 ifneq ($(CORE_FILES_IN_TMP_DIR), )
1502 @$(ECHO) $(CORE_FILES_IN_TMP_DIR) >> $(CORE_FILE_LIST)
1503 endif
1504 endif
1505
1506 check_for_cores:
1507 @$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile \
|
1508 kumpf 1.101 generate_core_file_list
|
1509 denise.eckstein 1.97 @$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile \
|
1510 kumpf 1.101 check_core_search_results
|
1511 kumpf 1.102
1512 ###############################################################################
1513 ##
1514 ## option_summary - used to generate a concise list of build options for use in
1515 ## a nightly build status report. This is not intended to be a complete list,
1516 ## so it is likely that some options are omitted. New options may be added
1517 ## here as needs dictate.
1518 ##
1519 ###############################################################################
1520
1521 OPTION_SUMMARY =
1522 ifeq ($(PEGASUS_ENABLE_CMPI_PROVIDER_MANAGER),true)
1523 OPTION_SUMMARY += "+CMPI"
1524 endif
1525 ifeq ($(PEGASUS_ENABLE_CQL),true)
1526 OPTION_SUMMARY += "+CQL"
1527 endif
1528 ifeq ($(PEGASUS_HAS_ICU),true)
1529 OPTION_SUMMARY += "+ICU"
1530 endif
1531 ifeq ($(PEGASUS_ENABLE_IPV6),true)
1532 kumpf 1.102 OPTION_SUMMARY += "+IPv6"
1533 endif
1534 ifeq ($(PEGASUS_ENABLE_JMPI_PROVIDER_MANAGER),true)
1535 OPTION_SUMMARY += "+JMPI"
1536 endif
1537 ifeq ($(PEGASUS_ENABLE_PRIVILEGE_SEPARATION),true)
1538 OPTION_SUMMARY += "+PrivSep"
1539 endif
1540 ifdef PEGASUS_ENABLE_EXECQUERY
1541 OPTION_SUMMARY += "+Query"
1542 endif
1543 ifdef PEGASUS_ENABLE_REMOTE_CMPI
1544 OPTION_SUMMARY += "+RCMPI"
1545 endif
1546 ifeq ($(PEGASUS_ENABLE_SLP),true)
1547 OPTION_SUMMARY += "+SLP"
1548 endif
1549 ifeq ($(PEGASUS_USE_SQLITE_REPOSITORY),true)
1550 OPTION_SUMMARY += "+SQLite"
1551 endif
1552 ifdef PEGASUS_HAS_SSL
1553 kumpf 1.102 OPTION_SUMMARY += "+SSL"
1554 endif
1555 ifeq ($(PEGASUS_ENABLE_PROTOCOL_WSMAN),true)
1556 OPTION_SUMMARY += "+WSMan"
1557 endif
1558
1559 option_summary:
1560 @$(ECHO) "$(OPTION_SUMMARY)"
|