version 1.40, 2005/10/23 00:58:12
|
version 1.41, 2005/10/26 22:22:17
|
|
|
# | # |
############################################################ | ############################################################ |
| |
|
## |
|
## 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 |
|
|
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 |