version 1.40, 2005/10/23 00:58:12
|
version 1.42, 2005/11/06 18:07:52
|
|
|
# | # |
############################################################ | ############################################################ |
| |
|
## |
|
## Although the macros CIMSERVER_STOP_SERVICE and CIMSERVER_START_SERVICE |
|
## are available and could be invoked directly, their direct usage is |
|
## discouraged in favor of invoking the cimstop and the cimstart rules |
|
## as this allows one place where additional checks, delays etc may be |
|
## added in the future to control or further test the servers performance |
|
## in executing these commands. |
|
## |
|
|
####################### | ####################### |
# | # |
# doc | # doc |
|
|
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop | $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop |
$(SLEEP) 5 | $(SLEEP) 5 |
$(RMDIRHIER) $(REPOSITORY_ROOT) | $(RMDIRHIER) $(REPOSITORY_ROOT) |
$(CIMSERVER_START_SERVICE) |
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart |
$(SLEEP) 5 | $(SLEEP) 5 |
$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer | $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repositoryServer |
$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer | $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepositoryServer |
|
|
# | # |
| |
servertestsclean: FORCE | servertestsclean: FORCE |
-$(CIMSERVER_STOP_SERVICE) |
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop |
$(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/CQL/tests/Queries -f Makefile clean | $(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/CQL/tests/Queries -f Makefile clean |
$(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/Query/QueryExpression/tests/Queries -f Makefile clean | $(MAKE) --directory=$(PEGASUS_ROOT)/src/Pegasus/Query/QueryExpression/tests/Queries -f Makefile clean |
$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile clean | $(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile clean |
|
|
servertestssetup: FORCE | servertestssetup: FORCE |
$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository | $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile repository |
$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository | $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile testrepository |
$(CIMSERVER_START_SERVICE) |
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile cimstart |
$(SLEEP) 5 | $(SLEEP) 5 |
| |
servertests: servertestsclean servertestssetup serversuite | servertests: servertestsclean servertestssetup serversuite |
|
|
@ $(ECHO) "+++++ TestMakefile serverquicktests complete" | @ $(ECHO) "+++++ TestMakefile serverquicktests complete" |
| |
serverquicksuite: FORCE | serverquicksuite: FORCE |
$(PEGASUS_HOME)/bin/TestClient |
|
$(PEGASUS_HOME)/bin/Client | $(PEGASUS_HOME)/bin/Client |
$(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile poststarttests | $(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile poststarttests |
|
$(PEGASUS_HOME)/bin/TestClient |
|
|
|
#################### |
|
# |
|
# perftests - simple performance test until we have better |
|
# |
|
# - Turns statistics on (uses TestInterop until we have better) |
|
# - runs and times serverquicktests suite |
|
# - runs cimperf to displat the statistics |
|
# - turns statistics off |
|
# |
|
perftests: servertestsclean servertestssetup perfsuite |
|
|
|
perfsuite: FORCE |
|
$(PEGASUS_HOME)/bin/TestInterop on |
|
$(TIME_CMD) $(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile poststarttests |
|
@ $(ECHO) " " |
|
$(TIME_CMD) $(PEGASUS_HOME)/bin/TestClient |
|
@ $(ECHO) " " |
|
$(TIME_CMD) $(PEGASUS_HOME)/bin/benchmarkTest |
|
@ $(ECHO) " " |
|
@ $(ECHO) " " |
|
$(TIME_CMD) $(PEGASUS_HOME)/bin/cimperf |
|
@ $(ECHO) " " |
|
$(PEGASUS_HOME)/bin/TestInterop off |
|
|
| |
#################### | #################### |
# | # |
|
|
cimauth -a -u guest -n test1/test2/test3/test4/test5 -R -W | cimauth -a -u guest -n test1/test2/test3/test4/test5 -R -W |
cimauth -a -u guest -n test1/test2/test3/test4/test5/test6 -R -W | cimauth -a -u guest -n test1/test2/test3/test4/test5/test6 -R -W |
| |
startcimWithoutSSL: |
startcimWithoutSSL: FORCE |
$(CIMSERVER_START_SERVICE) |
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart |
$(SLEEP) 5 | $(SLEEP) 5 |
| |
startcimWithSSL: |
startcimWithSSL: FORCE |
$(CIMSERVER_START_SERVICE) enableHttpConnection=false enableHttpsConnection=true |
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstart CIMSERVER_CONFIG_OPTIONS="enableHttpConnection=false enableHttpsConnection=true" |
$(SLEEP) 5 | $(SLEEP) 5 |