summaryrefslogtreecommitdiffstats
path: root/Testcimmof
blob: 155ecfb12d77adb1b287980bfbc1c4ad2999e8a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
include $(PEGASUS_ROOT)/mak/config.mak
include $(PEGASUS_ROOT)/mak/test.mak

SCHEMA_VER=25
SCHEMA_DIR=CIM$(SCHEMA_VER)
MOF_PATH = $(ROOT)/Schemas/$(SCHEMA_DIR)

NAMESPACE=root/cimv2

clean:
	@rm -Rf $(REPOSITORY_DIR)/repository.old
	@rm -Rf $(REPOSITORY_DIR)/repository
	@rm -Rf repository.log

poststarttests:
	$(CIMSERVER_STOP_SERVICE)
	@rm -Rf $(REPOSITORY_DIR)/repository.old
	@rm -Rf $(REPOSITORY_DIR)/repository
	@rm -Rf repository.log
	@ echo $(MOF_PATH)
	$(MAKE) repository
	@mv $(REPOSITORY_DIR)/repository $(REPOSITORY_DIR)/repository.old
	$(CIMSERVER_START_SERVICE)
	@sleep 5 
	@ echo $(MOF_PATH)
	$(MAKE) repositoryServer
	@ ./diffscript $(REPOSITORY_DIR) root#cimv2/classes
	@ ./diffscript $(REPOSITORY_DIR) root#PG_Internal/classes
	@ ./diffscript $(REPOSITORY_DIR) root#PG_InterOp/classes