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

File: [Pegasus] / pegasus / mak / test.mak (download)
Revision: 1.6, Fri Jul 12 22:07:08 2002 UTC (21 years, 10 months ago) by kumpf
Branch: MAIN
Changes since 1.5: +2 -0 lines
HP-RK Add a definition for the TMP_DIR variable which defines the directory where temporary test files are written.

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) $(MASTERRESULTFILE) $(RESULTFILE)
else
  COMPARERESULTS = @$(ECHO) "Results not compared."
endif

TMP_DIR = .

default:


cimstop:
	$(CIMSERVER_STOP_SERVICE)
	$(SLEEP)

cimstart:
	$(CIMSERVER_START_SERVICE)
	$(SLEEP)


No CVS admin address has been configured
Powered by
ViewCVS 0.9.2