version 1.9, 2005/02/08 23:45:03
|
version 1.10, 2005/02/10 04:59:14
|
|
|
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 |