(file) Return to Makefile.ReleaseTest CVS log (file) (dir) Up to [Pegasus] / pegasus

Diff for /pegasus/Makefile.ReleaseTest between version 1.17.4.2 and 1.26

version 1.17.4.2, 2007/07/07 01:16:00 version 1.26, 2008/06/10 17:37:50
Line 105 
Line 105 
    libIndicationStressTestConsumer \    libIndicationStressTestConsumer \
    libIndicationStressTestProvider    libIndicationStressTestProvider
  
   ifdef PEGASUS_USE_NET_SNMP
      PEGASUS_TEST_PROVIDERS += \
         libIndicationTestProvider
   endif
   
 POSTSTARTTEST_FILES = \ POSTSTARTTEST_FILES = \
    TestClient \    TestClient \
    TestOSTestClient \     TestClientOSProvider \
    TestPegClientInvokeMethod2 \    TestPegClientInvokeMethod2 \
    TestIndicationStressTest    TestIndicationStressTest
  
   ifdef PEGASUS_USE_NET_SNMP
      POSTSTARTTEST_FILES += \
         TestSnmpHandler
   endif
   
 POSTSTARTTEST_CMDS = \ POSTSTARTTEST_CMDS = \
    $(PEGASUS_TEST_DIR)/bin/TestClient@@-local \    $(PEGASUS_TEST_DIR)/bin/TestClient@@-local \
    $(PEGASUS_TEST_DIR)/bin/TestOSTestClient \     $(PEGASUS_TEST_DIR)/bin/TestClientOSProvider \
    $(PEGASUS_TEST_DIR)/bin/TestPegClientInvokeMethod2 \    $(PEGASUS_TEST_DIR)/bin/TestPegClientInvokeMethod2 \
    $(PEGASUS_TEST_DIR)/bin/TestIndicationStressTest@@IndicationStressTestClass@@test/TestProvider@@setup@@WQL \    $(PEGASUS_TEST_DIR)/bin/TestIndicationStressTest@@IndicationStressTestClass@@test/TestProvider@@setup@@WQL \
    $(PEGASUS_TEST_DIR)/bin/TestIndicationStressTest@@IndicationStressTestClass@@test/TestProvider@@run@@100@@1 \    $(PEGASUS_TEST_DIR)/bin/TestIndicationStressTest@@IndicationStressTestClass@@test/TestProvider@@run@@100@@1 \
    $(PEGASUS_TEST_DIR)/bin/TestIndicationStressTest@@IndicationStressTestClass@@test/TestProvider@@cleanup    $(PEGASUS_TEST_DIR)/bin/TestIndicationStressTest@@IndicationStressTestClass@@test/TestProvider@@cleanup
  
   ifdef PEGASUS_USE_NET_SNMP
      POSTSTARTTEST_CMDS += \
      $(PEGASUS_TEST_DIR)/bin/TestSnmpHandler@@setup@@WQL \
      $(PEGASUS_TEST_DIR)/bin/TestSnmpHandler@@run@@4@@2 \
      $(PEGASUS_TEST_DIR)/bin/TestSnmpHandler@@cleanup \
      $(PEGASUS_TEST_DIR)/bin/TestSnmpHandler@@removelog
   endif
   
 TESTSUITE_CMDS_1 = \ TESTSUITE_CMDS_1 = \
    $(MAKE)@@poststarttests    $(MAKE)@@poststarttests
  
Line 131 
Line 149 
         @$(MKDIRHIER) $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/bin         @$(MKDIRHIER) $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/bin
         @$(MKDIRHIER) $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/$(PEGASUS_ARCH_LIB)         @$(MKDIRHIER) $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/$(PEGASUS_ARCH_LIB)
         @$(MKDIRHIER) $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/mak         @$(MKDIRHIER) $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/mak
           @$(MKDIRHIER) $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/tmp
         @$(MAKE) --directory=$(ROOT) -f Makefile.ReleaseTest -s stage_makfiles         @$(MAKE) --directory=$(ROOT) -f Makefile.ReleaseTest -s stage_makfiles
         @$(MAKE) --directory=$(ROOT) -f Makefile.ReleaseTest -s stage_testproviderfiles         @$(MAKE) --directory=$(ROOT) -f Makefile.ReleaseTest -s stage_testproviderfiles
           @$(MAKE) --directory=$(ROOT) -f Makefile.ReleaseTest -s stage_testemptyfiles
         @$(MAKE) --directory=$(ROOT) -f Makefile.ReleaseTest -s stage_prestarttests         @$(MAKE) --directory=$(ROOT) -f Makefile.ReleaseTest -s stage_prestarttests
         @$(MAKE) --directory=$(ROOT) -f Makefile.ReleaseTest -s stage_poststarttests         @$(MAKE) --directory=$(ROOT) -f Makefile.ReleaseTest -s stage_poststarttests
         @$(MAKE) --directory=$(ROOT) -f Makefile.ReleaseTest -s create_Makefile         @$(MAKE) --directory=$(ROOT) -f Makefile.ReleaseTest -s create_Makefile
Line 150 
Line 170 
 stage_poststarttests: stage_poststarttests:
         @$(foreach i, $(POSTSTARTTEST_FILES), $(COPY) $(TEST_BIN_FILES_SRCPATH)/$(i) $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/bin/$(i);)         @$(foreach i, $(POSTSTARTTEST_FILES), $(COPY) $(TEST_BIN_FILES_SRCPATH)/$(i) $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/bin/$(i);)
  
   stage_testemptyfiles:
           $(TOUCH) $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/tmp/procIdFile
           $(TOUCH) $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/tmp/trapLogFile
           $(TOUCH) $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/tmp/IndicationStressTestLog
   
 create_Makefile: create_Makefile:
         @$(RM) $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/Makefile         @$(RM) $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/Makefile
         @$(ECHO-E) "###############################################################################" >> $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/Makefile         @$(ECHO-E) "###############################################################################" >> $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_DIR)/Makefile
Line 277 
Line 302 
         $(RMDIRHIER) $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_REPOSITORY_DIR)/$(PEGASUS_TEST_REPOSITORY_NAME)         $(RMDIRHIER) $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_REPOSITORY_DIR)/$(PEGASUS_TEST_REPOSITORY_NAME)
         $(MKDIRHIER) $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_REPOSITORY_DIR)/$(PEGASUS_TEST_REPOSITORY_NAME)         $(MKDIRHIER) $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_REPOSITORY_DIR)/$(PEGASUS_TEST_REPOSITORY_NAME)
         $(MKDIRHIER) $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_REPOSITORY_DIR)/$(PEGASUS_TEST_REPOSITORY_NAME)/tog-pegasus-testrepository         $(MKDIRHIER) $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_REPOSITORY_DIR)/$(PEGASUS_TEST_REPOSITORY_NAME)/tog-pegasus-testrepository
           $(CHMOD) 777 $(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_REPOSITORY_DIR)/$(PEGASUS_TEST_REPOSITORY_NAME)
         $(MAKE) --directory=$(ROOT)/Schemas/Pegasus -f Makefile REPOSITORY_DIR=$(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_REPOSITORY_DIR) \         $(MAKE) --directory=$(ROOT)/Schemas/Pegasus -f Makefile REPOSITORY_DIR=$(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_REPOSITORY_DIR) \
                    REPOSITORY_NAME=$(PEGASUS_TEST_REPOSITORY_NAME) repository                    REPOSITORY_NAME=$(PEGASUS_TEST_REPOSITORY_NAME) repository
         $(MAKE) --directory=$(ROOT)/src/Providers/sample/Load -f Makefile REPOSITORY_DIR=$(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_REPOSITORY_DIR) \         $(MAKE) --directory=$(ROOT)/src/Providers/sample/Load -f Makefile REPOSITORY_DIR=$(PEGASUS_STAGING_DIR)$(PEGASUS_TEST_REPOSITORY_DIR) \
Line 298 
Line 324 
         @$(ECHO-E) "%if %{PEGASUS_BUILD_TEST_RPM}" >> $(PEGASUS_RPM_SPEC_FILE_PATH)         @$(ECHO-E) "%if %{PEGASUS_BUILD_TEST_RPM}" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
         @$(ECHO-E) "%preun test" >> $(PEGASUS_RPM_SPEC_FILE_PATH)         @$(ECHO-E) "%preun test" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
         @$(ECHO-E) "make --directory $(PEGASUS_TEST_DIR) -s unsetupTEST"  >> $(PEGASUS_RPM_SPEC_FILE_PATH)         @$(ECHO-E) "make --directory $(PEGASUS_TEST_DIR) -s unsetupTEST"  >> $(PEGASUS_RPM_SPEC_FILE_PATH)
         @$(ECHO-E) "[ -d $(PEGASUS_TEST_REPOSITORY_DIR)/$(PEGASUS_TEST_REPOSITORY_NAME) ] && \          @$(ECHO-E) "[ -d $(PEGASUS_TEST_REPOSITORY_DIR)/$(PEGASUS_TEST_REPOSITORY_NAME) ] && " \
                        rm -rf $(PEGASUS_TEST_REPOSITORY_DIR)/$(PEGASUS_TEST_REPOSITORY_NAME);" >> \                         "rm -rf $(PEGASUS_TEST_REPOSITORY_DIR)/$(PEGASUS_TEST_REPOSITORY_NAME);" >> \
                        $(PEGASUS_RPM_SPEC_FILE_PATH)                        $(PEGASUS_RPM_SPEC_FILE_PATH)
         @$(ECHO-E) ""  >> $(PEGASUS_RPM_SPEC_FILE_PATH)         @$(ECHO-E) ""  >> $(PEGASUS_RPM_SPEC_FILE_PATH)
         @$(ECHO-E) "%endif" >> $(PEGASUS_RPM_SPEC_FILE_PATH)         @$(ECHO-E) "%endif" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
Line 309 
Line 335 
         @$(ECHO-E) "%files test"  >> $(PEGASUS_RPM_SPEC_FILE_PATH)         @$(ECHO-E) "%files test"  >> $(PEGASUS_RPM_SPEC_FILE_PATH)
         @$(ECHO-E) "%defattr(-,$(INSTALL_USR),$(INSTALL_GRP),-)" >> $(PEGASUS_RPM_SPEC_FILE_PATH)         @$(ECHO-E) "%defattr(-,$(INSTALL_USR),$(INSTALL_GRP),-)" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
         @$(ECHO-E) "$(PEGASUS_TEST_DIR)" >> $(PEGASUS_RPM_SPEC_FILE_PATH)         @$(ECHO-E) "$(PEGASUS_TEST_DIR)" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
           @$(ECHO-E) "%ghost $(PEGASUS_TEST_DIR)/tmp/procIdFile" \
               >> $(PEGASUS_RPM_SPEC_FILE_PATH)
           @$(ECHO-E) "%ghost $(PEGASUS_TEST_DIR)/tmp/trapLogFile" \
               >> $(PEGASUS_RPM_SPEC_FILE_PATH)
           @$(ECHO-E) "%ghost $(PEGASUS_TEST_DIR)/tmp/IndicationStressTestLog" \
               >> $(PEGASUS_RPM_SPEC_FILE_PATH)
           @$(ECHO-E) "%defattr($(Prw_______),$(CIMSERVERMAIN_USR)," \
               "$(CIMSERVERMAIN_GRP),$(Prwx______))" \
               >> $(PEGASUS_RPM_SPEC_FILE_PATH)
         @$(ECHO-E) "$(PEGASUS_TEST_REPOSITORY_DIR)/$(PEGASUS_TEST_REPOSITORY_NAME)" \         @$(ECHO-E) "$(PEGASUS_TEST_REPOSITORY_DIR)/$(PEGASUS_TEST_REPOSITORY_NAME)" \
                        >> $(PEGASUS_RPM_SPEC_FILE_PATH)                        >> $(PEGASUS_RPM_SPEC_FILE_PATH)
         @$(ECHO-E) "%endif" >> $(PEGASUS_RPM_SPEC_FILE_PATH)         @$(ECHO-E) "%endif" >> $(PEGASUS_RPM_SPEC_FILE_PATH)


Legend:
Removed from v.1.17.4.2  
changed lines
  Added in v.1.26

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2