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

File: [Pegasus] / pegasus / mak / test.mak (download)
Revision: 1.13, Thu Mar 24 22:30:24 2005 UTC (19 years, 2 months ago) by jim.wunderlich
Branch: MAIN
Changes since 1.12: +4 -0 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

ifeq ($(PEGASUS_PLATFORM), WIN32_IX86_MSVC)
    STRIPCRS = stripcrs $(RESULTFILE) $(MASTERRESULTFILE)
    DIFF = mu compare
    REDIRECTERROR = 2>&1
else
    STRIPCRS =
    DIFF = diff
    REDIRECTERROR = 2>&1
endif

PEGASUS_XML_ORDERING_DEFECT_ENCOUNTERED=on

ifdef DIFF
    COMPARERESULTS = @$(DIFF) $(MASTERRESULTFILE) $(RESULTFILE)
    COMPARERESULTS_DS = @$(call DIFFSORT,$(MASTERRESULTFILE),$(RESULTFILE))
else
    COMPARERESULTS = @$(ECHO) "Results not compared."
    COMPARERESULTS_DS = @$(ECHO) "Results not compared."
endif

ifdef PEGASUS_TMP
    TMP_DIR = $(subst \,/,$(PEGASUS_TMP))
else
    TMP_DIR = .
endif

default:

#l10n
messages: $(ERROR)

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2