summaryrefslogtreecommitdiffstats
path: root/unit-tests
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests')
-rw-r--r--unit-tests/Makefile5
-rw-r--r--unit-tests/libxml2mod.sobin380000 -> 0 bytes
-rwxr-xr-xunit-tests/unit6
3 files changed, 7 insertions, 4 deletions
diff --git a/unit-tests/Makefile b/unit-tests/Makefile
index 24fbfa9..01706a3 100644
--- a/unit-tests/Makefile
+++ b/unit-tests/Makefile
@@ -21,7 +21,8 @@ demomodule.so : demo.o dmixml.o
@echo "Compiling $<"
@gcc -fPIC -c $< $(CFLAGS)
-test : demomodule.so
+#test : demomodule.so
+test :
@echo "=========================================="
@echo " Running proof-of-concept code"
@echo "=========================================="
@@ -29,5 +30,5 @@ test : demomodule.so
@python unit
clean :
- rm -f demomodule.so *.{py[oc],o} *~
+ rm -f *.{py[oc],o,so} *~
diff --git a/unit-tests/libxml2mod.so b/unit-tests/libxml2mod.so
deleted file mode 100644
index 4043179..0000000
--- a/unit-tests/libxml2mod.so
+++ /dev/null
Binary files differ
diff --git a/unit-tests/unit b/unit-tests/unit
index 61a194c..0f8a51b 100755
--- a/unit-tests/unit
+++ b/unit-tests/unit
@@ -4,8 +4,6 @@
from pprint import pprint
import os, sys, random, tempfile, time
import commands
-import libxml2
-from POCDemo import POCDemo
DUMPS_D = "private"
@@ -170,6 +168,9 @@ except ImportError:
failed()
+"""
+import libxml2
+from POCDemo import POCDemo
test = POCDemo()
print "Please note the dmixml_demo/@entrypoint attribute in the root node"
@@ -184,6 +185,7 @@ xmldoc2 = libxml2.newDoc("1.0")
xmlnode = test.GetXMLnode()
xmldoc2.setRootElement(xmlnode)
xmldoc2.saveFormatFileEnc("-", "UTF-8", 1)
+"""