Update of /cvsroot/sblim/cmpi-tests/cmpi-lifecycleindicationtest
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18647
Modified Files:
Makefile.am
Log Message:
install xml test files and add runtest rule
Index: Makefile.am
===================================================================
RCS file: /cvsroot/sblim/cmpi-tests/cmpi-lifecycleindicationtest/Makefile.am,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- Makefile.am 26 May 2005 21:01:31 -0000 1.1.1.1
+++ Makefile.am 3 Jun 2005 05:25:12 -0000 1.2
@@ -79,7 +79,56 @@
sh provider-register.sh -d -t @CIMSERVER@ -r $(REGS) -m $(MOFS)
# Add the schema files to the distribution file list
-pkgdata_DATA=$(MOFS) $(REGISTRATIONS)
+pkgdata_DATA=$(MOFS) $(REGS)
pkgdata_SCRIPTS=provider-register.sh
EXTRA_DIST+=schema $(pkgdata_DATA) $(pkgdata_SCRIPTS)
+# -----------------------------------------------------------------------------
+# Automake instructions for tests
+# -----------------------------------------------------------------------------
+
+# LIST ALL THE TEST XML CLIENT REQUEST FILES HERE
+TESTXML=test/Test001.DeleteFilter01.xml \
+ test/Test002.DeleteHandler01.xml \
+ test/Test003.DeleteSubscription01.xml \
+ test/Test004.CreateSubscription01.xml \
+ test/Test005.CreateFilter01.xml \
+ test/Test006.CreateSubscription01.xml \
+ test/Test007.CreateHandler01.xml \
+ test/Test008.CreateSubscription01.xml \
+ test/Test009.CreateInstance.xml \
+ test/Test010.DeleteInstance.xml \
+ test/Test011.ModifyInstance.xml \
+ test/Test012.DeleteFilter01.xml \
+ test/Test013.DeleteHandler01.xml \
+ test/Test014.DeleteSubscription01.xml \
+ test/Test015.DeleteFilter01.xml \
+ test/Test016.DeleteHandler01.xml
+
+# LIST ALL THE TEST EXPECTED RESPONSE OK FILES HERE
+TESTOK=test/Test001.DeleteFilter01.OK \
+ test/Test002.DeleteHandler01.OK \
+ test/Test003.DeleteSubscription01.OK \
+ test/Test004.CreateSubscription01.OK \
+ test/Test005.CreateFilter01.OK \
+ test/Test006.CreateSubscription01.OK \
+ test/Test007.CreateHandler01.OK \
+ test/Test008.CreateSubscription01.OK \
+ test/Test009.CreateInstance.OK \
+ test/Test010.DeleteInstance.OK \
+ test/Test011.ModifyInstance.OK \
+ test/Test012.DeleteFilter01.OK \
+ test/Test013.DeleteHandler01.OK \
+ test/Test014.DeleteSubscription01.OK \
+ test/Test015.DeleteFilter01.OK \
+ test/Test016.DeleteHandler01.OK
+
+# Install the XML tests under the package's data directory
+testxmldir=$(datadir)/$(PACKAGE)/xmltest
+testxml_DATA=$(TESTXML) $(TESTOK)
+testxml_SCRIPTS=
+
+# Run all the package XML tests in order
+runtest:
+ xmltest $(datadir)/$(PACKAGE)/xmltest
+
|