version 1.8, 2004/11/29 15:42:06
|
version 1.11, 2005/02/14 10:36:42
|
|
|
REDIRECTERROR = 2>&1 | REDIRECTERROR = 2>&1 |
CIMSERVER_START_SERVICE = cimserver -start $(CIMSERVER_CONFIG_OPTIONS) | CIMSERVER_START_SERVICE = cimserver -start $(CIMSERVER_CONFIG_OPTIONS) |
CIMSERVER_STOP_SERVICE = cimserver -stop | CIMSERVER_STOP_SERVICE = cimserver -stop |
SLEEP = mu sleep 5 |
SLEEP = mu sleep |
REMOVE_PEGASUS_DIRECTORY = mu rmdirhier pegasus | REMOVE_PEGASUS_DIRECTORY = mu rmdirhier pegasus |
MUEXE = mu.exe | MUEXE = mu.exe |
MKDIRHIER = $(MUEXE) mkdirhier | MKDIRHIER = $(MUEXE) mkdirhier |
|
|
| |
ifeq ($(OS),zos) | ifeq ($(OS),zos) |
STRIPCRS = | STRIPCRS = |
DIFF = |
DIFF = diff |
REDIRECTERROR = | REDIRECTERROR = |
CIMSERVER_START_SERVICE = cimserver $(CIMSERVER_CONFIG_OPTIONS) | CIMSERVER_START_SERVICE = cimserver $(CIMSERVER_CONFIG_OPTIONS) |
CIMSERVER_STOP_SERVICE = cimserver -s | CIMSERVER_STOP_SERVICE = cimserver -s |
|
|
| |
ifeq ($(OS),VMS) | ifeq ($(OS),VMS) |
STRIPCRS = | STRIPCRS = |
DIFF = |
DIFF = mu compare |
REDIRECTERROR = | REDIRECTERROR = |
CIMSERVER_START_SERVICE = cimserver $(CIMSERVER_CONFIG_OPTIONS) | CIMSERVER_START_SERVICE = cimserver $(CIMSERVER_CONFIG_OPTIONS) |
CIMSERVER_STOP_SERVICE = cimserver -s | CIMSERVER_STOP_SERVICE = cimserver -s |
|
|
| |
ifeq ($(OS),aix) | ifeq ($(OS),aix) |
STRIPCRS = | STRIPCRS = |
DIFF = |
DIFF = diff |
REDIRECTERROR = | REDIRECTERROR = |
CIMSERVER_START_SERVICE = cimserver $(CIMSERVER_CONFIG_OPTIONS) | CIMSERVER_START_SERVICE = cimserver $(CIMSERVER_CONFIG_OPTIONS) |
CIMSERVER_STOP_SERVICE = cimserver -s | CIMSERVER_STOP_SERVICE = cimserver -s |
|
|
createrandomseed: CMDSFORCE | createrandomseed: CMDSFORCE |
$(GENERATE_RANDSEED) $(FILENAME) | $(GENERATE_RANDSEED) $(FILENAME) |
| |
|
# The runTestSuite option restarts the CIM Server |
|
# with a designated set of configuration options (i.e., |
|
# CIMSERVER_CONFIG_OPTIONS) and then runs a specified |
|
# set of tests (i.e., TESTSUITE_CMDS). After the tests |
|
# have been executed, the CIM Server is stopped. |
|
# |
|
# To call runTestSuite, you simply (1) define the |
|
# configuration options, (2) define the set of |
|
# tests and (3) call commands.mak with the appropriate |
|
# parameters. Note: when specifying the set of tests |
|
# @@ is used as a replacement for blank. E.g., the |
|
# following sequence can be used to enable the |
|
# HTTP connection, disable the HTTPS connection and |
|
# run an osinfo, TestClient, OSTestClient, |
|
# and InvokeMethod2 test. |
|
# |
|
#runTestSuiteTest_CONFIG_OPTIONS = enableHttpConnection=true enableHttpsConnection=false |
|
#runTestSuiteTest_TEST_CMDS = \ |
|
# osinfo@@-hlocalhost@@-p5988@@-uguest@@-wguest\ |
|
# TestClient@@-local \ |
|
# OSTestClient \ |
|
# $(MAKE)@@--directory=$(PEGASUS_ROOT)/src/Pegasus/Client/tests/InvokeMethod2@@poststarttests |
|
# |
|
#runTestSuiteTest: CMDSFORCE |
|
# $(MAKE) -f $(ROOT)/mak/commands.mak runTestSuite CIMSERVER_CONFIG_OPTIONS="$(runTestSuiteTest_CONFIG_OPTIONS)" TESTSUITE_CMDS="$(runTestSuiteTest_TEST_CMDS)" |
|
|
|
runTestSuite: CMDSFORCE |
|
$(MAKE) -f $(ROOT)/mak/commands.mak cimstop_IgnoreError |
|
$(MAKE) -f $(ROOT)/mak/commands.mak cimstart CIMSERVER_CONFIG_OPTIONS=$(CIMSERVER_CONFIG_OPTIONS) |
|
$(foreach i, $(TESTSUITE_CMDS), $(subst @@, ,$(i));) |
|
$(MAKE) -f $(ROOT)/mak/commands.mak cimstop |
|
|
testCommands: CMDSFORCE | testCommands: CMDSFORCE |
$(MAKE) -f $(ROOT)/mak/commands.mak sleep TIME=10 | $(MAKE) -f $(ROOT)/mak/commands.mak sleep TIME=10 |
$(MAKE) -f $(ROOT)/mak/commands.mak rmdirhier_IgnoreError DIRNAME=$(TMP_DIR)/PegasusTestDirA/PegasusTestDirB | $(MAKE) -f $(ROOT)/mak/commands.mak rmdirhier_IgnoreError DIRNAME=$(TMP_DIR)/PegasusTestDirA/PegasusTestDirB |