version 1.14, 2004/07/21 01:26:41
|
version 1.18, 2005/02/10 06:41:52
|
|
|
ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC) | ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC) |
CIMSERVER_START_SERVICE = cimserver -start | CIMSERVER_START_SERVICE = cimserver -start |
CIMSERVER_STOP_SERVICE = cimserver -stop | CIMSERVER_STOP_SERVICE = cimserver -stop |
SLEEP = |
SLEEP = mu sleep 5 |
REMOVE_PEGASUS_DIRECTORY = mu rmdirhier pegasus | REMOVE_PEGASUS_DIRECTORY = mu rmdirhier pegasus |
MUEXE = mu.exe | MUEXE = mu.exe |
MKDIR = $(MUEXE) mkdirhier | MKDIR = $(MUEXE) mkdirhier |
|
|
endif | endif |
| |
error: | error: |
@ echo "Specify desired makefile option (i.e., build, rebuild)" |
@ $(ECHO) "Specify desired makefile option (i.e., build, rebuild)" |
| |
buildmu: | buildmu: |
$(MAKE) --directory=$(PEGASUS_ROOT)/src/utils/mu -f Makefile | $(MAKE) --directory=$(PEGASUS_ROOT)/src/utils/mu -f Makefile |
|
|
$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run | $(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install_run |
| |
poststarttests: | poststarttests: |
|
$(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)/test/wetest -f Makefile clean | $(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile clean |
$(CIMSERVER_START_SERVICE) | $(CIMSERVER_START_SERVICE) |
$(SLEEP) | $(SLEEP) |
|
|
$(CIMSERVER_STOP_SERVICE) | $(CIMSERVER_STOP_SERVICE) |
$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile uninstall | $(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile uninstall |
endif | endif |
@ echo Finished Tests |
@ $(ECHO) Finished Tests |
|
|
|
############################################################################### |
|
## Test Suite Definitions |
|
############################################################################### |
|
|
|
############################################################################### |
|
## OOP Test Suite 1: "Out-of-Process"(OOP) Provider Tests |
|
## |
|
## Configuration Options: forceProviderProcesses=true |
|
## |
|
############################################################################### |
|
OOP_TS1_CONFIG_OPTIONS = forceProviderProcesses=true |
|
OOP_TS1_TEST_CMDS = \ |
|
TestClient |
|
|
|
run_OOP_TS1: |
|
$(MAKE) -f $(PEGASUS_ROOT)/mak/commands.mak runTestSuite \ |
|
CIMSERVER_CONFIG_OPTIONS="$(OOP_TS1_CONFIG_OPTIONS)" \ |
|
TESTSUITE_CMDS="$(OOP_TS1_TEST_CMDS)" |
|
############################################################################### |
| |
############################################################################### | ############################################################################### |
## | ## |
|
|
TestCimmof: | TestCimmof: |
$(MAKE) -f Testcimmof poststarttests | $(MAKE) -f Testcimmof poststarttests |
| |
|
|
RunTestClientLocal: | RunTestClientLocal: |
TestClient -local | TestClient -local |
| |
|
|
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: |
cimserver |
$(CIMSERVER_START_SERVICE) |
sleep 10 |
$(SLEEP) |
| |
startcimWithSSL: | startcimWithSSL: |
cimserver enableHttpConnection=false enableHttpsConnection=true |
$(CIMSERVER_START_SERVICE) enableHttpConnection=false enableHttpsConnection=true |
sleep 10 |
$(SLEEP) |
| |
stopcim: | stopcim: |
$(CIMSERVER_STOP_SERVICE) | $(CIMSERVER_STOP_SERVICE) |
sleep 5 |
$(SLEEP) |
| |
rebuild: | rebuild: |
$(MAKE) -f TestMakefile -i stopcim | $(MAKE) -f TestMakefile -i stopcim |
|
|
| |
pegasus: | pegasus: |
$(MAKE) -f Makefile rebuild | $(MAKE) -f Makefile rebuild |
|
|