(file) Return to TestMakefile CVS log (file) (dir) Up to [Pegasus] / pegasus

Diff for /pegasus/TestMakefile between version 1.2 and 1.12

version 1.2, 2002/09/01 18:18:23 version 1.12, 2004/04/02 21:20:06
Line 27 
Line 27 
 ############################################################################### ###############################################################################
  
 ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC) ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
   CIMSERVER_START_SERVICE = start cimserver    CIMSERVER_START_SERVICE = cimserver -start
   CIMSERVER_STOP_SERVICE =    CIMSERVER_STOP_SERVICE = cimserver -stop
   SLEEP =   SLEEP =
   REMOVE_PEGASUS_DIRECTORY = mu rmdirhier pegasus   REMOVE_PEGASUS_DIRECTORY = mu rmdirhier pegasus
   MUEXE = mu.exe   MUEXE = mu.exe
   COPYMU = copy src\utils\mu\$(MUEXE) /y $(MUEXE)    MKDIR = $(MUEXE) mkdirhier
   MKDIR = src/utils/mu/mu mkdirhier  
   TESTS = prestarttests  
 endif  
   
 ifeq ($(OS),HPUX)  
   CIMSERVER_START_SERVICE = cimserver  
   CIMSERVER_STOP_SERVICE = cimserver -s  
   SLEEP = sleep 5  
   MUEXE = mu  
   COPYMU = cp -f src/utils/mu/$(MUEXE) $(BIN_DIR)/$(MUEXE)  
   MKDIR = src/utils/mu/mu mkdirhier  
   TESTS = prestarttests poststarttests   TESTS = prestarttests poststarttests
 endif endif
  
 ifeq ($(PEGASUS_PLATFORM),LINUX_IX86_GNU)  ifeq ($(OS),HPUX)
   CIMSERVER_START_SERVICE = cimserver   CIMSERVER_START_SERVICE = cimserver
   CIMSERVER_STOP_SERVICE = /bin/ps -ef | /bin/grep cimserver | /bin/grep -v grep | /usr/bin/awk '{print "kill -9 "$$2 |"/bin/bash"}'    CIMSERVER_STOP_SERVICE = cimserver -s; true
   SLEEP = sleep 5   SLEEP = sleep 5
   MUEXE = mu   MUEXE = mu
   COPYMU = cp -f src/utils/mu/$(MUEXE) $(BIN_DIR)/$(MUEXE)    MKDIR = $(MUEXE) mkdirhier
   MKDIR = src/utils/mu/mu mkdirhier  
   TESTS = prestarttests poststarttests   TESTS = prestarttests poststarttests
 endif endif
  
 ifeq ($(PEGASUS_PLATFORM),LINUX_IA64_GNU)  ifdef PEGASUS_PLATFORM_LINUX_GENERIC_GNU
   CIMSERVER_START_SERVICE = cimserver   CIMSERVER_START_SERVICE = cimserver
   CIMSERVER_STOP_SERVICE = /bin/ps -ef | /bin/grep cimserver | /bin/grep -v grep | /usr/bin/awk '{print "kill -9 "$$2 |"/bin/bash"}'    CIMSERVER_STOP_SERVICE = cimserver -s; true
   SLEEP = sleep 5   SLEEP = sleep 5
   MUEXE = mu   MUEXE = mu
   COPYMU = cp -f src/utils/mu/$(MUEXE) $(BIN_DIR)/$(MUEXE)    MKDIR = $(MUEXE) mkdirhier
   MKDIR = src/utils/mu/mu mkdirhier  
   TESTS = prestarttests poststarttests   TESTS = prestarttests poststarttests
 endif endif
  
Line 71 
Line 58 
         @ echo "Specify desired makefile option (i.e., build, rebuild)"         @ echo "Specify desired makefile option (i.e., build, rebuild)"
  
 buildmu: buildmu:
         $(MAKE) --directory=src/utils/mu -f Makefile          $(MAKE) --directory=$(PEGASUS_ROOT)/src/utils/mu -f Makefile
         $(MKDIR) $(BIN_DIR)         $(MKDIR) $(BIN_DIR)
         $(COPYMU)  
  
 rebuild: clean buildmu all rebuild: clean buildmu all
  
Line 84 
Line 70 
         $(MAKE)  -f Makefile all         $(MAKE)  -f Makefile all
  
 doc: doc:
         $(MAKE) --directory=doc/ProviderSpec -f Makefile          $(MAKE) --directory=$(PEGASUS_ROOT)/doc/ProviderSpec -f Makefile
         $(MAKE) --directory=doc/DevManual -f Makefile          $(MAKE) --directory=$(PEGASUS_ROOT)/doc/DevManual -f Makefile
  
 clean: clean:
         $(MAKE) -f Makefile clean         $(MAKE) -f Makefile clean
Line 105 
Line 91 
         $(MAKE) -f Makefile repository         $(MAKE) -f Makefile repository
         $(MAKE) -f Makefile testrepository         $(MAKE) -f Makefile testrepository
         $(MAKE) -f Makefile tests         $(MAKE) -f Makefile tests
         $(MAKE) --directory=src/Server -f Makefile install          $(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile install
  
 poststarttests: poststarttests:
         $(MAKE) --directory=test/wetest -f Makefile clean          $(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest -f Makefile clean
         $(CIMSERVER_START_SERVICE)         $(CIMSERVER_START_SERVICE)
         $(SLEEP)         $(SLEEP)
         $(MAKE) -f Makefile poststarttests         $(MAKE) -f Makefile poststarttests
  
 tests: $(TESTS) tests: $(TESTS)
   ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
           $(CIMSERVER_STOP_SERVICE)
           $(MAKE) --directory=$(PEGASUS_ROOT)/src/Server -f Makefile uninstall
   endif
         @ echo Finished Tests         @ echo Finished Tests
  
 ############################################################################### ###############################################################################
Line 173 
Line 163 
         $(MAKE) -f TestMakefile TestNoSecurity         $(MAKE) -f TestMakefile TestNoSecurity
         $(MAKE) -f TestMakefile EnableAuthentication         $(MAKE) -f TestMakefile EnableAuthentication
         $(MAKE) -f TestMakefile TestLocalSecurity         $(MAKE) -f TestMakefile TestLocalSecurity
           $(MAKE) -f TestMakefile TestRemoteSecurity
           $(MAKE) -f TestMakefile EnableAuthorization
           $(MAKE) -f TestMakefile TestAuthorization
  
 TestNoSecurity: TestNoSecurity:
         $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile tests         $(MAKE) --directory=$(PEGASUS_ROOT) -f TestMakefile tests
Line 187 
Line 180 
         $(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/static -f Makefile poststarttests HOSTNAME=-h$(system) USER=-uguest PASSWORD=-wguest SECURITY_ENABLED=true         $(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/static -f Makefile poststarttests HOSTNAME=-h$(system) USER=-uguest PASSWORD=-wguest SECURITY_ENABLED=true
  
 TestAuthorization: TestAuthorization:
         $(MAKE) -f TestMakefile EnableAuthorization          DeleteNamespace -a -user guest -password guest
         DeleteNamespace -a  
         $(MAKE) -f TestMakefile RunTestClientLocal         $(MAKE) -f TestMakefile RunTestClientLocal
           TestClient -user guest -password guest $(system):5988
           $(MAKE) --directory=$(PEGASUS_ROOT)/test/wetest/static -f Makefile poststarttests HOSTNAME=-h$(system) USER=-uguest PASSWORD=-wguest SECURITY_ENABLED=true
  
 TestSubscriptions: TestSubscriptions:
         $(MAKE) -f TestMakefile DisableSecurity         $(MAKE) -f TestMakefile DisableSecurity
Line 219 
Line 213 
  
 EnableAuthorization: EnableAuthorization:
         $(MAKE) -f TestMakefile -i stopcim         $(MAKE) -f TestMakefile -i stopcim
         cimconfig -s enableAuthorization=true -p          cimconfig -s enableNamespaceAuthorization=true -p
         $(MAKE) -f TestMakefile startcimWithoutSSL         $(MAKE) -f TestMakefile startcimWithoutSSL
         $(MAKE) -f TestMakefile -i ConfigureAuthorizations         $(MAKE) -f TestMakefile -i ConfigureAuthorizations
  
Line 235 
Line 229 
 ConfigureAuthorizations: ConfigureAuthorizations:
         cimauth -a -u guest -n test/cimv2 -R -W         cimauth -a -u guest -n test/cimv2 -R -W
         cimauth -a -u guest -n root/cimv2 -R -W         cimauth -a -u guest -n root/cimv2 -R -W
           cimauth -a -u guest -n root/PG_Internal -R -W
           cimauth -a -u guest -n root/PG_InterOp -R -W
           cimauth -a -u guest -n root/benchmark -R -W
           cimauth -a -u guest -n root/sampleprovider -R -W
         cimauth -a -u guest -n test/static -R -W         cimauth -a -u guest -n test/static -R -W
         cimauth -a -u guest -n root/SampleProvider -R -W         cimauth -a -u guest -n root/SampleProvider -R -W
         cimauth -a -u guest -n root -R -W         cimauth -a -u guest -n root -R -W
Line 255 
Line 253 
         sleep 10         sleep 10
  
 startcimWithSSL: startcimWithSSL:
         cimserver SSL=true          cimserver enableHttpConnection=false enableHttpsConnection=true
         sleep 10         sleep 10
  
 stopcim: stopcim:


Legend:
Removed from v.1.2  
changed lines
  Added in v.1.12

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2