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

File: [Pegasus] / pegasus / mak / test.mak (download)
Revision: 1.4, Tue Apr 2 07:24:58 2002 UTC (22 years, 2 months ago) by kumpf
Branch: MAIN
Changes since 1.3: +3 -1 lines
DME: Add stripcrs to build to support comparison of test scripts on multiple platforms.

ifeq ($(PEGASUS_PLATFORM), WIN32_IX86_MSVC)
  CIMSERVER_START_SERVICE = 
  CIMSERVER_STOP_SERVICE = 
  SLEEP =
  STRIPCRS = stripcrs $(RESULTFILE) | stripcrs $(MASTERRESULTFILE)
  DIFF = mu compare
  REDIRECTERROR = 2>&1
else
  CIMSERVER_START_SERVICE = cimserver -d
  CIMSERVER_STOP_SERVICE = /usr/bin/ps -ef | /usr/bin/grep cimserver | /usr/bin/grep -v grep | /usr/bin/awk '{print "kill -9 "$$2 |"/usr/bin/sh"}'
  SLEEP = sleep 5
  STRIPCRS =
  DIFF = diff
  REDIRECTERROR = 2>&1
endif

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

default:


cimstop:
	$(CIMSERVER_STOP_SERVICE)
	$(SLEEP)

cimstart:
	$(CIMSERVER_START_SERVICE)
	$(SLEEP)


No CVS admin address has been configured
Powered by
ViewCVS 0.9.2