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