version 1.28, 2003/09/01 23:01:29
|
version 1.33, 2005/02/10 06:41:52
|
|
|
## | ## |
############################################################################### | ############################################################################### |
| |
include pegasus/mak/config.mak |
include $(PEGASUS_ROOT)/mak/config.mak |
| |
# There is a start command for cimserver but no stop today. Because of problems with | # There is a start command for cimserver but no stop today. Because of problems with |
# the use of cimserver as a service, we simply used the start command to allow us to | # the use of cimserver as a service, we simply used the start command to allow us to |
|
|
SLEEP = | SLEEP = |
REMOVE_PEGASUS_DIRECTORY = mu rmdirhier pegasus | REMOVE_PEGASUS_DIRECTORY = mu rmdirhier pegasus |
MUEXE = mu.exe | MUEXE = mu.exe |
COPYMU = copy pegasus\src\utils\mu\$(MUEXE) /y $(MUEXE) |
MKDIR = $(MUEXE) mkdirhier |
MKDIR = pegasus/src/utils/mu/mu mkdirhier |
|
TESTS = prestarttests poststarttests | TESTS = prestarttests poststarttests |
endif | endif |
| |
|
|
SLEEP = sleep 5 | SLEEP = sleep 5 |
REMOVE_PEGASUS_DIRECTORY = rm -Rf pegasus.old; mv pegasus pegasus.old | REMOVE_PEGASUS_DIRECTORY = rm -Rf pegasus.old; mv pegasus pegasus.old |
MUEXE = mu | MUEXE = mu |
COPYMU = cp -f pegasus/src/utils/mu/$(MUEXE) $(BIN_DIR)/$(MUEXE) |
MKDIR = $(MUEXE) mkdirhier |
MKDIR = pegasus/src/utils/mu/mu mkdirhier |
|
TESTS = prestarttests poststarttests | TESTS = prestarttests poststarttests |
endif | endif |
| |
|
|
SLEEP = sleep 5 | SLEEP = sleep 5 |
REMOVE_PEGASUS_DIRECTORY = rm -Rf pegasus.old; mv pegasus pegasus.old | REMOVE_PEGASUS_DIRECTORY = rm -Rf pegasus.old; mv pegasus pegasus.old |
MUEXE = mu | MUEXE = mu |
COPYMU = cp -f pegasus/src/utils/mu/$(MUEXE) $(BIN_DIR)/$(MUEXE) |
MKDIR = $(MUEXE) mkdirhier |
MKDIR = pegasus/src/utils/mu/mu mkdirhier |
|
TESTS = prestarttests poststarttests | TESTS = prestarttests poststarttests |
endif | endif |
| |
|
|
SLEEP = sleep 5 | SLEEP = sleep 5 |
REMOVE_PEGASUS_DIRECTORY = rm -Rf pegasus.old; mv pegasus pegasus.old | REMOVE_PEGASUS_DIRECTORY = rm -Rf pegasus.old; mv pegasus pegasus.old |
MUEXE = mu | MUEXE = mu |
COPYMU = cp -f pegasus/src/utils/mu/$(MUEXE) $(BIN_DIR)/$(MUEXE) |
MKDIR = $(MUEXE) mkdirhier |
MKDIR = pegasus/src/utils/mu/mu mkdirhier |
|
TESTS = prestarttests poststarttests | TESTS = prestarttests poststarttests |
endif | endif |
| |
|
|
buildmu: | buildmu: |
$(MAKE) --directory=$(PEGASUS_ROOT)/src/utils/mu -f Makefile | $(MAKE) --directory=$(PEGASUS_ROOT)/src/utils/mu -f Makefile |
$(MKDIR) $(BIN_DIR) | $(MKDIR) $(BIN_DIR) |
$(COPYMU) |
|
| |
cleanbuild: removeall recheckout buildmu all $(TESTS) | cleanbuild: removeall recheckout buildmu all $(TESTS) |
| |
|
|
$(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 |
$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile tests | $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile tests |
$(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install |
$(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) |
$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests | $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests |
| |
|
############################################################################### |
|
## 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)" |
|
############################################################################### |
|
|
tests: $(TESTS) | tests: $(TESTS) |
ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC) | ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC) |
$(CIMSERVER_STOP_SERVICE) | $(CIMSERVER_STOP_SERVICE) |