(file) Return to config.mak CVS log (file) (dir) Up to [Pegasus] / pegasus / test

File: [Pegasus] / pegasus / test / config.mak (download)
Revision: 1.11, Thu Mar 24 22:36:32 2005 UTC (19 years, 2 months ago) by jim.wunderlich
Branch: MAIN
Changes since 1.10: +15 -5 lines
BUG#: 2283

TITLE: static response comparsion (diff) tests are not reliable

DESCRIPTION: added SW to enable use of DIFFSORT function selectively
             reenabled disabled test using DIFFSORT
             used PEGASUS_XML_ORDERING_DEFECT_ENCOUNTERED=on to enable
                using DIFFSORT if it is not defined then the test
                revert to the normal DIFF

include $(ROOT)/mak/test.mak

HOSTNAME =
PORT =
HTTPMETHOD = -m M-POST
HTTPVERSION = -v 1.1
USER = -u guest
PASSWORD = -w guest
SSL =

PEGASUS_XML_ORDERING_DEFECT_ENCOUNTERED=on

XMLREQUESTS = $(foreach i, $(XMLSCRIPTS), $i.xml)
XMLRESPONSES = $(XMLREQUESTS:.xml=.rsp)

XMLREQUESTS_DS = $(foreach i, $(XMLSCRIPTS_DS), $i.xml)
XMLRESPONSES_DS = $(XMLREQUESTS_DS:.xml=.rsp_ds)


WBEMEXECOPTIONS = $(HOSTNAME) $(PORT) $(HTTPMETHOD) $(HTTPVERSION) $(USER) $(PASSWORD) $(SSL) 

%.rsp: %.xml
	@ wbemexec $(WBEMEXECOPTIONS) $*.xml > $(TMP_DIR)/$*.rsp | cd .
	@ $(DIFF) $*rspgood.xml $(TMP_DIR)/$*.rsp
	@ $(RM) $(TMP_DIR)/$*.rsp
	@ $(ECHO) +++ $* passed successfully +++

##	@ $(call DIFFSORT,file_unsorted,file_sorted)

%.rsp_ds: %.xml
	@ wbemexec $(WBEMEXECOPTIONS) $*.xml > $(TMP_DIR)/$*.rsp_ds | cd .
	@ $(call DIFFSORT,$*rspgood.xml,$(TMP_DIR)/$*.rsp_ds)
	@ $(RM) $(TMP_DIR)/$*.rsp_ds
	@ $(ECHO) +++ $* passed successfully +++



No CVS admin address has been configured
Powered by
ViewCVS 0.9.2