version 1.31, 2005/05/10 23:28:03
|
version 1.33, 2005/05/12 23:18:04
|
|
|
|
#//%2005//////////////////////////////////////////////////////////////////////// |
|
#// |
|
#// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
|
#// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
|
#// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.; |
|
#// IBM Corp.; EMC Corporation, The Open Group. |
|
#// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; |
|
#// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
#// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
#// EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
#// |
|
#// Permission is hereby granted, free of charge, to any person obtaining a copy |
|
#// of this software and associated documentation files (the "Software"), to |
|
#// deal in the Software without restriction, including without limitation the |
|
#// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
|
#// sell copies of the Software, and to permit persons to whom the Software is |
|
#// furnished to do so, subject to the following conditions: |
|
#// |
|
#// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN |
|
#// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED |
|
#// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT |
|
#// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR |
|
#// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
|
#// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN |
|
#// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
|
#// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
|
#// |
|
#//============================================================================== |
############################################################################### | ############################################################################### |
## | ## |
## Test Makefile for Pegasus CIMOM | ## Test Makefile for Pegasus CIMOM |
|
|
$(CIMSERVER_START_SERVICE) | $(CIMSERVER_START_SERVICE) |
$(SLEEP) 5 | $(SLEEP) 5 |
$(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests | $(MAKE) --directory=$(PEGASUS_ROOT) -f Makefile poststarttests |
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop |
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile TestBinRepository |
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_OOP_TS1 | $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_OOP_TS1 |
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_IndInit_TS1 | $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile run_IndInit_TS1 |
| |
|
|
############################################################################## | ############################################################################## |
## | ## |
## TestBinRepository rule is used to run the poststarttests suite on | ## TestBinRepository rule is used to run the poststarttests suite on |
## the Binary Reposiory built using cimmofl |
## the Binary Repository built using cimmofl |
## | ## |
## TestBinRepositoryServer rule is used to run the poststarttests suite on | ## TestBinRepositoryServer rule is used to run the poststarttests suite on |
## the Binary Reposiory built using cimmof |
## the Binary Repository built using cimmof |
|
## |
|
## TestBinCmpRepository rule is used to run the poststarttest suite on |
|
## the Binry Compressed Repository built using cimmofl |
## | ## |
| |
############################ | ############################ |
## | ## |
## TestBinRepository | ## TestBinRepository |
## | ## |
|
### bug 3011 disabled Binary Repository testing on LINUX_IA64 to allow |
|
### the nightly tests to run |
|
|
|
ifeq ($(PEGASUS_PLATFORM),LINUX_IA64_GNU) |
|
TestBinRepository: |
|
$(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile -i cimstop |
|
@ $(ECHO) TestBinRepository +++++ NOT RUN on this platform - bug 3011 |
|
else |
TestBinRepository: TestBinClean TestBinBuildRepo TestBinRepo | TestBinRepository: TestBinClean TestBinBuildRepo TestBinRepo |
$(ECHO) TestBinRepository +++++ passed all test |
@ $(ECHO) TestBinRepository +++++ passed all test |
|
endif |
| |
############################ | ############################ |
## | ## |
## TestBinRepositoryServer | ## TestBinRepositoryServer |
## | ## |
TestBinRepositoryServer: TestBinClean TestBinBuildRepoServ TestBinRepo | TestBinRepositoryServer: TestBinClean TestBinBuildRepoServ TestBinRepo |
$(ECHO) TestBinRepositoryServer +++++ passed all test |
@ $(ECHO) TestBinRepositoryServer +++++ passed all test |
|
|
|
############################ |
|
## |
|
## TestBinCmpRepository - run poststarttest on Compressed BIN Repository |
|
## |
|
ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY |
|
TestBinCmpRepository: |
|
@ $(ECHO) TestBinCmpRepository +++++ Repository compressed by default - nothing more to test. |
|
@ $(ECHO) TestBinCmpRepository +++++ passed all test |
|
else |
|
|
|
ifdef PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST |
|
|
|
TestBinCmpRepository: TestBinClean TestBinCmpBuild TestBinBuildRepo TestBinRepo TestBinRegBuild |
|
@ $(ECHO) TestBinCmpRepository +++++ passed all test |
|
else |
|
TestBinCmpRepository: |
|
@ $(ECHO) TestBinCmpRepository +++++ Not tested |
|
@ $(ECHO) TestBinCmpRepository +++++ refer to readme.compressed_repository |
|
@ $(ECHO) TestBinCmpRepository +++++ to enable: set PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST=true |
|
endif |
|
endif |
|
|
|
|
|
############################ |
|
## |
|
## TestBinCmpBuild - used to compile the repository for compression |
|
## |
|
TestBinCmpBuild: |
|
@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository clean |
|
@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository depend PEGASUS_ENABLE_COMPRESSED_REPOSITORY=1 |
|
@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository PEGASUS_ENABLE_COMPRESSED_REPOSITORY=1 |
|
|
|
|
|
############################ |
|
## |
|
## TestBinRegBuild - used to compile the repository for no compression |
|
## |
|
TestBinRegBuild: |
|
@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository clean |
|
@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository depend |
|
@ $(MAKE) "-SC" $(ROOT)/src/Pegasus/Repository |
|
|
| |
########################### | ########################### |
## | ## |